Class PhysicalSchema.ThriftSchema.Builder

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

public static final class PhysicalSchema.ThriftSchema.Builder extends com.google.protobuf.GeneratedMessage.Builder<PhysicalSchema.ThriftSchema.Builder> implements PhysicalSchema.ThriftSchemaOrBuilder
 Schema in Thrift format.
 
Protobuf type google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema
  • 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<PhysicalSchema.ThriftSchema.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<PhysicalSchema.ThriftSchema.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<PhysicalSchema.ThriftSchema.Builder>
    • getDefaultInstanceForType

      public PhysicalSchema.ThriftSchema 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 PhysicalSchema.ThriftSchema buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public PhysicalSchema.ThriftSchema.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<PhysicalSchema.ThriftSchema.Builder>
      Throws:
      IOException
    • getText

      public String getText()
       Thrift IDL source of the schema.
       
      string text = 1;
      Specified by:
      getText in interface PhysicalSchema.ThriftSchemaOrBuilder
      Returns:
      The text.
    • getTextBytes

      public com.google.protobuf.ByteString getTextBytes()
       Thrift IDL source of the schema.
       
      string text = 1;
      Specified by:
      getTextBytes in interface PhysicalSchema.ThriftSchemaOrBuilder
      Returns:
      The bytes for text.
    • setText

       Thrift IDL source of the schema.
       
      string text = 1;
      Parameters:
      value - The text to set.
      Returns:
      This builder for chaining.
    • clearText

       Thrift IDL source of the schema.
       
      string text = 1;
      Returns:
      This builder for chaining.
    • setTextBytes

      public PhysicalSchema.ThriftSchema.Builder setTextBytes(com.google.protobuf.ByteString value)
       Thrift IDL source of the schema.
       
      string text = 1;
      Parameters:
      value - The bytes for text to set.
      Returns:
      This builder for chaining.