public static final class ListMembershipsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListMembershipsRequest.Builder> implements ListMembershipsRequestOrBuilder
Request message for `GkeHubMembershipService.ListMemberships` method.Protobuf type
google.cloud.gkehub.v1beta1.ListMembershipsRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListMembershipsRequest.Builder>public ListMembershipsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListMembershipsRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListMembershipsRequest.Builder>public ListMembershipsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListMembershipsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListMembershipsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListMembershipsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListMembershipsRequest.Builder>public ListMembershipsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListMembershipsRequest.Builder>public ListMembershipsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListMembershipsRequest.Builder>public ListMembershipsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListMembershipsRequest.Builder>public ListMembershipsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListMembershipsRequest.Builder>public ListMembershipsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListMembershipsRequest.Builder>public ListMembershipsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListMembershipsRequest.Builder>public ListMembershipsRequest.Builder mergeFrom(ListMembershipsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListMembershipsRequest.Builder>public ListMembershipsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListMembershipsRequest.Builder>IOExceptionpublic String getParent()
Required. The parent (project and location) where the Memberships will be listed. Specified in the format `projects/*/locations/*`. `projects/*/locations/-` list memberships in all the regions.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface ListMembershipsRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The parent (project and location) where the Memberships will be listed. Specified in the format `projects/*/locations/*`. `projects/*/locations/-` list memberships in all the regions.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface ListMembershipsRequestOrBuilderpublic ListMembershipsRequest.Builder setParent(String value)
Required. The parent (project and location) where the Memberships will be listed. Specified in the format `projects/*/locations/*`. `projects/*/locations/-` list memberships in all the regions.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public ListMembershipsRequest.Builder clearParent()
Required. The parent (project and location) where the Memberships will be listed. Specified in the format `projects/*/locations/*`. `projects/*/locations/-` list memberships in all the regions.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListMembershipsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The parent (project and location) where the Memberships will be listed. Specified in the format `projects/*/locations/*`. `projects/*/locations/-` list memberships in all the regions.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.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.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];getPageSize in interface ListMembershipsRequestOrBuilderpublic ListMembershipsRequest.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.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];value - The pageSize to set.public ListMembershipsRequest.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.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];public String getPageToken()
Optional. Token returned by previous call to `ListMemberships` which specifies the position in the list from where to continue listing the resources.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];getPageToken in interface ListMembershipsRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
Optional. Token returned by previous call to `ListMemberships` which specifies the position in the list from where to continue listing the resources.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];getPageTokenBytes in interface ListMembershipsRequestOrBuilderpublic ListMembershipsRequest.Builder setPageToken(String value)
Optional. Token returned by previous call to `ListMemberships` which specifies the position in the list from where to continue listing the resources.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];value - The pageToken to set.public ListMembershipsRequest.Builder clearPageToken()
Optional. Token returned by previous call to `ListMemberships` which specifies the position in the list from where to continue listing the resources.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];public ListMembershipsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
Optional. Token returned by previous call to `ListMemberships` which specifies the position in the list from where to continue listing the resources.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for pageToken to set.public String getFilter()
Optional. Lists Memberships that match the filter expression, following the
syntax outlined in https://google.aip.dev/160.
Examples:
- Name is `bar` in project `foo-proj` and location `global`:
name = "projects/foo-proj/locations/global/membership/bar"
- Memberships that have a label called `foo`:
labels.foo:*
- Memberships that have a label called `foo` whose value is `bar`:
labels.foo = bar
- Memberships in the CREATING state:
state = CREATING
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];getFilter in interface ListMembershipsRequestOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
Optional. Lists Memberships that match the filter expression, following the
syntax outlined in https://google.aip.dev/160.
Examples:
- Name is `bar` in project `foo-proj` and location `global`:
name = "projects/foo-proj/locations/global/membership/bar"
- Memberships that have a label called `foo`:
labels.foo:*
- Memberships that have a label called `foo` whose value is `bar`:
labels.foo = bar
- Memberships in the CREATING state:
state = CREATING
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];getFilterBytes in interface ListMembershipsRequestOrBuilderpublic ListMembershipsRequest.Builder setFilter(String value)
Optional. Lists Memberships that match the filter expression, following the
syntax outlined in https://google.aip.dev/160.
Examples:
- Name is `bar` in project `foo-proj` and location `global`:
name = "projects/foo-proj/locations/global/membership/bar"
- Memberships that have a label called `foo`:
labels.foo:*
- Memberships that have a label called `foo` whose value is `bar`:
labels.foo = bar
- Memberships in the CREATING state:
state = CREATING
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];value - The filter to set.public ListMembershipsRequest.Builder clearFilter()
Optional. Lists Memberships that match the filter expression, following the
syntax outlined in https://google.aip.dev/160.
Examples:
- Name is `bar` in project `foo-proj` and location `global`:
name = "projects/foo-proj/locations/global/membership/bar"
- Memberships that have a label called `foo`:
labels.foo:*
- Memberships that have a label called `foo` whose value is `bar`:
labels.foo = bar
- Memberships in the CREATING state:
state = CREATING
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];public ListMembershipsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
Optional. Lists Memberships that match the filter expression, following the
syntax outlined in https://google.aip.dev/160.
Examples:
- Name is `bar` in project `foo-proj` and location `global`:
name = "projects/foo-proj/locations/global/membership/bar"
- Memberships that have a label called `foo`:
labels.foo:*
- Memberships that have a label called `foo` whose value is `bar`:
labels.foo = bar
- Memberships in the CREATING state:
state = CREATING
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for filter to set.public String getOrderBy()
Optional. One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];getOrderBy in interface ListMembershipsRequestOrBuilderpublic com.google.protobuf.ByteString getOrderByBytes()
Optional. One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];getOrderByBytes in interface ListMembershipsRequestOrBuilderpublic ListMembershipsRequest.Builder setOrderBy(String value)
Optional. One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];value - The orderBy to set.public ListMembershipsRequest.Builder clearOrderBy()
Optional. One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];public ListMembershipsRequest.Builder setOrderByBytes(com.google.protobuf.ByteString value)
Optional. One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for orderBy to set.public final ListMembershipsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListMembershipsRequest.Builder>public final ListMembershipsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListMembershipsRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.