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
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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];
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];
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];
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];
addChannelsBuilder()
public SlackSource.SlackChannels.Builder addChannelsBuilder()
Required. The Slack channels.
repeated .google.cloud.vertexai.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
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
|
build()
public SlackSource build()
buildPartial()
public SlackSource buildPartial()
clear()
public SlackSource.Builder clear()
Overrides
clearChannels()
public SlackSource.Builder clearChannels()
Required. The Slack channels.
repeated .google.cloud.vertexai.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
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
|
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
|
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];
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];
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SlackSource other)
public SlackSource.Builder mergeFrom(SlackSource other)
public SlackSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SlackSource.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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
|
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];
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];