Class SlackSource.Builder (1.43.0)

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

The Slack source for the ImportRagFilesRequest.

Protobuf type google.cloud.vertexai.v1.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.vertexai.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.vertexai.api.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.vertexai.v1.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.vertexai.v1.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.vertexai.v1.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.vertexai.v1.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.vertexai.v1.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.vertexai.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];

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

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.vertexai.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SlackSource.Builder

getChannels(int index)

public SlackSource.SlackChannels getChannels(int index)

Required. The Slack channels.

repeated .google.cloud.vertexai.v1.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.vertexai.v1.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.vertexai.v1.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.vertexai.v1.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.vertexai.v1.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.vertexai.v1.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.vertexai.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.vertexai.api.SlackSource.SlackChannelsOrBuilder>

getDefaultInstanceForType()

public SlackSource getDefaultInstanceForType()
Returns
Type Description
SlackSource

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessage.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

removeChannels(int index)

public SlackSource.Builder removeChannels(int index)

Required. The Slack channels.

repeated .google.cloud.vertexai.v1.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.vertexai.v1.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.vertexai.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];

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