Class UpdateDatasetSchemaRequest.Builder (2.48.0)

public static final class UpdateDatasetSchemaRequest.Builder extends GeneratedMessageV3.Builder<UpdateDatasetSchemaRequest.Builder> implements UpdateDatasetSchemaRequestOrBuilder

Request for UpdateDatasetSchema.

Protobuf type google.cloud.documentai.v1beta3.UpdateDatasetSchemaRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateDatasetSchemaRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateDatasetSchemaRequest.Builder
Overrides

build()

public UpdateDatasetSchemaRequest build()
Returns
Type Description
UpdateDatasetSchemaRequest

buildPartial()

public UpdateDatasetSchemaRequest buildPartial()
Returns
Type Description
UpdateDatasetSchemaRequest

clear()

public UpdateDatasetSchemaRequest.Builder clear()
Returns
Type Description
UpdateDatasetSchemaRequest.Builder
Overrides

clearDatasetSchema()

public UpdateDatasetSchemaRequest.Builder clearDatasetSchema()

Required. The name field of the DatasetSchema is used to identify the resource to be updated.

.google.cloud.documentai.v1beta3.DatasetSchema dataset_schema = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateDatasetSchemaRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateDatasetSchemaRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateDatasetSchemaRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateDatasetSchemaRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateDatasetSchemaRequest.Builder
Overrides

clearUpdateMask()

public UpdateDatasetSchemaRequest.Builder clearUpdateMask()

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateDatasetSchemaRequest.Builder

clone()

public UpdateDatasetSchemaRequest.Builder clone()
Returns
Type Description
UpdateDatasetSchemaRequest.Builder
Overrides

getDatasetSchema()

public DatasetSchema getDatasetSchema()

Required. The name field of the DatasetSchema is used to identify the resource to be updated.

.google.cloud.documentai.v1beta3.DatasetSchema dataset_schema = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DatasetSchema

The datasetSchema.

getDatasetSchemaBuilder()

public DatasetSchema.Builder getDatasetSchemaBuilder()

Required. The name field of the DatasetSchema is used to identify the resource to be updated.

.google.cloud.documentai.v1beta3.DatasetSchema dataset_schema = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DatasetSchema.Builder

getDatasetSchemaOrBuilder()

public DatasetSchemaOrBuilder getDatasetSchemaOrBuilder()

Required. The name field of the DatasetSchema is used to identify the resource to be updated.

.google.cloud.documentai.v1beta3.DatasetSchema dataset_schema = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DatasetSchemaOrBuilder

getDefaultInstanceForType()

public UpdateDatasetSchemaRequest getDefaultInstanceForType()
Returns
Type Description
UpdateDatasetSchemaRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasDatasetSchema()

public boolean hasDatasetSchema()

Required. The name field of the DatasetSchema is used to identify the resource to be updated.

.google.cloud.documentai.v1beta3.DatasetSchema dataset_schema = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the datasetSchema field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDatasetSchema(DatasetSchema value)

public UpdateDatasetSchemaRequest.Builder mergeDatasetSchema(DatasetSchema value)

Required. The name field of the DatasetSchema is used to identify the resource to be updated.

.google.cloud.documentai.v1beta3.DatasetSchema dataset_schema = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DatasetSchema
Returns
Type Description
UpdateDatasetSchemaRequest.Builder

mergeFrom(UpdateDatasetSchemaRequest other)

public UpdateDatasetSchemaRequest.Builder mergeFrom(UpdateDatasetSchemaRequest other)
Parameter
Name Description
other UpdateDatasetSchemaRequest
Returns
Type Description
UpdateDatasetSchemaRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateDatasetSchemaRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateDatasetSchemaRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateDatasetSchemaRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateDatasetSchemaRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDatasetSchemaRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateDatasetSchemaRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateDatasetSchemaRequest.Builder mergeUpdateMask(FieldMask value)

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateDatasetSchemaRequest.Builder

setDatasetSchema(DatasetSchema value)

public UpdateDatasetSchemaRequest.Builder setDatasetSchema(DatasetSchema value)

Required. The name field of the DatasetSchema is used to identify the resource to be updated.

.google.cloud.documentai.v1beta3.DatasetSchema dataset_schema = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DatasetSchema
Returns
Type Description
UpdateDatasetSchemaRequest.Builder

setDatasetSchema(DatasetSchema.Builder builderForValue)

public UpdateDatasetSchemaRequest.Builder setDatasetSchema(DatasetSchema.Builder builderForValue)

Required. The name field of the DatasetSchema is used to identify the resource to be updated.

.google.cloud.documentai.v1beta3.DatasetSchema dataset_schema = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue DatasetSchema.Builder
Returns
Type Description
UpdateDatasetSchemaRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateDatasetSchemaRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateDatasetSchemaRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateDatasetSchemaRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateDatasetSchemaRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDatasetSchemaRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateDatasetSchemaRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateDatasetSchemaRequest.Builder setUpdateMask(FieldMask value)

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateDatasetSchemaRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateDatasetSchemaRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateDatasetSchemaRequest.Builder