public static final class DeleteReservationRequest.Builder extends GeneratedMessageV3.Builder<DeleteReservationRequest.Builder> implements DeleteReservationRequestOrBuilder
Request for DeleteReservation.
Protobuf type google.cloud.pubsublite.v1.DeleteReservationRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeleteReservationRequest.BuilderImplements
DeleteReservationRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeleteReservationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DeleteReservationRequest.Builder |
build()
public DeleteReservationRequest build()
Type | Description |
DeleteReservationRequest |
buildPartial()
public DeleteReservationRequest buildPartial()
Type | Description |
DeleteReservationRequest |
clear()
public DeleteReservationRequest.Builder clear()
Type | Description |
DeleteReservationRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public DeleteReservationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
DeleteReservationRequest.Builder |
clearName()
public DeleteReservationRequest.Builder clearName()
Required. The name of the reservation to delete. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
DeleteReservationRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DeleteReservationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DeleteReservationRequest.Builder |
clone()
public DeleteReservationRequest.Builder clone()
Type | Description |
DeleteReservationRequest.Builder |
getDefaultInstanceForType()
public DeleteReservationRequest getDefaultInstanceForType()
Type | Description |
DeleteReservationRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
Required. The name of the reservation to delete. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Required. The name of the reservation to delete. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(DeleteReservationRequest other)
public DeleteReservationRequest.Builder mergeFrom(DeleteReservationRequest other)
Name | Description |
other | DeleteReservationRequest |
Type | Description |
DeleteReservationRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteReservationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DeleteReservationRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DeleteReservationRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DeleteReservationRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeleteReservationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeleteReservationRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DeleteReservationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DeleteReservationRequest.Builder |
setName(String value)
public DeleteReservationRequest.Builder setName(String value)
Required. The name of the reservation to delete. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The name to set. |
Type | Description |
DeleteReservationRequest.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public DeleteReservationRequest.Builder setNameBytes(ByteString value)
Required. The name of the reservation to delete. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
DeleteReservationRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeleteReservationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DeleteReservationRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DeleteReservationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeleteReservationRequest.Builder |