Class SerdeInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SerdeInfo.Builder>
com.google.cloud.biglake.hive.v1beta.SerdeInfo.Builder
All Implemented Interfaces:
SerdeInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SerdeInfo

public static final class SerdeInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<SerdeInfo.Builder> implements SerdeInfoOrBuilder
 Serialization and deserialization information.
 
Protobuf type google.cloud.biglake.hive.v1beta.SerdeInfo
  • 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<SerdeInfo.Builder>
    • internalGetMutableMapFieldReflection

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

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

      public SerdeInfo.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<SerdeInfo.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<SerdeInfo.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public SerdeInfo.Builder mergeFrom(SerdeInfo other)
    • isInitialized

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

      public SerdeInfo.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<SerdeInfo.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Required. Name of the SerDe. Table name by default. The maximum length is
       128 characters.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getName in interface SerdeInfoOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. Name of the SerDe. Table name by default. The maximum length is
       128 characters.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNameBytes in interface SerdeInfoOrBuilder
      Returns:
      The bytes for name.
    • setName

      public SerdeInfo.Builder setName(String value)
       Required. Name of the SerDe. Table name by default. The maximum length is
       128 characters.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public SerdeInfo.Builder clearName()
       Required. Name of the SerDe. Table name by default. The maximum length is
       128 characters.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setNameBytes

      public SerdeInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. Name of the SerDe. Table name by default. The maximum length is
       128 characters.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getSerializationLib

      public String getSerializationLib()
       Required. The fully qualified Java class name of the serialization library.
       The maximum length is 4000 characters.
       
      string serialization_lib = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSerializationLib in interface SerdeInfoOrBuilder
      Returns:
      The serializationLib.
    • getSerializationLibBytes

      public com.google.protobuf.ByteString getSerializationLibBytes()
       Required. The fully qualified Java class name of the serialization library.
       The maximum length is 4000 characters.
       
      string serialization_lib = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSerializationLibBytes in interface SerdeInfoOrBuilder
      Returns:
      The bytes for serializationLib.
    • setSerializationLib

      public SerdeInfo.Builder setSerializationLib(String value)
       Required. The fully qualified Java class name of the serialization library.
       The maximum length is 4000 characters.
       
      string serialization_lib = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The serializationLib to set.
      Returns:
      This builder for chaining.
    • clearSerializationLib

      public SerdeInfo.Builder clearSerializationLib()
       Required. The fully qualified Java class name of the serialization library.
       The maximum length is 4000 characters.
       
      string serialization_lib = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setSerializationLibBytes

      public SerdeInfo.Builder setSerializationLibBytes(com.google.protobuf.ByteString value)
       Required. The fully qualified Java class name of the serialization library.
       The maximum length is 4000 characters.
       
      string serialization_lib = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for serializationLib to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Optional. Description of the serde. The maximum length is 4000 characters.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface SerdeInfoOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. Description of the serde. The maximum length is 4000 characters.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface SerdeInfoOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public SerdeInfo.Builder setDescription(String value)
       Optional. Description of the serde. The maximum length is 4000 characters.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public SerdeInfo.Builder clearDescription()
       Optional. Description of the serde. The maximum length is 4000 characters.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public SerdeInfo.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. Description of the serde. The maximum length is 4000 characters.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getParametersCount

      public int getParametersCount()
      Description copied from interface: SerdeInfoOrBuilder
       Optional. Parameters of the serde. The maximum size is 10Kib.
       
      map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParametersCount in interface SerdeInfoOrBuilder
    • containsParameters

      public boolean containsParameters(String key)
       Optional. Parameters of the serde. The maximum size is 10Kib.
       
      map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsParameters in interface SerdeInfoOrBuilder
    • getParameters

      @Deprecated public Map<String,String> getParameters()
      Deprecated.
      Use getParametersMap() instead.
      Specified by:
      getParameters in interface SerdeInfoOrBuilder
    • getParametersMap

      public Map<String,String> getParametersMap()
       Optional. Parameters of the serde. The maximum size is 10Kib.
       
      map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParametersMap in interface SerdeInfoOrBuilder
    • getParametersOrDefault

      public String getParametersOrDefault(String key, String defaultValue)
       Optional. Parameters of the serde. The maximum size is 10Kib.
       
      map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParametersOrDefault in interface SerdeInfoOrBuilder
    • getParametersOrThrow

      public String getParametersOrThrow(String key)
       Optional. Parameters of the serde. The maximum size is 10Kib.
       
      map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParametersOrThrow in interface SerdeInfoOrBuilder
    • clearParameters

      public SerdeInfo.Builder clearParameters()
    • removeParameters

      public SerdeInfo.Builder removeParameters(String key)
       Optional. Parameters of the serde. The maximum size is 10Kib.
       
      map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableParameters

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

      public SerdeInfo.Builder putParameters(String key, String value)
       Optional. Parameters of the serde. The maximum size is 10Kib.
       
      map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
    • putAllParameters

      public SerdeInfo.Builder putAllParameters(Map<String,String> values)
       Optional. Parameters of the serde. The maximum size is 10Kib.
       
      map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getSerializerClass

      public String getSerializerClass()
       Optional. The fully qualified Java class name of the serializer. The
       maximum length is 4000 characters.
       
      string serializer_class = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSerializerClass in interface SerdeInfoOrBuilder
      Returns:
      The serializerClass.
    • getSerializerClassBytes

      public com.google.protobuf.ByteString getSerializerClassBytes()
       Optional. The fully qualified Java class name of the serializer. The
       maximum length is 4000 characters.
       
      string serializer_class = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSerializerClassBytes in interface SerdeInfoOrBuilder
      Returns:
      The bytes for serializerClass.
    • setSerializerClass

      public SerdeInfo.Builder setSerializerClass(String value)
       Optional. The fully qualified Java class name of the serializer. The
       maximum length is 4000 characters.
       
      string serializer_class = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The serializerClass to set.
      Returns:
      This builder for chaining.
    • clearSerializerClass

      public SerdeInfo.Builder clearSerializerClass()
       Optional. The fully qualified Java class name of the serializer. The
       maximum length is 4000 characters.
       
      string serializer_class = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setSerializerClassBytes

      public SerdeInfo.Builder setSerializerClassBytes(com.google.protobuf.ByteString value)
       Optional. The fully qualified Java class name of the serializer. The
       maximum length is 4000 characters.
       
      string serializer_class = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for serializerClass to set.
      Returns:
      This builder for chaining.
    • getDeserializerClass

      public String getDeserializerClass()
       Optional. The fully qualified Java class name of the deserializer. The
       maximum length is 4000 characters.
       
      string deserializer_class = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDeserializerClass in interface SerdeInfoOrBuilder
      Returns:
      The deserializerClass.
    • getDeserializerClassBytes

      public com.google.protobuf.ByteString getDeserializerClassBytes()
       Optional. The fully qualified Java class name of the deserializer. The
       maximum length is 4000 characters.
       
      string deserializer_class = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDeserializerClassBytes in interface SerdeInfoOrBuilder
      Returns:
      The bytes for deserializerClass.
    • setDeserializerClass

      public SerdeInfo.Builder setDeserializerClass(String value)
       Optional. The fully qualified Java class name of the deserializer. The
       maximum length is 4000 characters.
       
      string deserializer_class = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The deserializerClass to set.
      Returns:
      This builder for chaining.
    • clearDeserializerClass

      public SerdeInfo.Builder clearDeserializerClass()
       Optional. The fully qualified Java class name of the deserializer. The
       maximum length is 4000 characters.
       
      string deserializer_class = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDeserializerClassBytes

      public SerdeInfo.Builder setDeserializerClassBytes(com.google.protobuf.ByteString value)
       Optional. The fully qualified Java class name of the deserializer. The
       maximum length is 4000 characters.
       
      string deserializer_class = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for deserializerClass to set.
      Returns:
      This builder for chaining.
    • getSerdeTypeValue

      public int getSerdeTypeValue()
       Optional. The serde type.
       
      .google.cloud.biglake.hive.v1beta.SerdeInfo.SerdeType serde_type = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSerdeTypeValue in interface SerdeInfoOrBuilder
      Returns:
      The enum numeric value on the wire for serdeType.
    • setSerdeTypeValue

      public SerdeInfo.Builder setSerdeTypeValue(int value)
       Optional. The serde type.
       
      .google.cloud.biglake.hive.v1beta.SerdeInfo.SerdeType serde_type = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for serdeType to set.
      Returns:
      This builder for chaining.
    • getSerdeType

      public SerdeInfo.SerdeType getSerdeType()
       Optional. The serde type.
       
      .google.cloud.biglake.hive.v1beta.SerdeInfo.SerdeType serde_type = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSerdeType in interface SerdeInfoOrBuilder
      Returns:
      The serdeType.
    • setSerdeType

      public SerdeInfo.Builder setSerdeType(SerdeInfo.SerdeType value)
       Optional. The serde type.
       
      .google.cloud.biglake.hive.v1beta.SerdeInfo.SerdeType serde_type = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The serdeType to set.
      Returns:
      This builder for chaining.
    • clearSerdeType

      public SerdeInfo.Builder clearSerdeType()
       Optional. The serde type.
       
      .google.cloud.biglake.hive.v1beta.SerdeInfo.SerdeType serde_type = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.