Class UpdateDatasetRequest.Builder (2.57.0)

public static final class UpdateDatasetRequest.Builder extends GeneratedMessageV3.Builder<UpdateDatasetRequest.Builder> implements UpdateDatasetRequestOrBuilder

Protobuf type google.cloud.documentai.v1beta3.UpdateDatasetRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateDatasetRequest build()
Returns
Type Description
UpdateDatasetRequest

buildPartial()

public UpdateDatasetRequest buildPartial()
Returns
Type Description
UpdateDatasetRequest

clear()

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

clearDataset()

public UpdateDatasetRequest.Builder clearDataset()

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

.google.cloud.documentai.v1beta3.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateDatasetRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateDatasetRequest.Builder clearUpdateMask()

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateDatasetRequest.Builder

clone()

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

getDataset()

public Dataset getDataset()

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

.google.cloud.documentai.v1beta3.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Dataset

The dataset.

getDatasetBuilder()

public Dataset.Builder getDatasetBuilder()

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

.google.cloud.documentai.v1beta3.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Dataset.Builder

getDatasetOrBuilder()

public DatasetOrBuilder getDatasetOrBuilder()

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

.google.cloud.documentai.v1beta3.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DatasetOrBuilder

getDefaultInstanceForType()

public UpdateDatasetRequest getDefaultInstanceForType()
Returns
Type Description
UpdateDatasetRequest

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

hasDataset()

public boolean hasDataset()

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

.google.cloud.documentai.v1beta3.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the dataset 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

mergeDataset(Dataset value)

public UpdateDatasetRequest.Builder mergeDataset(Dataset value)

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

.google.cloud.documentai.v1beta3.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Dataset
Returns
Type Description
UpdateDatasetRequest.Builder

mergeFrom(UpdateDatasetRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateDatasetRequest.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
UpdateDatasetRequest.Builder

setDataset(Dataset value)

public UpdateDatasetRequest.Builder setDataset(Dataset value)

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

.google.cloud.documentai.v1beta3.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Dataset
Returns
Type Description
UpdateDatasetRequest.Builder

setDataset(Dataset.Builder builderForValue)

public UpdateDatasetRequest.Builder setDataset(Dataset.Builder builderForValue)

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

.google.cloud.documentai.v1beta3.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Dataset.Builder
Returns
Type Description
UpdateDatasetRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateDatasetRequest.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
UpdateDatasetRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateDatasetRequest.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
UpdateDatasetRequest.Builder