Class UpdateAssignmentRequest.Builder (2.43.0)

public static final class UpdateAssignmentRequest.Builder extends GeneratedMessageV3.Builder<UpdateAssignmentRequest.Builder> implements UpdateAssignmentRequestOrBuilder

The request for ReservationService.UpdateAssignment.

Protobuf type google.cloud.bigquery.reservation.v1.UpdateAssignmentRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateAssignmentRequest build()
Returns
Type Description
UpdateAssignmentRequest

buildPartial()

public UpdateAssignmentRequest buildPartial()
Returns
Type Description
UpdateAssignmentRequest

clear()

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

clearAssignment()

public UpdateAssignmentRequest.Builder clearAssignment()

Content of the assignment to update.

.google.cloud.bigquery.reservation.v1.Assignment assignment = 1;

Returns
Type Description
UpdateAssignmentRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateAssignmentRequest.Builder clearUpdateMask()

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateAssignmentRequest.Builder

clone()

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

getAssignment()

public Assignment getAssignment()

Content of the assignment to update.

.google.cloud.bigquery.reservation.v1.Assignment assignment = 1;

Returns
Type Description
Assignment

The assignment.

getAssignmentBuilder()

public Assignment.Builder getAssignmentBuilder()

Content of the assignment to update.

.google.cloud.bigquery.reservation.v1.Assignment assignment = 1;

Returns
Type Description
Assignment.Builder

getAssignmentOrBuilder()

public AssignmentOrBuilder getAssignmentOrBuilder()

Content of the assignment to update.

.google.cloud.bigquery.reservation.v1.Assignment assignment = 1;

Returns
Type Description
AssignmentOrBuilder

getDefaultInstanceForType()

public UpdateAssignmentRequest getDefaultInstanceForType()
Returns
Type Description
UpdateAssignmentRequest

getDescriptorForType()

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

getUpdateMask()

public FieldMask getUpdateMask()

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasAssignment()

public boolean hasAssignment()

Content of the assignment to update.

.google.cloud.bigquery.reservation.v1.Assignment assignment = 1;

Returns
Type Description
boolean

Whether the assignment field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Standard field mask for the set of fields to be updated.

.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

mergeAssignment(Assignment value)

public UpdateAssignmentRequest.Builder mergeAssignment(Assignment value)

Content of the assignment to update.

.google.cloud.bigquery.reservation.v1.Assignment assignment = 1;

Parameter
Name Description
value Assignment
Returns
Type Description
UpdateAssignmentRequest.Builder

mergeFrom(UpdateAssignmentRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateAssignmentRequest.Builder mergeUpdateMask(FieldMask value)

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAssignmentRequest.Builder

setAssignment(Assignment value)

public UpdateAssignmentRequest.Builder setAssignment(Assignment value)

Content of the assignment to update.

.google.cloud.bigquery.reservation.v1.Assignment assignment = 1;

Parameter
Name Description
value Assignment
Returns
Type Description
UpdateAssignmentRequest.Builder

setAssignment(Assignment.Builder builderForValue)

public UpdateAssignmentRequest.Builder setAssignment(Assignment.Builder builderForValue)

Content of the assignment to update.

.google.cloud.bigquery.reservation.v1.Assignment assignment = 1;

Parameter
Name Description
builderForValue Assignment.Builder
Returns
Type Description
UpdateAssignmentRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateAssignmentRequest.Builder setUpdateMask(FieldMask value)

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAssignmentRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateAssignmentRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateAssignmentRequest.Builder