public static final class SlackSource.SlackChannels.Builder extends GeneratedMessageV3.Builder<SlackSource.SlackChannels.Builder> implements SlackSource.SlackChannelsOrBuilder
SlackChannels contains the Slack channels and corresponding access token.
Protobuf type google.cloud.vertexai.v1.SlackSource.SlackChannels
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllChannels(Iterable<? extends SlackSource.SlackChannels.SlackChannel> values)
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];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.vertexai.api.SlackSource.SlackChannels.SlackChannel>
|
addChannels(SlackSource.SlackChannels.SlackChannel value)
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];
addChannels(SlackSource.SlackChannels.SlackChannel.Builder builderForValue)
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];
addChannels(int index, SlackSource.SlackChannels.SlackChannel value)
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];
addChannels(int index, SlackSource.SlackChannels.SlackChannel.Builder builderForValue)
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];
addChannelsBuilder()
public 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];
addChannelsBuilder(int index)
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];
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SlackSource.SlackChannels.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SlackSource.SlackChannels build()
buildPartial()
public SlackSource.SlackChannels buildPartial()
clear()
public SlackSource.SlackChannels.Builder clear()
Overrides
clearApiKeyConfig()
public SlackSource.SlackChannels.Builder clearApiKeyConfig()
clearChannels()
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];
clearField(Descriptors.FieldDescriptor field)
public SlackSource.SlackChannels.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SlackSource.SlackChannels.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SlackSource.SlackChannels.Builder clone()
Overrides
getApiKeyConfig()
public ApiAuth.ApiKeyConfig getApiKeyConfig()
getApiKeyConfigBuilder()
public ApiAuth.ApiKeyConfig.Builder getApiKeyConfigBuilder()
getApiKeyConfigOrBuilder()
public ApiAuth.ApiKeyConfigOrBuilder getApiKeyConfigOrBuilder()
getChannels(int index)
public 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];
Parameter |
Name |
Description |
index |
int
|
getChannelsBuilder(int index)
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];
Parameter |
Name |
Description |
index |
int
|
getChannelsBuilderList()
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];
getChannelsCount()
public int getChannelsCount()
Required. The Slack channel IDs.
repeated .google.cloud.vertexai.v1.SlackSource.SlackChannels.SlackChannel channels = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
getChannelsList()
public 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];
getChannelsOrBuilder(int index)
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];
Parameter |
Name |
Description |
index |
int
|
getChannelsOrBuilderList()
public 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];
Returns |
Type |
Description |
List<? extends com.google.cloud.vertexai.api.SlackSource.SlackChannels.SlackChannelOrBuilder> |
|
getDefaultInstanceForType()
public SlackSource.SlackChannels getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
hasApiKeyConfig()
public boolean hasApiKeyConfig()
Returns |
Type |
Description |
boolean |
Whether the apiKeyConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeApiKeyConfig(ApiAuth.ApiKeyConfig value)
public SlackSource.SlackChannels.Builder mergeApiKeyConfig(ApiAuth.ApiKeyConfig value)
mergeFrom(SlackSource.SlackChannels other)
public SlackSource.SlackChannels.Builder mergeFrom(SlackSource.SlackChannels other)
public SlackSource.SlackChannels.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SlackSource.SlackChannels.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SlackSource.SlackChannels.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeChannels(int index)
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];
Parameter |
Name |
Description |
index |
int
|
setApiKeyConfig(ApiAuth.ApiKeyConfig value)
public SlackSource.SlackChannels.Builder setApiKeyConfig(ApiAuth.ApiKeyConfig value)
setApiKeyConfig(ApiAuth.ApiKeyConfig.Builder builderForValue)
public SlackSource.SlackChannels.Builder setApiKeyConfig(ApiAuth.ApiKeyConfig.Builder builderForValue)
setChannels(int index, SlackSource.SlackChannels.SlackChannel value)
public 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];
setChannels(int index, SlackSource.SlackChannels.SlackChannel.Builder builderForValue)
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];
setField(Descriptors.FieldDescriptor field, Object value)
public SlackSource.SlackChannels.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SlackSource.SlackChannels.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SlackSource.SlackChannels.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides