Class ListDataPoliciesRequest.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<ListDataPoliciesRequest.Builder>
      • clear

        public ListDataPoliciesRequest.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<ListDataPoliciesRequest.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<ListDataPoliciesRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public ListDataPoliciesRequest.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<ListDataPoliciesRequest.Builder>
      • clearField

        public ListDataPoliciesRequest.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<ListDataPoliciesRequest.Builder>
      • clearOneof

        public ListDataPoliciesRequest.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<ListDataPoliciesRequest.Builder>
      • setRepeatedField

        public ListDataPoliciesRequest.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<ListDataPoliciesRequest.Builder>
      • addRepeatedField

        public ListDataPoliciesRequest.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<ListDataPoliciesRequest.Builder>
      • isInitialized

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

        public ListDataPoliciesRequest.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<ListDataPoliciesRequest.Builder>
        Throws:
        IOException
      • getParent

        public String getParent()
         Required. Resource name of the project for which to list data policies.
         Format is `projects/{project_number}/locations/{location_id}`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface ListDataPoliciesRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. Resource name of the project for which to list data policies.
         Format is `projects/{project_number}/locations/{location_id}`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface ListDataPoliciesRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public ListDataPoliciesRequest.Builder setParent​(String value)
         Required. Resource name of the project for which to list data policies.
         Format is `projects/{project_number}/locations/{location_id}`.
         
        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 ListDataPoliciesRequest.Builder clearParent()
         Required. Resource name of the project for which to list data policies.
         Format is `projects/{project_number}/locations/{location_id}`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public ListDataPoliciesRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. Resource name of the project for which to list data policies.
         Format is `projects/{project_number}/locations/{location_id}`.
         
        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()
         The maximum number of data policies to return. Must be a value between 1
         and 1000.
         If not set, defaults to 50.
         
        int32 page_size = 2;
        Specified by:
        getPageSize in interface ListDataPoliciesRequestOrBuilder
        Returns:
        The pageSize.
      • setPageSize

        public ListDataPoliciesRequest.Builder setPageSize​(int value)
         The maximum number of data policies to return. Must be a value between 1
         and 1000.
         If not set, defaults to 50.
         
        int32 page_size = 2;
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • clearPageSize

        public ListDataPoliciesRequest.Builder clearPageSize()
         The maximum number of data policies to return. Must be a value between 1
         and 1000.
         If not set, defaults to 50.
         
        int32 page_size = 2;
        Returns:
        This builder for chaining.
      • getPageToken

        public String getPageToken()
         The `nextPageToken` value returned from a previous list request, if any. If
         not set, defaults to an empty string.
         
        string page_token = 3;
        Specified by:
        getPageToken in interface ListDataPoliciesRequestOrBuilder
        Returns:
        The pageToken.
      • getPageTokenBytes

        public com.google.protobuf.ByteString getPageTokenBytes()
         The `nextPageToken` value returned from a previous list request, if any. If
         not set, defaults to an empty string.
         
        string page_token = 3;
        Specified by:
        getPageTokenBytes in interface ListDataPoliciesRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public ListDataPoliciesRequest.Builder setPageToken​(String value)
         The `nextPageToken` value returned from a previous list request, if any. If
         not set, defaults to an empty string.
         
        string page_token = 3;
        Parameters:
        value - The pageToken to set.
        Returns:
        This builder for chaining.
      • clearPageToken

        public ListDataPoliciesRequest.Builder clearPageToken()
         The `nextPageToken` value returned from a previous list request, if any. If
         not set, defaults to an empty string.
         
        string page_token = 3;
        Returns:
        This builder for chaining.
      • setPageTokenBytes

        public ListDataPoliciesRequest.Builder setPageTokenBytes​(com.google.protobuf.ByteString value)
         The `nextPageToken` value returned from a previous list request, if any. If
         not set, defaults to an empty string.
         
        string page_token = 3;
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.
      • getFilter

        public String getFilter()
         Filters the data policies by policy tags that they
         are associated with. Currently filter only supports
         "policy<span></span>_tag" based filtering and OR based predicates. Sample
         filter can be "policy<span></span>_tag:
         projects/1/locations/us/taxonomies/2/policyTags/3".
         You may also use wildcard such as "policy<span></span>_tag:
         projects/1/locations/us/taxonomies/2*". Please note that OR predicates
         cannot be used with wildcard filters.
         
        string filter = 4;
        Specified by:
        getFilter in interface ListDataPoliciesRequestOrBuilder
        Returns:
        The filter.
      • getFilterBytes

        public com.google.protobuf.ByteString getFilterBytes()
         Filters the data policies by policy tags that they
         are associated with. Currently filter only supports
         "policy<span></span>_tag" based filtering and OR based predicates. Sample
         filter can be "policy<span></span>_tag:
         projects/1/locations/us/taxonomies/2/policyTags/3".
         You may also use wildcard such as "policy<span></span>_tag:
         projects/1/locations/us/taxonomies/2*". Please note that OR predicates
         cannot be used with wildcard filters.
         
        string filter = 4;
        Specified by:
        getFilterBytes in interface ListDataPoliciesRequestOrBuilder
        Returns:
        The bytes for filter.
      • setFilter

        public ListDataPoliciesRequest.Builder setFilter​(String value)
         Filters the data policies by policy tags that they
         are associated with. Currently filter only supports
         "policy<span></span>_tag" based filtering and OR based predicates. Sample
         filter can be "policy<span></span>_tag:
         projects/1/locations/us/taxonomies/2/policyTags/3".
         You may also use wildcard such as "policy<span></span>_tag:
         projects/1/locations/us/taxonomies/2*". Please note that OR predicates
         cannot be used with wildcard filters.
         
        string filter = 4;
        Parameters:
        value - The filter to set.
        Returns:
        This builder for chaining.
      • clearFilter

        public ListDataPoliciesRequest.Builder clearFilter()
         Filters the data policies by policy tags that they
         are associated with. Currently filter only supports
         "policy<span></span>_tag" based filtering and OR based predicates. Sample
         filter can be "policy<span></span>_tag:
         projects/1/locations/us/taxonomies/2/policyTags/3".
         You may also use wildcard such as "policy<span></span>_tag:
         projects/1/locations/us/taxonomies/2*". Please note that OR predicates
         cannot be used with wildcard filters.
         
        string filter = 4;
        Returns:
        This builder for chaining.
      • setFilterBytes

        public ListDataPoliciesRequest.Builder setFilterBytes​(com.google.protobuf.ByteString value)
         Filters the data policies by policy tags that they
         are associated with. Currently filter only supports
         "policy<span></span>_tag" based filtering and OR based predicates. Sample
         filter can be "policy<span></span>_tag:
         projects/1/locations/us/taxonomies/2/policyTags/3".
         You may also use wildcard such as "policy<span></span>_tag:
         projects/1/locations/us/taxonomies/2*". Please note that OR predicates
         cannot be used with wildcard filters.
         
        string filter = 4;
        Parameters:
        value - The bytes for filter to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ListDataPoliciesRequest.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<ListDataPoliciesRequest.Builder>
      • mergeUnknownFields

        public final ListDataPoliciesRequest.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<ListDataPoliciesRequest.Builder>