public final class ListReservationsRequest extends GeneratedMessageV3 implements ListReservationsRequestOrBuilder
Request for ListReservations.
Protobuf type google.cloud.pubsublite.v1.ListReservationsRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListReservationsRequestImplements
ListReservationsRequestOrBuilderStatic Fields
PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER
Type | Description |
int |
PAGE_TOKEN_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER
Type | Description |
int |
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ListReservationsRequest getDefaultInstance()
Type | Description |
ListReservationsRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ListReservationsRequest.Builder newBuilder()
Type | Description |
ListReservationsRequest.Builder |
newBuilder(ListReservationsRequest prototype)
public static ListReservationsRequest.Builder newBuilder(ListReservationsRequest prototype)
Name | Description |
prototype | ListReservationsRequest |
Type | Description |
ListReservationsRequest.Builder |
parseDelimitedFrom(InputStream input)
public static ListReservationsRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ListReservationsRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListReservationsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListReservationsRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ListReservationsRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ListReservationsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListReservationsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListReservationsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ListReservationsRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ListReservationsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListReservationsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListReservationsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ListReservationsRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ListReservationsRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListReservationsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListReservationsRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ListReservationsRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ListReservationsRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListReservationsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListReservationsRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ListReservationsRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ListReservationsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListReservationsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListReservationsRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ListReservationsRequest> parser()
Type | Description |
Parser<ListReservationsRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public ListReservationsRequest getDefaultInstanceForType()
Type | Description |
ListReservationsRequest |
getPageSize()
public int getPageSize()
The maximum number of reservations to return. The service may return fewer than this value. If unset or zero, all reservations for the parent will be returned.
int32 page_size = 2;
Type | Description |
int | The pageSize. |
getPageToken()
public String getPageToken()
A page token, received from a previous ListReservations
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListReservations
must
match the call that provided the page token.
string page_token = 3;
Type | Description |
String | The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()
A page token, received from a previous ListReservations
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListReservations
must
match the call that provided the page token.
string page_token = 3;
Type | Description |
ByteString | The bytes for pageToken. |
getParent()
public String getParent()
Required. The parent whose reservations are to be listed.
Structured like projects/{project_number}/locations/{location}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The parent whose reservations are to be listed.
Structured like projects/{project_number}/locations/{location}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for parent. |
getParserForType()
public Parser<ListReservationsRequest> getParserForType()
Type | Description |
Parser<ListReservationsRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
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 ListReservationsRequest.Builder newBuilderForType()
Type | Description |
ListReservationsRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListReservationsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ListReservationsRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ListReservationsRequest.Builder toBuilder()
Type | Description |
ListReservationsRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |