Class SlackSource.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SlackSource.Builder>
com.google.cloud.aiplatform.v1.SlackSource.Builder
All Implemented Interfaces:
SlackSourceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SlackSource

public static final class SlackSource.Builder extends com.google.protobuf.GeneratedMessage.Builder<SlackSource.Builder> implements SlackSourceOrBuilder
 The Slack source for the ImportRagFilesRequest.
 
Protobuf type google.cloud.aiplatform.v1.SlackSource
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SlackSource.Builder>
    • clear

      public SlackSource.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<SlackSource.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SlackSource.Builder>
    • getDefaultInstanceForType

      public SlackSource getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public SlackSource build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public SlackSource buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SlackSource.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SlackSource.Builder>
    • mergeFrom

      public SlackSource.Builder mergeFrom(SlackSource other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<SlackSource.Builder>
    • mergeFrom

      public SlackSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SlackSource.Builder>
      Throws:
      IOException
    • getChannelsList

      public List<SlackSource.SlackChannels> getChannelsList()
       Required. The Slack channels.
       
      repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getChannelsList in interface SlackSourceOrBuilder
    • getChannelsCount

      public int getChannelsCount()
       Required. The Slack channels.
       
      repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getChannelsCount in interface SlackSourceOrBuilder
    • getChannels

      public SlackSource.SlackChannels getChannels(int index)
       Required. The Slack channels.
       
      repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getChannels in interface SlackSourceOrBuilder
    • setChannels

      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];
    • setChannels

      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];
    • addChannels

      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];
    • addChannels

      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];
    • addChannels

      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];
    • addChannels

      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];
    • addAllChannels

      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];
    • clearChannels

      public SlackSource.Builder clearChannels()
       Required. The Slack channels.
       
      repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
    • removeChannels

      public SlackSource.Builder removeChannels(int index)
       Required. The Slack channels.
       
      repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
    • getChannelsBuilder

      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];
    • getChannelsOrBuilder

      public SlackSource.SlackChannelsOrBuilder getChannelsOrBuilder(int index)
       Required. The Slack channels.
       
      repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getChannelsOrBuilder in interface SlackSourceOrBuilder
    • getChannelsOrBuilderList

      public List<? extends SlackSource.SlackChannelsOrBuilder> getChannelsOrBuilderList()
       Required. The Slack channels.
       
      repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getChannelsOrBuilderList in interface SlackSourceOrBuilder
    • addChannelsBuilder

      public SlackSource.SlackChannels.Builder addChannelsBuilder()
       Required. The Slack channels.
       
      repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];
    • addChannelsBuilder

      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];
    • getChannelsBuilderList

      public List<SlackSource.SlackChannels.Builder> getChannelsBuilderList()
       Required. The Slack channels.
       
      repeated .google.cloud.aiplatform.v1.SlackSource.SlackChannels channels = 1 [(.google.api.field_behavior) = REQUIRED];