public static final class DatasetSchema.Builder extends GeneratedMessageV3.Builder<DatasetSchema.Builder> implements DatasetSchemaOrBuilder
Dataset Schema.
Protobuf type google.cloud.documentai.v1beta3.DatasetSchema
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 DatasetSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DatasetSchema build()
buildPartial()
public DatasetSchema buildPartial()
clear()
public DatasetSchema.Builder clear()
Overrides
clearDocumentSchema()
public DatasetSchema.Builder clearDocumentSchema()
Optional. Schema of the dataset.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 3 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public DatasetSchema.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public DatasetSchema.Builder clearName()
Dataset schema resource name.
Format:
projects/{project}/locations/{location}/processors/{processor}/dataset/datasetSchema
string name = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public DatasetSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public DatasetSchema.Builder clone()
Overrides
getDefaultInstanceForType()
public DatasetSchema getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDocumentSchema()
public DocumentSchema getDocumentSchema()
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];
getName()
Dataset schema resource name.
Format:
projects/{project}/locations/{location}/processors/{processor}/dataset/datasetSchema
string name = 1;
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Dataset schema resource name.
Format:
projects/{project}/locations/{location}/processors/{processor}/dataset/datasetSchema
string name = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
hasDocumentSchema()
public boolean hasDocumentSchema()
Optional. Schema of the dataset.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
boolean | Whether the documentSchema field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDocumentSchema(DocumentSchema value)
public DatasetSchema.Builder mergeDocumentSchema(DocumentSchema value)
Optional. Schema of the dataset.
.google.cloud.documentai.v1beta3.DocumentSchema document_schema = 3 [(.google.api.field_behavior) = OPTIONAL];
mergeFrom(DatasetSchema other)
public DatasetSchema.Builder mergeFrom(DatasetSchema other)
public DatasetSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DatasetSchema.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DatasetSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDocumentSchema(DocumentSchema value)
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(DocumentSchema.Builder builderForValue)
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];
setField(Descriptors.FieldDescriptor field, Object value)
public DatasetSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setName(String value)
public DatasetSchema.Builder setName(String value)
Dataset schema resource name.
Format:
projects/{project}/locations/{location}/processors/{processor}/dataset/datasetSchema
string name = 1;
Parameter |
---|
Name | Description |
value | String
The name to set.
|
setNameBytes(ByteString value)
public DatasetSchema.Builder setNameBytes(ByteString value)
Dataset schema resource name.
Format:
projects/{project}/locations/{location}/processors/{processor}/dataset/datasetSchema
string name = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DatasetSchema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DatasetSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides