Class SerdeInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.biglake.hive.v1beta.SerdeInfo
All Implemented Interfaces:
SerdeInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class SerdeInfo extends com.google.protobuf.GeneratedMessage implements SerdeInfoOrBuilder
 Serialization and deserialization information.
 
Protobuf type google.cloud.biglake.hive.v1beta.SerdeInfo
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • SERIALIZATION_LIB_FIELD_NUMBER

      public static final int SERIALIZATION_LIB_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • PARAMETERS_FIELD_NUMBER

      public static final int PARAMETERS_FIELD_NUMBER
      See Also:
    • SERIALIZER_CLASS_FIELD_NUMBER

      public static final int SERIALIZER_CLASS_FIELD_NUMBER
      See Also:
    • DESERIALIZER_CLASS_FIELD_NUMBER

      public static final int DESERIALIZER_CLASS_FIELD_NUMBER
      See Also:
    • SERDE_TYPE_FIELD_NUMBER

      public static final int SERDE_TYPE_FIELD_NUMBER
      See Also:
  • 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
    • internalGetFieldAccessorTable

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

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static SerdeInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SerdeInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SerdeInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SerdeInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SerdeInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SerdeInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SerdeInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SerdeInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SerdeInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SerdeInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SerdeInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SerdeInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static SerdeInfo.Builder newBuilder()
    • newBuilder

      public static SerdeInfo.Builder newBuilder(SerdeInfo prototype)
    • toBuilder

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

      protected SerdeInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static SerdeInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SerdeInfo> parser()
    • getParserForType

      public com.google.protobuf.Parser<SerdeInfo> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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