public static final class ListBoundMembershipsRequest.Builder extends GeneratedMessage.Builder<ListBoundMembershipsRequest.Builder> implements ListBoundMembershipsRequestOrBuilderRequest to list Memberships bound to a Scope.
Protobuf type google.cloud.gkehub.v1.ListBoundMembershipsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListBoundMembershipsRequest.BuilderImplements
ListBoundMembershipsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ListBoundMembershipsRequest build()| Returns | |
|---|---|
| Type | Description |
ListBoundMembershipsRequest |
|
buildPartial()
public ListBoundMembershipsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ListBoundMembershipsRequest |
|
clear()
public ListBoundMembershipsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListBoundMembershipsRequest.Builder |
|
clearFilter()
public ListBoundMembershipsRequest.Builder clearFilter() Optional. Lists Memberships that match the filter expression, following the
syntax outlined in https://google.aip.dev/160. Currently, filtering
can be done only based on Memberships's name, labels, create_time,
update_time, and unique_id.
string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ListBoundMembershipsRequest.Builder |
This builder for chaining. |
clearPageSize()
public ListBoundMembershipsRequest.Builder clearPageSize() Optional. When requesting a 'page' of resources, page_size specifies
number of resources to return. If unspecified or set to 0, all resources
will be returned. Pagination is currently not supported; therefore, setting
this field does not have any impact for now.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ListBoundMembershipsRequest.Builder |
This builder for chaining. |
clearPageToken()
public ListBoundMembershipsRequest.Builder clearPageToken() Optional. Token returned by previous call to ListBoundMemberships which
specifies the position in the list from where to continue listing the
resources.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ListBoundMembershipsRequest.Builder |
This builder for chaining. |
clearScopeName()
public ListBoundMembershipsRequest.Builder clearScopeName() Required. Name of the Scope, in the format
projects/*/locations/global/scopes/*, to which the Memberships are bound.
string scope_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ListBoundMembershipsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListBoundMembershipsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListBoundMembershipsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFilter()
public String getFilter() Optional. Lists Memberships that match the filter expression, following the
syntax outlined in https://google.aip.dev/160. Currently, filtering
can be done only based on Memberships's name, labels, create_time,
update_time, and unique_id.
string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The filter. |
getFilterBytes()
public ByteString getFilterBytes() Optional. Lists Memberships that match the filter expression, following the
syntax outlined in https://google.aip.dev/160. Currently, filtering
can be done only based on Memberships's name, labels, create_time,
update_time, and unique_id.
string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for filter. |
getPageSize()
public int getPageSize() Optional. When requesting a 'page' of resources, page_size specifies
number of resources to return. If unspecified or set to 0, all resources
will be returned. Pagination is currently not supported; therefore, setting
this field does not have any impact for now.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken() Optional. Token returned by previous call to ListBoundMemberships which
specifies the position in the list from where to continue listing the
resources.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes() Optional. Token returned by previous call to ListBoundMemberships which
specifies the position in the list from where to continue listing the
resources.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
getScopeName()
public String getScopeName() Required. Name of the Scope, in the format
projects/*/locations/global/scopes/*, to which the Memberships are bound.
string scope_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The scopeName. |
getScopeNameBytes()
public ByteString getScopeNameBytes() Required. Name of the Scope, in the format
projects/*/locations/global/scopes/*, to which the Memberships are bound.
string scope_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for scopeName. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListBoundMembershipsRequest other)
public ListBoundMembershipsRequest.Builder mergeFrom(ListBoundMembershipsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ListBoundMembershipsRequest |
| Returns | |
|---|---|
| Type | Description |
ListBoundMembershipsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListBoundMembershipsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListBoundMembershipsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListBoundMembershipsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListBoundMembershipsRequest.Builder |
|
setFilter(String value)
public ListBoundMembershipsRequest.Builder setFilter(String value) Optional. Lists Memberships that match the filter expression, following the
syntax outlined in https://google.aip.dev/160. Currently, filtering
can be done only based on Memberships's name, labels, create_time,
update_time, and unique_id.
string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe filter to set. |
| Returns | |
|---|---|
| Type | Description |
ListBoundMembershipsRequest.Builder |
This builder for chaining. |
setFilterBytes(ByteString value)
public ListBoundMembershipsRequest.Builder setFilterBytes(ByteString value) Optional. Lists Memberships that match the filter expression, following the
syntax outlined in https://google.aip.dev/160. Currently, filtering
can be done only based on Memberships's name, labels, create_time,
update_time, and unique_id.
string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for filter to set. |
| Returns | |
|---|---|
| Type | Description |
ListBoundMembershipsRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public ListBoundMembershipsRequest.Builder setPageSize(int value) Optional. When requesting a 'page' of resources, page_size specifies
number of resources to return. If unspecified or set to 0, all resources
will be returned. Pagination is currently not supported; therefore, setting
this field does not have any impact for now.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListBoundMembershipsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public ListBoundMembershipsRequest.Builder setPageToken(String value) Optional. Token returned by previous call to ListBoundMemberships which
specifies the position in the list from where to continue listing the
resources.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListBoundMembershipsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListBoundMembershipsRequest.Builder setPageTokenBytes(ByteString value) Optional. Token returned by previous call to ListBoundMemberships which
specifies the position in the list from where to continue listing the
resources.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListBoundMembershipsRequest.Builder |
This builder for chaining. |
setScopeName(String value)
public ListBoundMembershipsRequest.Builder setScopeName(String value) Required. Name of the Scope, in the format
projects/*/locations/global/scopes/*, to which the Memberships are bound.
string scope_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe scopeName to set. |
| Returns | |
|---|---|
| Type | Description |
ListBoundMembershipsRequest.Builder |
This builder for chaining. |
setScopeNameBytes(ByteString value)
public ListBoundMembershipsRequest.Builder setScopeNameBytes(ByteString value) Required. Name of the Scope, in the format
projects/*/locations/global/scopes/*, to which the Memberships are bound.
string scope_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for scopeName to set. |
| Returns | |
|---|---|
| Type | Description |
ListBoundMembershipsRequest.Builder |
This builder for chaining. |