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