Class ListApprovalRequestsMessage.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<ListApprovalRequestsMessage.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<ListApprovalRequestsMessage.Builder>
      • getDefaultInstanceForType

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

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

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

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

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

        public String getParent()
         The parent resource. This may be "projects/{project}",
         "folders/{folder}", or "organizations/{organization}".
         
        string parent = 1 [(.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface ListApprovalRequestsMessageOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         The parent resource. This may be "projects/{project}",
         "folders/{folder}", or "organizations/{organization}".
         
        string parent = 1 [(.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface ListApprovalRequestsMessageOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public ListApprovalRequestsMessage.Builder setParent​(String value)
         The parent resource. This may be "projects/{project}",
         "folders/{folder}", or "organizations/{organization}".
         
        string parent = 1 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public ListApprovalRequestsMessage.Builder clearParent()
         The parent resource. This may be "projects/{project}",
         "folders/{folder}", or "organizations/{organization}".
         
        string parent = 1 [(.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public ListApprovalRequestsMessage.Builder setParentBytes​(com.google.protobuf.ByteString value)
         The parent resource. This may be "projects/{project}",
         "folders/{folder}", or "organizations/{organization}".
         
        string parent = 1 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • getFilter

        public String getFilter()
         A filter on the type of approval requests to retrieve. Must be one of the
         following values:
        
           * [not set]: Requests that are pending or have active approvals.
           * ALL: All requests.
           * PENDING: Only pending requests.
           * ACTIVE: Only active (i.e. currently approved) requests.
           * DISMISSED: Only requests that have been dismissed, or requests that
             are not approved and past expiration.
           * EXPIRED: Only requests that have been approved, and the approval has
             expired.
           * HISTORY: Active, dismissed and expired requests.
         
        string filter = 2;
        Specified by:
        getFilter in interface ListApprovalRequestsMessageOrBuilder
        Returns:
        The filter.
      • getFilterBytes

        public com.google.protobuf.ByteString getFilterBytes()
         A filter on the type of approval requests to retrieve. Must be one of the
         following values:
        
           * [not set]: Requests that are pending or have active approvals.
           * ALL: All requests.
           * PENDING: Only pending requests.
           * ACTIVE: Only active (i.e. currently approved) requests.
           * DISMISSED: Only requests that have been dismissed, or requests that
             are not approved and past expiration.
           * EXPIRED: Only requests that have been approved, and the approval has
             expired.
           * HISTORY: Active, dismissed and expired requests.
         
        string filter = 2;
        Specified by:
        getFilterBytes in interface ListApprovalRequestsMessageOrBuilder
        Returns:
        The bytes for filter.
      • setFilter

        public ListApprovalRequestsMessage.Builder setFilter​(String value)
         A filter on the type of approval requests to retrieve. Must be one of the
         following values:
        
           * [not set]: Requests that are pending or have active approvals.
           * ALL: All requests.
           * PENDING: Only pending requests.
           * ACTIVE: Only active (i.e. currently approved) requests.
           * DISMISSED: Only requests that have been dismissed, or requests that
             are not approved and past expiration.
           * EXPIRED: Only requests that have been approved, and the approval has
             expired.
           * HISTORY: Active, dismissed and expired requests.
         
        string filter = 2;
        Parameters:
        value - The filter to set.
        Returns:
        This builder for chaining.
      • clearFilter

        public ListApprovalRequestsMessage.Builder clearFilter()
         A filter on the type of approval requests to retrieve. Must be one of the
         following values:
        
           * [not set]: Requests that are pending or have active approvals.
           * ALL: All requests.
           * PENDING: Only pending requests.
           * ACTIVE: Only active (i.e. currently approved) requests.
           * DISMISSED: Only requests that have been dismissed, or requests that
             are not approved and past expiration.
           * EXPIRED: Only requests that have been approved, and the approval has
             expired.
           * HISTORY: Active, dismissed and expired requests.
         
        string filter = 2;
        Returns:
        This builder for chaining.
      • setFilterBytes

        public ListApprovalRequestsMessage.Builder setFilterBytes​(com.google.protobuf.ByteString value)
         A filter on the type of approval requests to retrieve. Must be one of the
         following values:
        
           * [not set]: Requests that are pending or have active approvals.
           * ALL: All requests.
           * PENDING: Only pending requests.
           * ACTIVE: Only active (i.e. currently approved) requests.
           * DISMISSED: Only requests that have been dismissed, or requests that
             are not approved and past expiration.
           * EXPIRED: Only requests that have been approved, and the approval has
             expired.
           * HISTORY: Active, dismissed and expired requests.
         
        string filter = 2;
        Parameters:
        value - The bytes for filter to set.
        Returns:
        This builder for chaining.
      • setPageSize

        public ListApprovalRequestsMessage.Builder setPageSize​(int value)
         Requested page size.
         
        int32 page_size = 3;
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • getPageTokenBytes

        public com.google.protobuf.ByteString getPageTokenBytes()
         A token identifying the page of results to return.
         
        string page_token = 4;
        Specified by:
        getPageTokenBytes in interface ListApprovalRequestsMessageOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public ListApprovalRequestsMessage.Builder setPageToken​(String value)
         A token identifying the page of results to return.
         
        string page_token = 4;
        Parameters:
        value - The pageToken to set.
        Returns:
        This builder for chaining.
      • clearPageToken

        public ListApprovalRequestsMessage.Builder clearPageToken()
         A token identifying the page of results to return.
         
        string page_token = 4;
        Returns:
        This builder for chaining.
      • setPageTokenBytes

        public ListApprovalRequestsMessage.Builder setPageTokenBytes​(com.google.protobuf.ByteString value)
         A token identifying the page of results to return.
         
        string page_token = 4;
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.
      • mergeUnknownFields

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