Class FileCharacteristics.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FileCharacteristics.Builder>
com.google.cloud.discoveryengine.v1alpha.FileCharacteristics.Builder
All Implemented Interfaces:
FileCharacteristicsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FileCharacteristics

public static final class FileCharacteristics.Builder extends com.google.protobuf.GeneratedMessage.Builder<FileCharacteristics.Builder> implements FileCharacteristicsOrBuilder
 Caracteristics of other file types.
 
Protobuf type google.cloud.discoveryengine.v1alpha.FileCharacteristics
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<FileCharacteristics.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<FileCharacteristics.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FileCharacteristics.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<FileCharacteristics.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<FileCharacteristics.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public FileCharacteristics.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<FileCharacteristics.Builder>
      Throws:
      IOException
    • getCharacteristicsCount

      public int getCharacteristicsCount()
      Description copied from interface: FileCharacteristicsOrBuilder
       Output only. Generic map of characteristics.
       
      map<string, string> characteristics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCharacteristicsCount in interface FileCharacteristicsOrBuilder
    • containsCharacteristics

      public boolean containsCharacteristics(String key)
       Output only. Generic map of characteristics.
       
      map<string, string> characteristics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      containsCharacteristics in interface FileCharacteristicsOrBuilder
    • getCharacteristics

      @Deprecated public Map<String,String> getCharacteristics()
      Deprecated.
      Specified by:
      getCharacteristics in interface FileCharacteristicsOrBuilder
    • getCharacteristicsMap

      public Map<String,String> getCharacteristicsMap()
       Output only. Generic map of characteristics.
       
      map<string, string> characteristics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCharacteristicsMap in interface FileCharacteristicsOrBuilder
    • getCharacteristicsOrDefault

      public String getCharacteristicsOrDefault(String key, String defaultValue)
       Output only. Generic map of characteristics.
       
      map<string, string> characteristics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCharacteristicsOrDefault in interface FileCharacteristicsOrBuilder
    • getCharacteristicsOrThrow

      public String getCharacteristicsOrThrow(String key)
       Output only. Generic map of characteristics.
       
      map<string, string> characteristics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCharacteristicsOrThrow in interface FileCharacteristicsOrBuilder
    • clearCharacteristics

      public FileCharacteristics.Builder clearCharacteristics()
    • removeCharacteristics

      public FileCharacteristics.Builder removeCharacteristics(String key)
       Output only. Generic map of characteristics.
       
      map<string, string> characteristics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMutableCharacteristics

      @Deprecated public Map<String,String> getMutableCharacteristics()
      Deprecated.
      Use alternate mutation accessors instead.
    • putCharacteristics

      public FileCharacteristics.Builder putCharacteristics(String key, String value)
       Output only. Generic map of characteristics.
       
      map<string, string> characteristics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • putAllCharacteristics

      public FileCharacteristics.Builder putAllCharacteristics(Map<String,String> values)
       Output only. Generic map of characteristics.
       
      map<string, string> characteristics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];