public final class UpdateReservationRequest extends GeneratedMessageV3 implements UpdateReservationRequestOrBuilder
Request for UpdateReservation.
Protobuf type google.cloud.pubsublite.v1.UpdateReservationRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpdateReservationRequestImplements
UpdateReservationRequestOrBuilderStatic Fields
RESERVATION_FIELD_NUMBER
public static final int RESERVATION_FIELD_NUMBER
Type | Description |
int |
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static UpdateReservationRequest getDefaultInstance()
Type | Description |
UpdateReservationRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static UpdateReservationRequest.Builder newBuilder()
Type | Description |
UpdateReservationRequest.Builder |
newBuilder(UpdateReservationRequest prototype)
public static UpdateReservationRequest.Builder newBuilder(UpdateReservationRequest prototype)
Name | Description |
prototype | UpdateReservationRequest |
Type | Description |
UpdateReservationRequest.Builder |
parseDelimitedFrom(InputStream input)
public static UpdateReservationRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
UpdateReservationRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateReservationRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateReservationRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static UpdateReservationRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
UpdateReservationRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateReservationRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateReservationRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static UpdateReservationRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
UpdateReservationRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateReservationRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateReservationRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static UpdateReservationRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
UpdateReservationRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateReservationRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateReservationRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static UpdateReservationRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
UpdateReservationRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateReservationRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateReservationRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static UpdateReservationRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
UpdateReservationRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateReservationRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateReservationRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<UpdateReservationRequest> parser()
Type | Description |
Parser<UpdateReservationRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public UpdateReservationRequest getDefaultInstanceForType()
Type | Description |
UpdateReservationRequest |
getParserForType()
public Parser<UpdateReservationRequest> getParserForType()
Type | Description |
Parser<UpdateReservationRequest> |
getReservation()
public Reservation getReservation()
Required. The reservation to update. Its name
field must be populated.
.google.cloud.pubsublite.v1.Reservation reservation = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Reservation | The reservation. |
getReservationOrBuilder()
public ReservationOrBuilder getReservationOrBuilder()
Required. The reservation to update. Its name
field must be populated.
.google.cloud.pubsublite.v1.Reservation reservation = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ReservationOrBuilder |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getUpdateMask()
public FieldMask getUpdateMask()
Required. A mask specifying the reservation fields to change.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
FieldMask | The updateMask. |
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. A mask specifying the reservation fields to change.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
FieldMaskOrBuilder |
hasReservation()
public boolean hasReservation()
Required. The reservation to update. Its name
field must be populated.
.google.cloud.pubsublite.v1.Reservation reservation = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the reservation field is set. |
hasUpdateMask()
public boolean hasUpdateMask()
Required. A mask specifying the reservation fields to change.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the updateMask field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public UpdateReservationRequest.Builder newBuilderForType()
Type | Description |
UpdateReservationRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateReservationRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
UpdateReservationRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public UpdateReservationRequest.Builder toBuilder()
Type | Description |
UpdateReservationRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |