public final class ListInstancesRequest extends GeneratedMessageV3 implements ListInstancesRequestOrBuilder
The request for [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances].Protobuf type
google.spanner.admin.instance.v1.ListInstancesRequest| Modifier and Type | Class and Description |
|---|---|
static class |
ListInstancesRequest.Builder
The request for [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances].
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
FILTER_FIELD_NUMBER |
static int |
PAGE_SIZE_FIELD_NUMBER |
static int |
PAGE_TOKEN_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static ListInstancesRequest |
getDefaultInstance() |
ListInstancesRequest |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getFilter()
An expression for filtering the results of the request.
|
ByteString |
getFilterBytes()
An expression for filtering the results of the request.
|
int |
getPageSize()
Number of instances to be returned in the response.
|
java.lang.String |
getPageToken()
If non-empty, `page_token` should contain a
[next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token] from a
previous [ListInstancesResponse][google.spanner.admin.instance.v1.ListInstancesResponse].
|
ByteString |
getPageTokenBytes()
If non-empty, `page_token` should contain a
[next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token] from a
previous [ListInstancesResponse][google.spanner.admin.instance.v1.ListInstancesResponse].
|
java.lang.String |
getParent()
Required.
|
ByteString |
getParentBytes()
Required.
|
Parser<ListInstancesRequest> |
getParserForType() |
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ListInstancesRequest.Builder |
newBuilder() |
static ListInstancesRequest.Builder |
newBuilder(ListInstancesRequest prototype) |
ListInstancesRequest.Builder |
newBuilderForType() |
protected ListInstancesRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static ListInstancesRequest |
parseDelimitedFrom(java.io.InputStream input) |
static ListInstancesRequest |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static ListInstancesRequest |
parseFrom(byte[] data) |
static ListInstancesRequest |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static ListInstancesRequest |
parseFrom(java.nio.ByteBuffer data) |
static ListInstancesRequest |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static ListInstancesRequest |
parseFrom(ByteString data) |
static ListInstancesRequest |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static ListInstancesRequest |
parseFrom(CodedInputStream input) |
static ListInstancesRequest |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static ListInstancesRequest |
parseFrom(java.io.InputStream input) |
static ListInstancesRequest |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<ListInstancesRequest> |
parser() |
ListInstancesRequest.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int PARENT_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public java.lang.String getParent()
Required. The name of the project for which a list of instances is requested. Values are of the form `projects/<project>`.
string parent = 1;getParent in interface ListInstancesRequestOrBuilderpublic ByteString getParentBytes()
Required. The name of the project for which a list of instances is requested. Values are of the form `projects/<project>`.
string parent = 1;getParentBytes in interface ListInstancesRequestOrBuilderpublic int getPageSize()
Number of instances to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
int32 page_size = 2;getPageSize in interface ListInstancesRequestOrBuilderpublic java.lang.String getPageToken()
If non-empty, `page_token` should contain a [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token] from a previous [ListInstancesResponse][google.spanner.admin.instance.v1.ListInstancesResponse].
string page_token = 3;getPageToken in interface ListInstancesRequestOrBuilderpublic ByteString getPageTokenBytes()
If non-empty, `page_token` should contain a [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token] from a previous [ListInstancesResponse][google.spanner.admin.instance.v1.ListInstancesResponse].
string page_token = 3;getPageTokenBytes in interface ListInstancesRequestOrBuilderpublic java.lang.String getFilter()
An expression for filtering the results of the request. Filter rules are
case insensitive. The fields eligible for filtering are:
* `name`
* `display_name`
* `labels.key` where key is the name of a label
Some examples of using filters are:
* `name:*` --> The instance has a name.
* `name:Howl` --> The instance's name contains the string "howl".
* `name:HOWL` --> Equivalent to above.
* `NAME:howl` --> Equivalent to above.
* `labels.env:*` --> The instance has the label "env".
* `labels.env:dev` --> The instance has the label "env" and the value of
the label contains the string "dev".
* `name:howl labels.env:dev` --> The instance's name contains "howl" and
it has the label "env" with its value
containing "dev".
string filter = 4;getFilter in interface ListInstancesRequestOrBuilderpublic ByteString getFilterBytes()
An expression for filtering the results of the request. Filter rules are
case insensitive. The fields eligible for filtering are:
* `name`
* `display_name`
* `labels.key` where key is the name of a label
Some examples of using filters are:
* `name:*` --> The instance has a name.
* `name:Howl` --> The instance's name contains the string "howl".
* `name:HOWL` --> Equivalent to above.
* `NAME:howl` --> Equivalent to above.
* `labels.env:*` --> The instance has the label "env".
* `labels.env:dev` --> The instance has the label "env" and the value of
the label contains the string "dev".
* `name:howl labels.env:dev` --> The instance's name contains "howl" and
it has the label "env" with its value
containing "dev".
string filter = 4;getFilterBytes in interface ListInstancesRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static ListInstancesRequest parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ListInstancesRequest parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ListInstancesRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ListInstancesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ListInstancesRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ListInstancesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ListInstancesRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ListInstancesRequest parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ListInstancesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ListInstancesRequest parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ListInstancesRequest parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ListInstancesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic ListInstancesRequest.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static ListInstancesRequest.Builder newBuilder()
public static ListInstancesRequest.Builder newBuilder(ListInstancesRequest prototype)
public ListInstancesRequest.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected ListInstancesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static ListInstancesRequest getDefaultInstance()
public static Parser<ListInstancesRequest> parser()
public Parser<ListInstancesRequest> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public ListInstancesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder