Class FailoverReservationRequest.Builder (2.56.0)

public static final class FailoverReservationRequest.Builder extends GeneratedMessageV3.Builder<FailoverReservationRequest.Builder> implements FailoverReservationRequestOrBuilder

The request for ReservationService.FailoverReservation.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FailoverReservationRequest build()
Returns
Type Description
FailoverReservationRequest

buildPartial()

public FailoverReservationRequest buildPartial()
Returns
Type Description
FailoverReservationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public FailoverReservationRequest.Builder clearName()

Required. Resource name of the reservation to failover. E.g., projects/myproject/locations/US/reservations/team1-prod

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
FailoverReservationRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public FailoverReservationRequest getDefaultInstanceForType()
Returns
Type Description
FailoverReservationRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Resource name of the reservation to failover. E.g., projects/myproject/locations/US/reservations/team1-prod

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Resource name of the reservation to failover. E.g., projects/myproject/locations/US/reservations/team1-prod

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FailoverReservationRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public FailoverReservationRequest.Builder setName(String value)

Required. Resource name of the reservation to failover. E.g., projects/myproject/locations/US/reservations/team1-prod

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
FailoverReservationRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public FailoverReservationRequest.Builder setNameBytes(ByteString value)

Required. Resource name of the reservation to failover. E.g., projects/myproject/locations/US/reservations/team1-prod

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
FailoverReservationRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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