Class ReportFaultyReservationSubBlockRequest.Builder (1.91.0)

public static final class ReportFaultyReservationSubBlockRequest.Builder extends GeneratedMessageV3.Builder<ReportFaultyReservationSubBlockRequest.Builder> implements ReportFaultyReservationSubBlockRequestOrBuilder

A request message for ReservationSubBlocks.ReportFaulty. See the method description for details.

Protobuf type google.cloud.compute.v1.ReportFaultyReservationSubBlockRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReportFaultyReservationSubBlockRequest build()
Returns
Type Description
ReportFaultyReservationSubBlockRequest

buildPartial()

public ReportFaultyReservationSubBlockRequest buildPartial()
Returns
Type Description
ReportFaultyReservationSubBlockRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParentName()

public ReportFaultyReservationSubBlockRequest.Builder clearParentName()

The name of the parent reservation and parent block. In the format of reservations/{reservation_name}/reservationBlocks/{reservation_block_name}

string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReportFaultyReservationSubBlockRequest.Builder

This builder for chaining.

clearProject()

public ReportFaultyReservationSubBlockRequest.Builder clearProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];

Returns
Type Description
ReportFaultyReservationSubBlockRequest.Builder

This builder for chaining.

clearRequestId()

public ReportFaultyReservationSubBlockRequest.Builder clearRequestId()

An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

optional string request_id = 37109963;

Returns
Type Description
ReportFaultyReservationSubBlockRequest.Builder

This builder for chaining.

clearReservationSubBlock()

public ReportFaultyReservationSubBlockRequest.Builder clearReservationSubBlock()

The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.

string reservation_sub_block = 22750491 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReportFaultyReservationSubBlockRequest.Builder

This builder for chaining.

clearReservationSubBlocksReportFaultyRequestResource()

public ReportFaultyReservationSubBlockRequest.Builder clearReservationSubBlocksReportFaultyRequestResource()

The body resource for this request

.google.cloud.compute.v1.ReservationSubBlocksReportFaultyRequest reservation_sub_blocks_report_faulty_request_resource = 450847938 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReportFaultyReservationSubBlockRequest.Builder

clearZone()

public ReportFaultyReservationSubBlockRequest.Builder clearZone()

Name of the zone for this request. Zone name should conform to RFC1035.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"];

Returns
Type Description
ReportFaultyReservationSubBlockRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ReportFaultyReservationSubBlockRequest getDefaultInstanceForType()
Returns
Type Description
ReportFaultyReservationSubBlockRequest

getDescriptorForType()

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

getParentName()

public String getParentName()

The name of the parent reservation and parent block. In the format of reservations/{reservation_name}/reservationBlocks/{reservation_block_name}

string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The parentName.

getParentNameBytes()

public ByteString getParentNameBytes()

The name of the parent reservation and parent block. In the format of reservations/{reservation_name}/reservationBlocks/{reservation_block_name}

string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for parentName.

getProject()

public String getProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];

Returns
Type Description
ByteString

The bytes for project.

getRequestId()

public String getRequestId()

An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

optional string request_id = 37109963;

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

optional string request_id = 37109963;

Returns
Type Description
ByteString

The bytes for requestId.

getReservationSubBlock()

public String getReservationSubBlock()

The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.

string reservation_sub_block = 22750491 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The reservationSubBlock.

getReservationSubBlockBytes()

public ByteString getReservationSubBlockBytes()

The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.

string reservation_sub_block = 22750491 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for reservationSubBlock.

getReservationSubBlocksReportFaultyRequestResource()

public ReservationSubBlocksReportFaultyRequest getReservationSubBlocksReportFaultyRequestResource()

The body resource for this request

.google.cloud.compute.v1.ReservationSubBlocksReportFaultyRequest reservation_sub_blocks_report_faulty_request_resource = 450847938 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReservationSubBlocksReportFaultyRequest

The reservationSubBlocksReportFaultyRequestResource.

getReservationSubBlocksReportFaultyRequestResourceBuilder()

public ReservationSubBlocksReportFaultyRequest.Builder getReservationSubBlocksReportFaultyRequestResourceBuilder()

The body resource for this request

.google.cloud.compute.v1.ReservationSubBlocksReportFaultyRequest reservation_sub_blocks_report_faulty_request_resource = 450847938 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReservationSubBlocksReportFaultyRequest.Builder

getReservationSubBlocksReportFaultyRequestResourceOrBuilder()

public ReservationSubBlocksReportFaultyRequestOrBuilder getReservationSubBlocksReportFaultyRequestResourceOrBuilder()

The body resource for this request

.google.cloud.compute.v1.ReservationSubBlocksReportFaultyRequest reservation_sub_blocks_report_faulty_request_resource = 450847938 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReservationSubBlocksReportFaultyRequestOrBuilder

getZone()

public String getZone()

Name of the zone for this request. Zone name should conform to RFC1035.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"];

Returns
Type Description
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

Name of the zone for this request. Zone name should conform to RFC1035.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"];

Returns
Type Description
ByteString

The bytes for zone.