public static final class ListInstancesRequest.Builder extends GeneratedMessageV3.Builder<ListInstancesRequest.Builder> implements ListInstancesRequestOrBuilder
The request for [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances].Protobuf type
google.spanner.admin.instance.v1.ListInstancesRequest
Modifier and Type | Method and Description |
---|---|
ListInstancesRequest.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
ListInstancesRequest |
build() |
ListInstancesRequest |
buildPartial() |
ListInstancesRequest.Builder |
clear() |
ListInstancesRequest.Builder |
clearField(Descriptors.FieldDescriptor field) |
ListInstancesRequest.Builder |
clearFilter()
An expression for filtering the results of the request.
|
ListInstancesRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ListInstancesRequest.Builder |
clearPageSize()
Number of instances to be returned in the response.
|
ListInstancesRequest.Builder |
clearPageToken()
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].
|
ListInstancesRequest.Builder |
clearParent()
Required.
|
ListInstancesRequest.Builder |
clone() |
ListInstancesRequest |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
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.
|
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].
|
String |
getParent()
Required.
|
ByteString |
getParentBytes()
Required.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListInstancesRequest.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ListInstancesRequest.Builder |
mergeFrom(ListInstancesRequest other) |
ListInstancesRequest.Builder |
mergeFrom(Message other) |
ListInstancesRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ListInstancesRequest.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
ListInstancesRequest.Builder |
setFilter(String value)
An expression for filtering the results of the request.
|
ListInstancesRequest.Builder |
setFilterBytes(ByteString value)
An expression for filtering the results of the request.
|
ListInstancesRequest.Builder |
setPageSize(int value)
Number of instances to be returned in the response.
|
ListInstancesRequest.Builder |
setPageToken(String value)
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].
|
ListInstancesRequest.Builder |
setPageTokenBytes(ByteString value)
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].
|
ListInstancesRequest.Builder |
setParent(String value)
Required.
|
ListInstancesRequest.Builder |
setParentBytes(ByteString value)
Required.
|
ListInstancesRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
ListInstancesRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListInstancesRequest.Builder>
public ListInstancesRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListInstancesRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListInstancesRequest.Builder>
public ListInstancesRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListInstancesRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListInstancesRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListInstancesRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListInstancesRequest.Builder>
public ListInstancesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListInstancesRequest.Builder>
public ListInstancesRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListInstancesRequest.Builder>
public ListInstancesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListInstancesRequest.Builder>
public ListInstancesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListInstancesRequest.Builder>
public ListInstancesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListInstancesRequest.Builder>
public ListInstancesRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListInstancesRequest.Builder>
public ListInstancesRequest.Builder mergeFrom(ListInstancesRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListInstancesRequest.Builder>
public ListInstancesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListInstancesRequest.Builder>
IOException
public 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent
in interface ListInstancesRequestOrBuilder
public 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes
in interface ListInstancesRequestOrBuilder
public ListInstancesRequest.Builder setParent(String value)
Required. The name of the project for which a list of instances is requested. Values are of the form `projects/<project>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The parent to set.public ListInstancesRequest.Builder clearParent()
Required. The name of the project for which a list of instances is requested. Values are of the form `projects/<project>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListInstancesRequest.Builder setParentBytes(ByteString value)
Required. The name of the project for which a list of instances is requested. Values are of the form `projects/<project>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The bytes for parent to set.public 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 ListInstancesRequestOrBuilder
public ListInstancesRequest.Builder setPageSize(int value)
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;
value
- The pageSize to set.public ListInstancesRequest.Builder clearPageSize()
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;
public 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 ListInstancesRequestOrBuilder
public 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 ListInstancesRequestOrBuilder
public ListInstancesRequest.Builder setPageToken(String value)
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;
value
- The pageToken to set.public ListInstancesRequest.Builder clearPageToken()
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;
public ListInstancesRequest.Builder setPageTokenBytes(ByteString value)
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;
value
- The bytes for pageToken to set.public 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 ListInstancesRequestOrBuilder
public 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 ListInstancesRequestOrBuilder
public ListInstancesRequest.Builder setFilter(String value)
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;
value
- The filter to set.public ListInstancesRequest.Builder clearFilter()
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;
public ListInstancesRequest.Builder setFilterBytes(ByteString value)
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;
value
- The bytes for filter to set.public final ListInstancesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListInstancesRequest.Builder>
public final ListInstancesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListInstancesRequest.Builder>
Copyright © 2022 Google LLC. All rights reserved.