Class ListMembershipsRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListMembershipsRequest.Builder>
      • clear

        public ListMembershipsRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ListMembershipsRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListMembershipsRequest.Builder>
      • getDefaultInstanceForType

        public ListMembershipsRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ListMembershipsRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ListMembershipsRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public ListMembershipsRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ListMembershipsRequest.Builder>
      • clearField

        public ListMembershipsRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListMembershipsRequest.Builder>
      • clearOneof

        public ListMembershipsRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListMembershipsRequest.Builder>
      • setRepeatedField

        public ListMembershipsRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               int index,
                                                               Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListMembershipsRequest.Builder>
      • addRepeatedField

        public ListMembershipsRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListMembershipsRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListMembershipsRequest.Builder>
      • mergeFrom

        public ListMembershipsRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListMembershipsRequest.Builder>
        Throws:
        IOException
      • getParent

        public 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) = { ... }
        Specified by:
        getParent in interface ListMembershipsRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public 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) = { ... }
        Specified by:
        getParentBytes in interface ListMembershipsRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public 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) = { ... }
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        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) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        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) = { ... }
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • 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.
         
        int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPageSize in interface ListMembershipsRequestOrBuilder
        Returns:
        The pageSize.
      • setPageSize

        public 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];
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • clearPageSize

        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];
        Returns:
        This builder for chaining.
      • getPageToken

        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];
        Specified by:
        getPageToken in interface ListMembershipsRequestOrBuilder
        Returns:
        The pageToken.
      • getPageTokenBytes

        public 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];
        Specified by:
        getPageTokenBytes in interface ListMembershipsRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public 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];
        Parameters:
        value - The pageToken to set.
        Returns:
        This builder for chaining.
      • clearPageToken

        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];
        Returns:
        This builder for chaining.
      • setPageTokenBytes

        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];
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.
      • getFilter

        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];
        Specified by:
        getFilter in interface ListMembershipsRequestOrBuilder
        Returns:
        The filter.
      • getFilterBytes

        public 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];
        Specified by:
        getFilterBytes in interface ListMembershipsRequestOrBuilder
        Returns:
        The bytes for filter.
      • setFilter

        public 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];
        Parameters:
        value - The filter to set.
        Returns:
        This builder for chaining.
      • clearFilter

        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];
        Returns:
        This builder for chaining.
      • setFilterBytes

        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];
        Parameters:
        value - The bytes for filter to set.
        Returns:
        This builder for chaining.
      • getOrderBy

        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];
        Specified by:
        getOrderBy in interface ListMembershipsRequestOrBuilder
        Returns:
        The orderBy.
      • getOrderByBytes

        public 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];
        Specified by:
        getOrderByBytes in interface ListMembershipsRequestOrBuilder
        Returns:
        The bytes for orderBy.
      • setOrderBy

        public 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];
        Parameters:
        value - The orderBy to set.
        Returns:
        This builder for chaining.
      • clearOrderBy

        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];
        Returns:
        This builder for chaining.
      • setOrderByBytes

        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];
        Parameters:
        value - The bytes for orderBy to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ListMembershipsRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListMembershipsRequest.Builder>
      • mergeUnknownFields

        public final ListMembershipsRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListMembershipsRequest.Builder>