public static final class DataSchema.Builder extends GeneratedMessageV3.Builder<DataSchema.Builder> implements DataSchemaOrBuilder
   
   Data schema indicates how the user specified annotation is interpreted in the
 system.
 Protobuf type google.cloud.visionai.v1.DataSchema
 
  
  
  
    Inherited Members
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  
  Methods
  
  
  addRepeatedField(Descriptors.FieldDescriptor field, Object value)
  
    public DataSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
   
  
  
  Overrides
  
  
  build()
  
    public DataSchema build()
   
  
  
  buildPartial()
  
    public DataSchema buildPartial()
   
  
  
  clear()
  
    public DataSchema.Builder clear()
   
  
  Overrides
  
  
  clearField(Descriptors.FieldDescriptor field)
  
    public DataSchema.Builder clearField(Descriptors.FieldDescriptor field)
   
  
  
  Overrides
  
  
  clearKey()
  
    public DataSchema.Builder clearKey()
   
   Required. The key of this data schema. This key should be matching the key
 of user specified annotation and unique inside corpus. This value can be up
 to 63 characters, and valid characters are /a-z-/. The first
 character must be a letter, the last could be a letter or a number.
 string key = 2 [(.google.api.field_behavior) = REQUIRED];
 
  
  
  clearName()
  
    public DataSchema.Builder clearName()
   
   Resource name of the data schema in the form of:
 projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}
 where {data_schema} part should be the same as the key field below.
 string name = 1;
 
  
  
  clearOneof(Descriptors.OneofDescriptor oneof)
  
    public DataSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
   
  
  
  Overrides
  
  
  clearSchemaDetails()
  
    public DataSchema.Builder clearSchemaDetails()
   
   The schema details mapping to the key.
 .google.cloud.visionai.v1.DataSchemaDetails schema_details = 3;
 
  
  
  clone()
  
    public DataSchema.Builder clone()
   
  
  Overrides
  
  
  getDefaultInstanceForType()
  
    public DataSchema getDefaultInstanceForType()
   
  
  
  getDescriptorForType()
  
    public Descriptors.Descriptor getDescriptorForType()
   
  
  Overrides
  
  
  getKey()
  
   Required. The key of this data schema. This key should be matching the key
 of user specified annotation and unique inside corpus. This value can be up
 to 63 characters, and valid characters are /a-z-/. The first
 character must be a letter, the last could be a letter or a number.
 string key = 2 [(.google.api.field_behavior) = REQUIRED];
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        String | 
        The key. 
 | 
      
    
  
  
  getKeyBytes()
  
    public ByteString getKeyBytes()
   
   Required. The key of this data schema. This key should be matching the key
 of user specified annotation and unique inside corpus. This value can be up
 to 63 characters, and valid characters are /a-z-/. The first
 character must be a letter, the last could be a letter or a number.
 string key = 2 [(.google.api.field_behavior) = REQUIRED];
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        ByteString | 
        The bytes for key. 
 | 
      
    
  
  
  getName()
  
   Resource name of the data schema in the form of:
 projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}
 where {data_schema} part should be the same as the key field below.
 string name = 1;
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        String | 
        The name. 
 | 
      
    
  
  
  getNameBytes()
  
    public ByteString getNameBytes()
   
   Resource name of the data schema in the form of:
 projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}
 where {data_schema} part should be the same as the key field below.
 string name = 1;
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        ByteString | 
        The bytes for name. 
 | 
      
    
  
  
  getSchemaDetails()
  
    public DataSchemaDetails getSchemaDetails()
   
   The schema details mapping to the key.
 .google.cloud.visionai.v1.DataSchemaDetails schema_details = 3;
 
  
  
  getSchemaDetailsBuilder()
  
    public DataSchemaDetails.Builder getSchemaDetailsBuilder()
   
   The schema details mapping to the key.
 .google.cloud.visionai.v1.DataSchemaDetails schema_details = 3;
 
  
  
  getSchemaDetailsOrBuilder()
  
    public DataSchemaDetailsOrBuilder getSchemaDetailsOrBuilder()
   
   The schema details mapping to the key.
 .google.cloud.visionai.v1.DataSchemaDetails schema_details = 3;
 
  
  
  hasSchemaDetails()
  
    public boolean hasSchemaDetails()
   
   The schema details mapping to the key.
 .google.cloud.visionai.v1.DataSchemaDetails schema_details = 3;
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        boolean | 
        Whether the schemaDetails field is set. 
 | 
      
    
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  
  Overrides
  
  
  mergeFrom(DataSchema other)
  
    public DataSchema.Builder mergeFrom(DataSchema other)
   
  
  
  
  
  
    public DataSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  Overrides
  
  
  
  mergeFrom(Message other)
  
    public DataSchema.Builder mergeFrom(Message other)
   
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        other | 
        Message
  | 
      
    
  
  
  Overrides
  
  
  mergeSchemaDetails(DataSchemaDetails value)
  
    public DataSchema.Builder mergeSchemaDetails(DataSchemaDetails value)
   
   The schema details mapping to the key.
 .google.cloud.visionai.v1.DataSchemaDetails schema_details = 3;
 
  
  
  
  mergeUnknownFields(UnknownFieldSet unknownFields)
  
    public final DataSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
   
  
  
  Overrides
  
  
  setField(Descriptors.FieldDescriptor field, Object value)
  
    public DataSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
   
  
  
  Overrides
  
  
  setKey(String value)
  
    public DataSchema.Builder setKey(String value)
   
   Required. The key of this data schema. This key should be matching the key
 of user specified annotation and unique inside corpus. This value can be up
 to 63 characters, and valid characters are /a-z-/. The first
 character must be a letter, the last could be a letter or a number.
 string key = 2 [(.google.api.field_behavior) = REQUIRED];
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        value | 
        String
 The key to set. 
 | 
      
    
  
  
  
  setKeyBytes(ByteString value)
  
    public DataSchema.Builder setKeyBytes(ByteString value)
   
   Required. The key of this data schema. This key should be matching the key
 of user specified annotation and unique inside corpus. This value can be up
 to 63 characters, and valid characters are /a-z-/. The first
 character must be a letter, the last could be a letter or a number.
 string key = 2 [(.google.api.field_behavior) = REQUIRED];
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        value | 
        ByteString
 The bytes for key to set. 
 | 
      
    
  
  
  
  setName(String value)
  
    public DataSchema.Builder setName(String value)
   
   Resource name of the data schema in the form of:
 projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}
 where {data_schema} part should be the same as the key field below.
 string name = 1;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        value | 
        String
 The name to set. 
 | 
      
    
  
  
  
  setNameBytes(ByteString value)
  
    public DataSchema.Builder setNameBytes(ByteString value)
   
   Resource name of the data schema in the form of:
 projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}
 where {data_schema} part should be the same as the key field below.
 string name = 1;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        value | 
        ByteString
 The bytes for name to set. 
 | 
      
    
  
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
  
    public DataSchema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
   
  
  
  Overrides
  
  
  setSchemaDetails(DataSchemaDetails value)
  
    public DataSchema.Builder setSchemaDetails(DataSchemaDetails value)
   
   The schema details mapping to the key.
 .google.cloud.visionai.v1.DataSchemaDetails schema_details = 3;
 
  
  
  
  setSchemaDetails(DataSchemaDetails.Builder builderForValue)
  
    public DataSchema.Builder setSchemaDetails(DataSchemaDetails.Builder builderForValue)
   
   The schema details mapping to the key.
 .google.cloud.visionai.v1.DataSchemaDetails schema_details = 3;
 
  
  
  
  setUnknownFields(UnknownFieldSet unknownFields)
  
    public final DataSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
   
  
  
  Overrides