Class SlackSource.Builder (3.53.0)

public static final class SlackSource.Builder extends GeneratedMessageV3.Builder<SlackSource.Builder> implements SlackSourceOrBuilder

The Slack source for the ImportRagFilesRequest.

Protobuf type google.cloud.aiplatform.v1beta1.SlackSource

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllChannels(Iterable<? extends SlackSource.SlackChannels> values)

public SlackSource.Builder addAllChannels(Iterable<? extends SlackSource.SlackChannels> values)

Required. The Slack channels.

repeated .google.cloud.aiplatform.v1beta1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.SlackSource.SlackChannels>
Returns
Type Description
SlackSource.Builder

addChannels(SlackSource.SlackChannels value)

public SlackSource.Builder addChannels(SlackSource.SlackChannels value)

Required. The Slack channels.

repeated .google.cloud.aiplatform.v1beta1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SlackSource.SlackChannels
Returns
Type Description
SlackSource.Builder

addChannels(SlackSource.SlackChannels.Builder builderForValue)

public SlackSource.Builder addChannels(SlackSource.SlackChannels.Builder builderForValue)

Required. The Slack channels.

repeated .google.cloud.aiplatform.v1beta1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue SlackSource.SlackChannels.Builder
Returns
Type Description
SlackSource.Builder

addChannels(int index, SlackSource.SlackChannels value)

public SlackSource.Builder addChannels(int index, SlackSource.SlackChannels value)

Required. The Slack channels.

repeated .google.cloud.aiplatform.v1beta1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value SlackSource.SlackChannels
Returns
Type Description
SlackSource.Builder

addChannels(int index, SlackSource.SlackChannels.Builder builderForValue)

public SlackSource.Builder addChannels(int index, SlackSource.SlackChannels.Builder builderForValue)

Required. The Slack channels.

repeated .google.cloud.aiplatform.v1beta1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue SlackSource.SlackChannels.Builder
Returns
Type Description
SlackSource.Builder

addChannelsBuilder()

public SlackSource.SlackChannels.Builder addChannelsBuilder()

Required. The Slack channels.

repeated .google.cloud.aiplatform.v1beta1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SlackSource.SlackChannels.Builder

addChannelsBuilder(int index)

public SlackSource.SlackChannels.Builder addChannelsBuilder(int index)

Required. The Slack channels.

repeated .google.cloud.aiplatform.v1beta1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SlackSource.SlackChannels.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SlackSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SlackSource.Builder
Overrides

build()

public SlackSource build()
Returns
Type Description
SlackSource

buildPartial()

public SlackSource buildPartial()
Returns
Type Description
SlackSource

clear()

public SlackSource.Builder clear()
Returns
Type Description
SlackSource.Builder
Overrides

clearChannels()

public SlackSource.Builder clearChannels()

Required. The Slack channels.

repeated .google.cloud.aiplatform.v1beta1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SlackSource.Builder

clearField(Descriptors.FieldDescriptor field)

public SlackSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SlackSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SlackSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SlackSource.Builder
Overrides

clone()

public SlackSource.Builder clone()
Returns
Type Description
SlackSource.Builder
Overrides

getChannels(int index)

public SlackSource.SlackChannels getChannels(int index)

Required. The Slack channels.

repeated .google.cloud.aiplatform.v1beta1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SlackSource.SlackChannels

getChannelsBuilder(int index)

public SlackSource.SlackChannels.Builder getChannelsBuilder(int index)

Required. The Slack channels.

repeated .google.cloud.aiplatform.v1beta1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SlackSource.SlackChannels.Builder

getChannelsBuilderList()

public List<SlackSource.SlackChannels.Builder> getChannelsBuilderList()

Required. The Slack channels.

repeated .google.cloud.aiplatform.v1beta1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getChannelsCount()

public int getChannelsCount()

Required. The Slack channels.

repeated .google.cloud.aiplatform.v1beta1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getChannelsList()

public List<SlackSource.SlackChannels> getChannelsList()

Required. The Slack channels.

repeated .google.cloud.aiplatform.v1beta1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<SlackChannels>

getChannelsOrBuilder(int index)

public SlackSource.SlackChannelsOrBuilder getChannelsOrBuilder(int index)

Required. The Slack channels.

repeated .google.cloud.aiplatform.v1beta1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SlackSource.SlackChannelsOrBuilder

getChannelsOrBuilderList()

public List<? extends SlackSource.SlackChannelsOrBuilder> getChannelsOrBuilderList()

Required. The Slack channels.

repeated .google.cloud.aiplatform.v1beta1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.SlackSource.SlackChannelsOrBuilder>

getDefaultInstanceForType()

public SlackSource getDefaultInstanceForType()
Returns
Type Description
SlackSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SlackSource other)

public SlackSource.Builder mergeFrom(SlackSource other)
Parameter
Name Description
other SlackSource
Returns
Type Description
SlackSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SlackSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SlackSource.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SlackSource.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SlackSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SlackSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SlackSource.Builder
Overrides

removeChannels(int index)

public SlackSource.Builder removeChannels(int index)

Required. The Slack channels.

repeated .google.cloud.aiplatform.v1beta1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SlackSource.Builder

setChannels(int index, SlackSource.SlackChannels value)

public SlackSource.Builder setChannels(int index, SlackSource.SlackChannels value)

Required. The Slack channels.

repeated .google.cloud.aiplatform.v1beta1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value SlackSource.SlackChannels
Returns
Type Description
SlackSource.Builder

setChannels(int index, SlackSource.SlackChannels.Builder builderForValue)

public SlackSource.Builder setChannels(int index, SlackSource.SlackChannels.Builder builderForValue)

Required. The Slack channels.

repeated .google.cloud.aiplatform.v1beta1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue SlackSource.SlackChannels.Builder
Returns
Type Description
SlackSource.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SlackSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SlackSource.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SlackSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SlackSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SlackSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SlackSource.Builder
Overrides