Class DataDocumentationResult.Field.Builder

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

public static final class DataDocumentationResult.Field.Builder extends com.google.protobuf.GeneratedMessage.Builder<DataDocumentationResult.Field.Builder> implements DataDocumentationResult.FieldOrBuilder
 Column of a table with generated metadata and nested fields.
 
Protobuf type google.cloud.dataplex.v1.DataDocumentationResult.Field
  • 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<DataDocumentationResult.Field.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<DataDocumentationResult.Field.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<DataDocumentationResult.Field.Builder>
    • getDefaultInstanceForType

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

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

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

      public String getName()
       Output only. The name of the column.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface DataDocumentationResult.FieldOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. The name of the column.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface DataDocumentationResult.FieldOrBuilder
      Returns:
      The bytes for name.
    • setName

       Output only. The name of the column.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Output only. The name of the column.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNameBytes

      public DataDocumentationResult.Field.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. The name of the column.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Output only. Generated description for columns and fields.
       
      string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDescription in interface DataDocumentationResult.FieldOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Output only. Generated description for columns and fields.
       
      string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDescriptionBytes in interface DataDocumentationResult.FieldOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public DataDocumentationResult.Field.Builder setDescription(String value)
       Output only. Generated description for columns and fields.
       
      string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public DataDocumentationResult.Field.Builder clearDescription()
       Output only. Generated description for columns and fields.
       
      string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public DataDocumentationResult.Field.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Output only. Generated description for columns and fields.
       
      string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getFieldsList

      public List<DataDocumentationResult.Field> getFieldsList()
       Output only. Nested fields.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationResult.Field fields = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFieldsList in interface DataDocumentationResult.FieldOrBuilder
    • getFieldsCount

      public int getFieldsCount()
       Output only. Nested fields.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationResult.Field fields = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFieldsCount in interface DataDocumentationResult.FieldOrBuilder
    • getFields

      public DataDocumentationResult.Field getFields(int index)
       Output only. Nested fields.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationResult.Field fields = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFields in interface DataDocumentationResult.FieldOrBuilder
    • setFields

       Output only. Nested fields.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationResult.Field fields = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setFields

      public DataDocumentationResult.Field.Builder setFields(int index, DataDocumentationResult.Field.Builder builderForValue)
       Output only. Nested fields.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationResult.Field fields = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addFields

       Output only. Nested fields.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationResult.Field fields = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addFields

       Output only. Nested fields.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationResult.Field fields = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addFields

       Output only. Nested fields.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationResult.Field fields = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addFields

      public DataDocumentationResult.Field.Builder addFields(int index, DataDocumentationResult.Field.Builder builderForValue)
       Output only. Nested fields.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationResult.Field fields = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllFields

       Output only. Nested fields.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationResult.Field fields = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearFields

       Output only. Nested fields.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationResult.Field fields = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeFields

      public DataDocumentationResult.Field.Builder removeFields(int index)
       Output only. Nested fields.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationResult.Field fields = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getFieldsBuilder

      public DataDocumentationResult.Field.Builder getFieldsBuilder(int index)
       Output only. Nested fields.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationResult.Field fields = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getFieldsOrBuilder

      public DataDocumentationResult.FieldOrBuilder getFieldsOrBuilder(int index)
       Output only. Nested fields.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationResult.Field fields = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFieldsOrBuilder in interface DataDocumentationResult.FieldOrBuilder
    • getFieldsOrBuilderList

      public List<? extends DataDocumentationResult.FieldOrBuilder> getFieldsOrBuilderList()
       Output only. Nested fields.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationResult.Field fields = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFieldsOrBuilderList in interface DataDocumentationResult.FieldOrBuilder
    • addFieldsBuilder

      public DataDocumentationResult.Field.Builder addFieldsBuilder()
       Output only. Nested fields.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationResult.Field fields = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addFieldsBuilder

      public DataDocumentationResult.Field.Builder addFieldsBuilder(int index)
       Output only. Nested fields.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationResult.Field fields = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getFieldsBuilderList

      public List<DataDocumentationResult.Field.Builder> getFieldsBuilderList()
       Output only. Nested fields.
       
      repeated .google.cloud.dataplex.v1.DataDocumentationResult.Field fields = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];