public static final class SlackSource.SlackChannels.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SlackSource.SlackChannels.Builder> implements SlackSource.SlackChannelsOrBuilder
SlackChannels contains the Slack channels and corresponding access token.Protobuf type
google.cloud.vertexai.v1.SlackSource.SlackChannelsgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SlackSource.SlackChannels.Builder>public SlackSource.SlackChannels.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SlackSource.SlackChannels.Builder>public SlackSource.SlackChannels.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SlackSource.SlackChannels.Builder>public SlackSource.SlackChannels.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SlackSource.SlackChannels.Builder>public SlackSource.SlackChannels.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SlackSource.SlackChannels.Builder>public SlackSource.SlackChannels.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SlackSource.SlackChannels.Builder>public 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.GeneratedMessageV3.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.vertexai.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.vertexai.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.vertexai.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.vertexai.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.vertexai.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.vertexai.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.vertexai.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.vertexai.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.vertexai.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.vertexai.v1.SlackSource.SlackChannels.SlackChannel channels = 1 [(.google.api.field_behavior) = REQUIRED];
public SlackSource.SlackChannels.Builder clearChannels()
Required. The Slack channel IDs.
repeated .google.cloud.vertexai.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.vertexai.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.vertexai.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.vertexai.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.vertexai.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.vertexai.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.vertexai.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.vertexai.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.vertexai.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.vertexai.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.vertexai.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.vertexai.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.vertexai.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.vertexai.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.vertexai.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.vertexai.v1.ApiAuth.ApiKeyConfig api_key_config = 3 [(.google.api.field_behavior) = REQUIRED];
getApiKeyConfigOrBuilder in interface SlackSource.SlackChannelsOrBuilderpublic final SlackSource.SlackChannels.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SlackSource.SlackChannels.Builder>public final SlackSource.SlackChannels.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SlackSource.SlackChannels.Builder>Copyright © 2025 Google LLC. All rights reserved.