Class DatasetSchema.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DatasetSchema.Builder>
com.google.cloud.documentai.v1beta3.DatasetSchema.Builder
All Implemented Interfaces:
DatasetSchemaOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DatasetSchema

public static final class DatasetSchema.Builder extends com.google.protobuf.GeneratedMessage.Builder<DatasetSchema.Builder> implements DatasetSchemaOrBuilder
 Dataset Schema.
 
Protobuf type google.cloud.documentai.v1beta3.DatasetSchema
  • 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<DatasetSchema.Builder>
    • clear

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

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

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

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

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

      public DatasetSchema.Builder mergeFrom(DatasetSchema other)
    • isInitialized

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

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

      public String getName()
       Dataset schema resource name.
       Format:
       `projects/{project}/locations/{location}/processors/{processor}/dataset/datasetSchema`
       
      string name = 1;
      Specified by:
      getName in interface DatasetSchemaOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Dataset schema resource name.
       Format:
       `projects/{project}/locations/{location}/processors/{processor}/dataset/datasetSchema`
       
      string name = 1;
      Specified by:
      getNameBytes in interface DatasetSchemaOrBuilder
      Returns:
      The bytes for name.
    • setName

      public DatasetSchema.Builder setName(String value)
       Dataset schema resource name.
       Format:
       `projects/{project}/locations/{location}/processors/{processor}/dataset/datasetSchema`
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public DatasetSchema.Builder clearName()
       Dataset schema resource name.
       Format:
       `projects/{project}/locations/{location}/processors/{processor}/dataset/datasetSchema`
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public DatasetSchema.Builder setNameBytes(com.google.protobuf.ByteString value)
       Dataset schema resource name.
       Format:
       `projects/{project}/locations/{location}/processors/{processor}/dataset/datasetSchema`
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasDocumentSchema

      public boolean hasDocumentSchema()
       Optional. Schema of the dataset.
       
      .google.cloud.documentai.v1beta3.DocumentSchema document_schema = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDocumentSchema in interface DatasetSchemaOrBuilder
      Returns:
      Whether the documentSchema field is set.
    • getDocumentSchema

      public DocumentSchema getDocumentSchema()
       Optional. Schema of the dataset.
       
      .google.cloud.documentai.v1beta3.DocumentSchema document_schema = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDocumentSchema in interface DatasetSchemaOrBuilder
      Returns:
      The documentSchema.
    • setDocumentSchema

      public DatasetSchema.Builder setDocumentSchema(DocumentSchema value)
       Optional. Schema of the dataset.
       
      .google.cloud.documentai.v1beta3.DocumentSchema document_schema = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setDocumentSchema

      public DatasetSchema.Builder setDocumentSchema(DocumentSchema.Builder builderForValue)
       Optional. Schema of the dataset.
       
      .google.cloud.documentai.v1beta3.DocumentSchema document_schema = 3 [(.google.api.field_behavior) = OPTIONAL];
    • mergeDocumentSchema

      public DatasetSchema.Builder mergeDocumentSchema(DocumentSchema value)
       Optional. Schema of the dataset.
       
      .google.cloud.documentai.v1beta3.DocumentSchema document_schema = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearDocumentSchema

      public DatasetSchema.Builder clearDocumentSchema()
       Optional. Schema of the dataset.
       
      .google.cloud.documentai.v1beta3.DocumentSchema document_schema = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getDocumentSchemaBuilder

      public DocumentSchema.Builder getDocumentSchemaBuilder()
       Optional. Schema of the dataset.
       
      .google.cloud.documentai.v1beta3.DocumentSchema document_schema = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getDocumentSchemaOrBuilder

      public DocumentSchemaOrBuilder getDocumentSchemaOrBuilder()
       Optional. Schema of the dataset.
       
      .google.cloud.documentai.v1beta3.DocumentSchema document_schema = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDocumentSchemaOrBuilder in interface DatasetSchemaOrBuilder
    • getSatisfiesPzs

      public boolean getSatisfiesPzs()
       Output only. Reserved for future use.
       
      bool satisfies_pzs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSatisfiesPzs in interface DatasetSchemaOrBuilder
      Returns:
      The satisfiesPzs.
    • setSatisfiesPzs

      public DatasetSchema.Builder setSatisfiesPzs(boolean value)
       Output only. Reserved for future use.
       
      bool satisfies_pzs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The satisfiesPzs to set.
      Returns:
      This builder for chaining.
    • clearSatisfiesPzs

      public DatasetSchema.Builder clearSatisfiesPzs()
       Output only. Reserved for future use.
       
      bool satisfies_pzs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getSatisfiesPzi

      public boolean getSatisfiesPzi()
       Output only. Reserved for future use.
       
      bool satisfies_pzi = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSatisfiesPzi in interface DatasetSchemaOrBuilder
      Returns:
      The satisfiesPzi.
    • setSatisfiesPzi

      public DatasetSchema.Builder setSatisfiesPzi(boolean value)
       Output only. Reserved for future use.
       
      bool satisfies_pzi = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The satisfiesPzi to set.
      Returns:
      This builder for chaining.
    • clearSatisfiesPzi

      public DatasetSchema.Builder clearSatisfiesPzi()
       Output only. Reserved for future use.
       
      bool satisfies_pzi = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.