Class SchemaKeySortingStrategy.Builder

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

public static final class SchemaKeySortingStrategy.Builder extends com.google.protobuf.GeneratedMessage.Builder<SchemaKeySortingStrategy.Builder> implements SchemaKeySortingStrategyOrBuilder
 A strategy to specify how to sort by data schema key.
 
Protobuf type google.cloud.visionai.v1.SchemaKeySortingStrategy
  • 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<SchemaKeySortingStrategy.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<SchemaKeySortingStrategy.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<SchemaKeySortingStrategy.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public SchemaKeySortingStrategy.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<SchemaKeySortingStrategy.Builder>
      Throws:
      IOException
    • getOptionsList

      public List<SchemaKeySortingStrategy.Option> getOptionsList()
       Options in the front have high priority than those in the back.
       
      repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;
      Specified by:
      getOptionsList in interface SchemaKeySortingStrategyOrBuilder
    • getOptionsCount

      public int getOptionsCount()
       Options in the front have high priority than those in the back.
       
      repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;
      Specified by:
      getOptionsCount in interface SchemaKeySortingStrategyOrBuilder
    • getOptions

      public SchemaKeySortingStrategy.Option getOptions(int index)
       Options in the front have high priority than those in the back.
       
      repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;
      Specified by:
      getOptions in interface SchemaKeySortingStrategyOrBuilder
    • setOptions

       Options in the front have high priority than those in the back.
       
      repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;
    • setOptions

      public SchemaKeySortingStrategy.Builder setOptions(int index, SchemaKeySortingStrategy.Option.Builder builderForValue)
       Options in the front have high priority than those in the back.
       
      repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;
    • addOptions

       Options in the front have high priority than those in the back.
       
      repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;
    • addOptions

       Options in the front have high priority than those in the back.
       
      repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;
    • addOptions

       Options in the front have high priority than those in the back.
       
      repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;
    • addOptions

      public SchemaKeySortingStrategy.Builder addOptions(int index, SchemaKeySortingStrategy.Option.Builder builderForValue)
       Options in the front have high priority than those in the back.
       
      repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;
    • addAllOptions

       Options in the front have high priority than those in the back.
       
      repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;
    • clearOptions

      public SchemaKeySortingStrategy.Builder clearOptions()
       Options in the front have high priority than those in the back.
       
      repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;
    • removeOptions

      public SchemaKeySortingStrategy.Builder removeOptions(int index)
       Options in the front have high priority than those in the back.
       
      repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;
    • getOptionsBuilder

      public SchemaKeySortingStrategy.Option.Builder getOptionsBuilder(int index)
       Options in the front have high priority than those in the back.
       
      repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;
    • getOptionsOrBuilder

      public SchemaKeySortingStrategy.OptionOrBuilder getOptionsOrBuilder(int index)
       Options in the front have high priority than those in the back.
       
      repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;
      Specified by:
      getOptionsOrBuilder in interface SchemaKeySortingStrategyOrBuilder
    • getOptionsOrBuilderList

      public List<? extends SchemaKeySortingStrategy.OptionOrBuilder> getOptionsOrBuilderList()
       Options in the front have high priority than those in the back.
       
      repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;
      Specified by:
      getOptionsOrBuilderList in interface SchemaKeySortingStrategyOrBuilder
    • addOptionsBuilder

      public SchemaKeySortingStrategy.Option.Builder addOptionsBuilder()
       Options in the front have high priority than those in the back.
       
      repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;
    • addOptionsBuilder

      public SchemaKeySortingStrategy.Option.Builder addOptionsBuilder(int index)
       Options in the front have high priority than those in the back.
       
      repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;
    • getOptionsBuilderList

      public List<SchemaKeySortingStrategy.Option.Builder> getOptionsBuilderList()
       Options in the front have high priority than those in the back.
       
      repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;