Class SlackSource.Builder (1.27.0)

publicstaticfinalclass SlackSource.BuilderextendsGeneratedMessageV3.Builder<SlackSource.Builder>implementsSlackSourceOrBuilder

The Slack source for the ImportRagFilesRequest.

Protobuf type google.cloud.vertexai.v1.SlackSource

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()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

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

publicSlackSource.BuilderaddAllChannels(Iterable<?extendsSlackSource.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)

publicSlackSource.BuilderaddChannels(SlackSource.SlackChannelsvalue)

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)

publicSlackSource.BuilderaddChannels(SlackSource.SlackChannels.BuilderbuilderForValue)

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)

publicSlackSource.BuilderaddChannels(intindex,SlackSource.SlackChannelsvalue)

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)

publicSlackSource.BuilderaddChannels(intindex,SlackSource.SlackChannels.BuilderbuilderForValue)

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()

publicSlackSource.SlackChannels.BuilderaddChannelsBuilder()

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)

publicSlackSource.SlackChannels.BuilderaddChannelsBuilder(intindex)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicSlackSource.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SlackSource.Builder
Overrides

build()

publicSlackSourcebuild()
Returns
Type Description
SlackSource

buildPartial()

publicSlackSourcebuildPartial()
Returns
Type Description
SlackSource

clear()

publicSlackSource.Builderclear()
Returns
Type Description
SlackSource.Builder
Overrides

clearChannels()

publicSlackSource.BuilderclearChannels()

Required. The Slack channels.

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

Returns
Type Description
SlackSource.Builder

clearField(Descriptors.FieldDescriptor field)

publicSlackSource.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SlackSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicSlackSource.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SlackSource.Builder
Overrides

clone()

publicSlackSource.Builderclone()
Returns
Type Description
SlackSource.Builder
Overrides

getChannels(int index)

publicSlackSource.SlackChannelsgetChannels(intindex)

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)

publicSlackSource.SlackChannels.BuildergetChannelsBuilder(intindex)

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()

publicList<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()

publicintgetChannelsCount()

Required. The Slack channels.

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

Returns
Type Description
int

getChannelsList()

publicList<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)

publicSlackSource.SlackChannelsOrBuildergetChannelsOrBuilder(intindex)

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()

publicList<?extendsSlackSource.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()

publicSlackSourcegetDefaultInstanceForType()
Returns
Type Description
SlackSource

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SlackSource other)

publicSlackSource.BuildermergeFrom(SlackSourceother)
Parameter
Name Description
other SlackSource
Returns
Type Description
SlackSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicSlackSource.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SlackSource.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicSlackSource.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
SlackSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalSlackSource.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SlackSource.Builder
Overrides

removeChannels(int index)

publicSlackSource.BuilderremoveChannels(intindex)

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)

publicSlackSource.BuildersetChannels(intindex,SlackSource.SlackChannelsvalue)

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)

publicSlackSource.BuildersetChannels(intindex,SlackSource.SlackChannels.BuilderbuilderForValue)

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

setField(Descriptors.FieldDescriptor field, Object value)

publicSlackSource.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SlackSource.Builder
Overrides

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

publicSlackSource.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SlackSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalSlackSource.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SlackSource.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.