Class UpdateAssignmentRequest.Builder (2.15.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateAssignmentRequest build()
Returns
TypeDescription
UpdateAssignmentRequest

buildPartial()

public UpdateAssignmentRequest buildPartial()
Returns
TypeDescription
UpdateAssignmentRequest

clear()

public UpdateAssignmentRequest.Builder clear()
Returns
TypeDescription
UpdateAssignmentRequest.Builder
Overrides

clearAssignment()

public UpdateAssignmentRequest.Builder clearAssignment()

Content of the assignment to update.

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

Returns
TypeDescription
UpdateAssignmentRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateAssignmentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateAssignmentRequest.Builder

clone()

public UpdateAssignmentRequest.Builder clone()
Returns
TypeDescription
UpdateAssignmentRequest.Builder
Overrides

getAssignment()

public Assignment getAssignment()

Content of the assignment to update.

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

Returns
TypeDescription
Assignment

The assignment.

getAssignmentBuilder()

public Assignment.Builder getAssignmentBuilder()

Content of the assignment to update.

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

Returns
TypeDescription
Assignment.Builder

getAssignmentOrBuilder()

public AssignmentOrBuilder getAssignmentOrBuilder()

Content of the assignment to update.

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

Returns
TypeDescription
AssignmentOrBuilder

getDefaultInstanceForType()

public UpdateAssignmentRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateAssignmentRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

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

.google.protobuf.FieldMask update_mask = 2;

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

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

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

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasAssignment()

public boolean hasAssignment()

Content of the assignment to update.

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

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

mergeAssignment(Assignment value)

public UpdateAssignmentRequest.Builder mergeAssignment(Assignment value)

Content of the assignment to update.

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

Parameter
NameDescription
valueAssignment
Returns
TypeDescription
UpdateAssignmentRequest.Builder

mergeFrom(UpdateAssignmentRequest other)

public UpdateAssignmentRequest.Builder mergeFrom(UpdateAssignmentRequest other)
Parameter
NameDescription
otherUpdateAssignmentRequest
Returns
TypeDescription
UpdateAssignmentRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAssignmentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueAssignment
Returns
TypeDescription
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
NameDescription
builderForValueAssignment.Builder
Returns
TypeDescription
UpdateAssignmentRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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