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
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
public static final Descriptors.Descriptor getDescriptor()
Methods
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>
|
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];
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];
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];
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];
public SlackSource.SlackChannels.Builder addChannelsBuilder()
Required. The Slack channels.
repeated .google.cloud.aiplatform.v1beta1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
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
|
public SlackSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public SlackSource build()
public SlackSource buildPartial()
public SlackSource.Builder clear()
Overrides
public SlackSource.Builder clearChannels()
Required. The Slack channels.
repeated .google.cloud.aiplatform.v1beta1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
public SlackSource.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public SlackSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public SlackSource.Builder clone()
Overrides
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
|
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
|
public List<SlackSource.SlackChannels.Builder> getChannelsBuilderList()
Required. The Slack channels.
repeated .google.cloud.aiplatform.v1beta1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
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 |
|
public List<SlackSource.SlackChannels> getChannelsList()
Required. The Slack channels.
repeated .google.cloud.aiplatform.v1beta1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
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
|
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> |
|
public SlackSource getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
protected GeneratedMessageV3.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 final SlackSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
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];
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];
public SlackSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public SlackSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final SlackSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides