Class ConfigVariable.MultiSelectValues.Builder

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

public static final class ConfigVariable.MultiSelectValues.Builder extends com.google.protobuf.GeneratedMessage.Builder<ConfigVariable.MultiSelectValues.Builder> implements ConfigVariable.MultiSelectValuesOrBuilder
 The config variable value of data type multi select.
 
Protobuf type google.cloud.apihub.v1.ConfigVariable.MultiSelectValues
  • 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<ConfigVariable.MultiSelectValues.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<ConfigVariable.MultiSelectValues.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<ConfigVariable.MultiSelectValues.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public ConfigVariable.MultiSelectValues.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<ConfigVariable.MultiSelectValues.Builder>
    • mergeFrom

    • isInitialized

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

      public ConfigVariable.MultiSelectValues.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<ConfigVariable.MultiSelectValues.Builder>
      Throws:
      IOException
    • getValuesList

      public List<ConfigValueOption> getValuesList()
       Optional. The config variable value of data type multi select.
       
      repeated .google.cloud.apihub.v1.ConfigValueOption values = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getValuesList in interface ConfigVariable.MultiSelectValuesOrBuilder
    • getValuesCount

      public int getValuesCount()
       Optional. The config variable value of data type multi select.
       
      repeated .google.cloud.apihub.v1.ConfigValueOption values = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getValuesCount in interface ConfigVariable.MultiSelectValuesOrBuilder
    • getValues

      public ConfigValueOption getValues(int index)
       Optional. The config variable value of data type multi select.
       
      repeated .google.cloud.apihub.v1.ConfigValueOption values = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getValues in interface ConfigVariable.MultiSelectValuesOrBuilder
    • setValues

      public ConfigVariable.MultiSelectValues.Builder setValues(int index, ConfigValueOption value)
       Optional. The config variable value of data type multi select.
       
      repeated .google.cloud.apihub.v1.ConfigValueOption values = 1 [(.google.api.field_behavior) = OPTIONAL];
    • setValues

      public ConfigVariable.MultiSelectValues.Builder setValues(int index, ConfigValueOption.Builder builderForValue)
       Optional. The config variable value of data type multi select.
       
      repeated .google.cloud.apihub.v1.ConfigValueOption values = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addValues

       Optional. The config variable value of data type multi select.
       
      repeated .google.cloud.apihub.v1.ConfigValueOption values = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addValues

      public ConfigVariable.MultiSelectValues.Builder addValues(int index, ConfigValueOption value)
       Optional. The config variable value of data type multi select.
       
      repeated .google.cloud.apihub.v1.ConfigValueOption values = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addValues

       Optional. The config variable value of data type multi select.
       
      repeated .google.cloud.apihub.v1.ConfigValueOption values = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addValues

      public ConfigVariable.MultiSelectValues.Builder addValues(int index, ConfigValueOption.Builder builderForValue)
       Optional. The config variable value of data type multi select.
       
      repeated .google.cloud.apihub.v1.ConfigValueOption values = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addAllValues

      public ConfigVariable.MultiSelectValues.Builder addAllValues(Iterable<? extends ConfigValueOption> values)
       Optional. The config variable value of data type multi select.
       
      repeated .google.cloud.apihub.v1.ConfigValueOption values = 1 [(.google.api.field_behavior) = OPTIONAL];
    • clearValues

       Optional. The config variable value of data type multi select.
       
      repeated .google.cloud.apihub.v1.ConfigValueOption values = 1 [(.google.api.field_behavior) = OPTIONAL];
    • removeValues

      public ConfigVariable.MultiSelectValues.Builder removeValues(int index)
       Optional. The config variable value of data type multi select.
       
      repeated .google.cloud.apihub.v1.ConfigValueOption values = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getValuesBuilder

      public ConfigValueOption.Builder getValuesBuilder(int index)
       Optional. The config variable value of data type multi select.
       
      repeated .google.cloud.apihub.v1.ConfigValueOption values = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getValuesOrBuilder

      public ConfigValueOptionOrBuilder getValuesOrBuilder(int index)
       Optional. The config variable value of data type multi select.
       
      repeated .google.cloud.apihub.v1.ConfigValueOption values = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getValuesOrBuilder in interface ConfigVariable.MultiSelectValuesOrBuilder
    • getValuesOrBuilderList

      public List<? extends ConfigValueOptionOrBuilder> getValuesOrBuilderList()
       Optional. The config variable value of data type multi select.
       
      repeated .google.cloud.apihub.v1.ConfigValueOption values = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getValuesOrBuilderList in interface ConfigVariable.MultiSelectValuesOrBuilder
    • addValuesBuilder

      public ConfigValueOption.Builder addValuesBuilder()
       Optional. The config variable value of data type multi select.
       
      repeated .google.cloud.apihub.v1.ConfigValueOption values = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addValuesBuilder

      public ConfigValueOption.Builder addValuesBuilder(int index)
       Optional. The config variable value of data type multi select.
       
      repeated .google.cloud.apihub.v1.ConfigValueOption values = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getValuesBuilderList

      public List<ConfigValueOption.Builder> getValuesBuilderList()
       Optional. The config variable value of data type multi select.
       
      repeated .google.cloud.apihub.v1.ConfigValueOption values = 1 [(.google.api.field_behavior) = OPTIONAL];