Class UpdateDatasetSchemaRequest.Builder (2.45.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateDatasetSchemaRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateDatasetSchemaRequest.Builder
Overrides

build()

public UpdateDatasetSchemaRequest build()
Returns
TypeDescription
UpdateDatasetSchemaRequest

buildPartial()

public UpdateDatasetSchemaRequest buildPartial()
Returns
TypeDescription
UpdateDatasetSchemaRequest

clear()

public UpdateDatasetSchemaRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateDatasetSchemaRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateDatasetSchemaRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateDatasetSchemaRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateDatasetSchemaRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateDatasetSchemaRequest.Builder
Overrides

clearUpdateMask()

public UpdateDatasetSchemaRequest.Builder clearUpdateMask()

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
UpdateDatasetSchemaRequest.Builder

clone()

public UpdateDatasetSchemaRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DatasetSchemaOrBuilder

getDefaultInstanceForType()

public UpdateDatasetSchemaRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateDatasetSchemaRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueDatasetSchema
Returns
TypeDescription
UpdateDatasetSchemaRequest.Builder

mergeFrom(UpdateDatasetSchemaRequest other)

public UpdateDatasetSchemaRequest.Builder mergeFrom(UpdateDatasetSchemaRequest other)
Parameter
NameDescription
otherUpdateDatasetSchemaRequest
Returns
TypeDescription
UpdateDatasetSchemaRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateDatasetSchemaRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDatasetSchemaRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateDatasetSchemaRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateDatasetSchemaRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDatasetSchemaRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueDatasetSchema
Returns
TypeDescription
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
NameDescription
builderForValueDatasetSchema.Builder
Returns
TypeDescription
UpdateDatasetSchemaRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateDatasetSchemaRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateDatasetSchemaRequest.Builder
Overrides

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

public UpdateDatasetSchemaRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateDatasetSchemaRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDatasetSchemaRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateDatasetSchemaRequest.Builder