public static final class DeleteAssignmentRequest.Builder extends GeneratedMessageV3.Builder<DeleteAssignmentRequest.Builder> implements DeleteAssignmentRequestOrBuilder
The request for ReservationService.DeleteAssignment.
Note: "bigquery.reservationAssignments.delete" permission is required on the
related assignee.
Protobuf type google.cloud.bigquery.reservation.v1.DeleteAssignmentRequest
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeleteAssignmentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DeleteAssignmentRequest build()
Returns
buildPartial()
public DeleteAssignmentRequest buildPartial()
Returns
clear()
public DeleteAssignmentRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public DeleteAssignmentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public DeleteAssignmentRequest.Builder clearName()
Required. Name of the resource, e.g.
projects/myproject/locations/US/reservations/team1-prod/assignments/123
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public DeleteAssignmentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public DeleteAssignmentRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DeleteAssignmentRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
Required. Name of the resource, e.g.
projects/myproject/locations/US/reservations/team1-prod/assignments/123
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. Name of the resource, e.g.
projects/myproject/locations/US/reservations/team1-prod/assignments/123
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DeleteAssignmentRequest other)
public DeleteAssignmentRequest.Builder mergeFrom(DeleteAssignmentRequest other)
Parameter
Returns
public DeleteAssignmentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DeleteAssignmentRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeleteAssignmentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DeleteAssignmentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public DeleteAssignmentRequest.Builder setName(String value)
Required. Name of the resource, e.g.
projects/myproject/locations/US/reservations/team1-prod/assignments/123
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public DeleteAssignmentRequest.Builder setNameBytes(ByteString value)
Required. Name of the resource, e.g.
projects/myproject/locations/US/reservations/team1-prod/assignments/123
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeleteAssignmentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DeleteAssignmentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides