public static final class SlackSource.SlackChannels.Builder extends com.google.protobuf.GeneratedMessage.Builder<SlackSource.SlackChannels.Builder> implements SlackSource.SlackChannelsOrBuilder
SlackChannels contains the Slack channels and corresponding access token.Protobuf type
google.cloud.aiplatform.v1.SlackSource.SlackChannelsaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SlackSource.SlackChannels.Builder>public SlackSource.SlackChannels.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<SlackSource.SlackChannels.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SlackSource.SlackChannels.Builder>public SlackSource.SlackChannels getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SlackSource.SlackChannels build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SlackSource.SlackChannels buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SlackSource.SlackChannels.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SlackSource.SlackChannels.Builder>public SlackSource.SlackChannels.Builder mergeFrom(SlackSource.SlackChannels other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<SlackSource.SlackChannels.Builder>public SlackSource.SlackChannels.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SlackSource.SlackChannels.Builder>IOExceptionpublic List<SlackSource.SlackChannels.SlackChannel> getChannelsList()
Required. The Slack channel IDs.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels.SlackChannel channels = 1 [(.google.api.field_behavior) = REQUIRED];
getChannelsList in interface SlackSource.SlackChannelsOrBuilderpublic int getChannelsCount()
Required. The Slack channel IDs.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels.SlackChannel channels = 1 [(.google.api.field_behavior) = REQUIRED];
getChannelsCount in interface SlackSource.SlackChannelsOrBuilderpublic SlackSource.SlackChannels.SlackChannel getChannels(int index)
Required. The Slack channel IDs.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels.SlackChannel channels = 1 [(.google.api.field_behavior) = REQUIRED];
getChannels in interface SlackSource.SlackChannelsOrBuilderpublic SlackSource.SlackChannels.Builder setChannels(int index, SlackSource.SlackChannels.SlackChannel value)
Required. The Slack channel IDs.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels.SlackChannel channels = 1 [(.google.api.field_behavior) = REQUIRED];
public SlackSource.SlackChannels.Builder setChannels(int index, SlackSource.SlackChannels.SlackChannel.Builder builderForValue)
Required. The Slack channel IDs.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels.SlackChannel channels = 1 [(.google.api.field_behavior) = REQUIRED];
public SlackSource.SlackChannels.Builder addChannels(SlackSource.SlackChannels.SlackChannel value)
Required. The Slack channel IDs.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels.SlackChannel channels = 1 [(.google.api.field_behavior) = REQUIRED];
public SlackSource.SlackChannels.Builder addChannels(int index, SlackSource.SlackChannels.SlackChannel value)
Required. The Slack channel IDs.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels.SlackChannel channels = 1 [(.google.api.field_behavior) = REQUIRED];
public SlackSource.SlackChannels.Builder addChannels(SlackSource.SlackChannels.SlackChannel.Builder builderForValue)
Required. The Slack channel IDs.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels.SlackChannel channels = 1 [(.google.api.field_behavior) = REQUIRED];
public SlackSource.SlackChannels.Builder addChannels(int index, SlackSource.SlackChannels.SlackChannel.Builder builderForValue)
Required. The Slack channel IDs.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels.SlackChannel channels = 1 [(.google.api.field_behavior) = REQUIRED];
public SlackSource.SlackChannels.Builder addAllChannels(Iterable<? extends SlackSource.SlackChannels.SlackChannel> values)
Required. The Slack channel IDs.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels.SlackChannel channels = 1 [(.google.api.field_behavior) = REQUIRED];
public SlackSource.SlackChannels.Builder clearChannels()
Required. The Slack channel IDs.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels.SlackChannel channels = 1 [(.google.api.field_behavior) = REQUIRED];
public SlackSource.SlackChannels.Builder removeChannels(int index)
Required. The Slack channel IDs.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels.SlackChannel channels = 1 [(.google.api.field_behavior) = REQUIRED];
public SlackSource.SlackChannels.SlackChannel.Builder getChannelsBuilder(int index)
Required. The Slack channel IDs.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels.SlackChannel channels = 1 [(.google.api.field_behavior) = REQUIRED];
public SlackSource.SlackChannels.SlackChannelOrBuilder getChannelsOrBuilder(int index)
Required. The Slack channel IDs.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels.SlackChannel channels = 1 [(.google.api.field_behavior) = REQUIRED];
getChannelsOrBuilder in interface SlackSource.SlackChannelsOrBuilderpublic List<? extends SlackSource.SlackChannels.SlackChannelOrBuilder> getChannelsOrBuilderList()
Required. The Slack channel IDs.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels.SlackChannel channels = 1 [(.google.api.field_behavior) = REQUIRED];
getChannelsOrBuilderList in interface SlackSource.SlackChannelsOrBuilderpublic SlackSource.SlackChannels.SlackChannel.Builder addChannelsBuilder()
Required. The Slack channel IDs.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels.SlackChannel channels = 1 [(.google.api.field_behavior) = REQUIRED];
public SlackSource.SlackChannels.SlackChannel.Builder addChannelsBuilder(int index)
Required. The Slack channel IDs.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels.SlackChannel channels = 1 [(.google.api.field_behavior) = REQUIRED];
public List<SlackSource.SlackChannels.SlackChannel.Builder> getChannelsBuilderList()
Required. The Slack channel IDs.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels.SlackChannel channels = 1 [(.google.api.field_behavior) = REQUIRED];
public boolean hasApiKeyConfig()
Required. The SecretManager secret version resource name (e.g.
projects/{project}/secrets/{secret}/versions/{version}) storing the
Slack channel access token that has access to the slack channel IDs.
See: https://api.slack.com/tutorials/tracks/getting-a-token.
.google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig api_key_config = 3 [(.google.api.field_behavior) = REQUIRED];
hasApiKeyConfig in interface SlackSource.SlackChannelsOrBuilderpublic ApiAuth.ApiKeyConfig getApiKeyConfig()
Required. The SecretManager secret version resource name (e.g.
projects/{project}/secrets/{secret}/versions/{version}) storing the
Slack channel access token that has access to the slack channel IDs.
See: https://api.slack.com/tutorials/tracks/getting-a-token.
.google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig api_key_config = 3 [(.google.api.field_behavior) = REQUIRED];
getApiKeyConfig in interface SlackSource.SlackChannelsOrBuilderpublic SlackSource.SlackChannels.Builder setApiKeyConfig(ApiAuth.ApiKeyConfig value)
Required. The SecretManager secret version resource name (e.g.
projects/{project}/secrets/{secret}/versions/{version}) storing the
Slack channel access token that has access to the slack channel IDs.
See: https://api.slack.com/tutorials/tracks/getting-a-token.
.google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig api_key_config = 3 [(.google.api.field_behavior) = REQUIRED];
public SlackSource.SlackChannels.Builder setApiKeyConfig(ApiAuth.ApiKeyConfig.Builder builderForValue)
Required. The SecretManager secret version resource name (e.g.
projects/{project}/secrets/{secret}/versions/{version}) storing the
Slack channel access token that has access to the slack channel IDs.
See: https://api.slack.com/tutorials/tracks/getting-a-token.
.google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig api_key_config = 3 [(.google.api.field_behavior) = REQUIRED];
public SlackSource.SlackChannels.Builder mergeApiKeyConfig(ApiAuth.ApiKeyConfig value)
Required. The SecretManager secret version resource name (e.g.
projects/{project}/secrets/{secret}/versions/{version}) storing the
Slack channel access token that has access to the slack channel IDs.
See: https://api.slack.com/tutorials/tracks/getting-a-token.
.google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig api_key_config = 3 [(.google.api.field_behavior) = REQUIRED];
public SlackSource.SlackChannels.Builder clearApiKeyConfig()
Required. The SecretManager secret version resource name (e.g.
projects/{project}/secrets/{secret}/versions/{version}) storing the
Slack channel access token that has access to the slack channel IDs.
See: https://api.slack.com/tutorials/tracks/getting-a-token.
.google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig api_key_config = 3 [(.google.api.field_behavior) = REQUIRED];
public ApiAuth.ApiKeyConfig.Builder getApiKeyConfigBuilder()
Required. The SecretManager secret version resource name (e.g.
projects/{project}/secrets/{secret}/versions/{version}) storing the
Slack channel access token that has access to the slack channel IDs.
See: https://api.slack.com/tutorials/tracks/getting-a-token.
.google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig api_key_config = 3 [(.google.api.field_behavior) = REQUIRED];
public ApiAuth.ApiKeyConfigOrBuilder getApiKeyConfigOrBuilder()
Required. The SecretManager secret version resource name (e.g.
projects/{project}/secrets/{secret}/versions/{version}) storing the
Slack channel access token that has access to the slack channel IDs.
See: https://api.slack.com/tutorials/tracks/getting-a-token.
.google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig api_key_config = 3 [(.google.api.field_behavior) = REQUIRED];
getApiKeyConfigOrBuilder in interface SlackSource.SlackChannelsOrBuilderCopyright © 2026 Google LLC. All rights reserved.