public static final class SlackSource.Builder extends GeneratedMessage.Builder<SlackSource.Builder> implements SlackSourceOrBuilder
The Slack source for the ImportRagFilesRequest.
Protobuf type google.cloud.aiplatform.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
public static final Descriptors.Descriptor getDescriptor()
Methods
public SlackSource.Builder addAllChannels(Iterable<? extends SlackSource.SlackChannels> values)
Required. The Slack channels.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1.SlackSource.SlackChannels>
|
public SlackSource.Builder addChannels(SlackSource.SlackChannels value)
Required. The Slack channels.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
public SlackSource.Builder addChannels(SlackSource.SlackChannels.Builder builderForValue)
Required. The Slack channels.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
public SlackSource.Builder addChannels(int index, SlackSource.SlackChannels value)
Required. The Slack channels.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
public SlackSource.Builder addChannels(int index, SlackSource.SlackChannels.Builder builderForValue)
Required. The Slack channels.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
public SlackSource.SlackChannels.Builder addChannelsBuilder()
Required. The Slack channels.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
public SlackSource.SlackChannels.Builder addChannelsBuilder(int index)
Required. The Slack channels.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public SlackSource build()
public SlackSource buildPartial()
public SlackSource.Builder clear()
Overrides
public SlackSource.Builder clearChannels()
Required. The Slack channels.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
public SlackSource.SlackChannels getChannels(int index)
Required. The Slack channels.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public SlackSource.SlackChannels.Builder getChannelsBuilder(int index)
Required. The Slack channels.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public List<SlackSource.SlackChannels.Builder> getChannelsBuilderList()
Required. The Slack channels.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
public int getChannelsCount()
Required. The Slack channels.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
|
public List<SlackSource.SlackChannels> getChannelsList()
Required. The Slack channels.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
public SlackSource.SlackChannelsOrBuilder getChannelsOrBuilder(int index)
Required. The Slack channels.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public List<? extends SlackSource.SlackChannelsOrBuilder> getChannelsOrBuilderList()
Required. The Slack channels.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.aiplatform.v1.SlackSource.SlackChannelsOrBuilder> |
|
public SlackSource getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public SlackSource.Builder mergeFrom(SlackSource other)
public SlackSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public SlackSource.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public SlackSource.Builder removeChannels(int index)
Required. The Slack channels.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public SlackSource.Builder setChannels(int index, SlackSource.SlackChannels value)
Required. The Slack channels.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
public SlackSource.Builder setChannels(int index, SlackSource.SlackChannels.Builder builderForValue)
Required. The Slack channels.
repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];