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

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

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

        public QueryGrantableRolesRequest 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<QueryGrantableRolesRequest.Builder>
      • mergeFrom

        public QueryGrantableRolesRequest.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<QueryGrantableRolesRequest.Builder>
        Throws:
        IOException
      • getFullResourceName

        public String getFullResourceName()
         Required. The full resource name to query from the list of grantable roles.
        
         The name follows the Google Cloud Platform resource format.
         For example, a Cloud Platform project with id `my-project` will be named
         `//cloudresourcemanager.googleapis.com/projects/my-project`.
         
        string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getFullResourceName in interface QueryGrantableRolesRequestOrBuilder
        Returns:
        The fullResourceName.
      • getFullResourceNameBytes

        public com.google.protobuf.ByteString getFullResourceNameBytes()
         Required. The full resource name to query from the list of grantable roles.
        
         The name follows the Google Cloud Platform resource format.
         For example, a Cloud Platform project with id `my-project` will be named
         `//cloudresourcemanager.googleapis.com/projects/my-project`.
         
        string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getFullResourceNameBytes in interface QueryGrantableRolesRequestOrBuilder
        Returns:
        The bytes for fullResourceName.
      • setFullResourceName

        public QueryGrantableRolesRequest.Builder setFullResourceName​(String value)
         Required. The full resource name to query from the list of grantable roles.
        
         The name follows the Google Cloud Platform resource format.
         For example, a Cloud Platform project with id `my-project` will be named
         `//cloudresourcemanager.googleapis.com/projects/my-project`.
         
        string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The fullResourceName to set.
        Returns:
        This builder for chaining.
      • clearFullResourceName

        public QueryGrantableRolesRequest.Builder clearFullResourceName()
         Required. The full resource name to query from the list of grantable roles.
        
         The name follows the Google Cloud Platform resource format.
         For example, a Cloud Platform project with id `my-project` will be named
         `//cloudresourcemanager.googleapis.com/projects/my-project`.
         
        string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setFullResourceNameBytes

        public QueryGrantableRolesRequest.Builder setFullResourceNameBytes​(com.google.protobuf.ByteString value)
         Required. The full resource name to query from the list of grantable roles.
        
         The name follows the Google Cloud Platform resource format.
         For example, a Cloud Platform project with id `my-project` will be named
         `//cloudresourcemanager.googleapis.com/projects/my-project`.
         
        string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for fullResourceName to set.
        Returns:
        This builder for chaining.
      • setViewValue

        public QueryGrantableRolesRequest.Builder setViewValue​(int value)
        .google.iam.admin.v1.RoleView view = 2;
        Parameters:
        value - The enum numeric value on the wire for view to set.
        Returns:
        This builder for chaining.
      • getPageSize

        public int getPageSize()
         Optional limit on the number of roles to include in the response.
        
         The default is 300, and the maximum is 1,000.
         
        int32 page_size = 3;
        Specified by:
        getPageSize in interface QueryGrantableRolesRequestOrBuilder
        Returns:
        The pageSize.
      • setPageSize

        public QueryGrantableRolesRequest.Builder setPageSize​(int value)
         Optional limit on the number of roles to include in the response.
        
         The default is 300, and the maximum is 1,000.
         
        int32 page_size = 3;
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • clearPageSize

        public QueryGrantableRolesRequest.Builder clearPageSize()
         Optional limit on the number of roles to include in the response.
        
         The default is 300, and the maximum is 1,000.
         
        int32 page_size = 3;
        Returns:
        This builder for chaining.
      • getPageTokenBytes

        public com.google.protobuf.ByteString getPageTokenBytes()
         Optional pagination token returned in an earlier
         QueryGrantableRolesResponse.
         
        string page_token = 4;
        Specified by:
        getPageTokenBytes in interface QueryGrantableRolesRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public QueryGrantableRolesRequest.Builder setPageToken​(String value)
         Optional pagination token returned in an earlier
         QueryGrantableRolesResponse.
         
        string page_token = 4;
        Parameters:
        value - The pageToken to set.
        Returns:
        This builder for chaining.
      • clearPageToken

        public QueryGrantableRolesRequest.Builder clearPageToken()
         Optional pagination token returned in an earlier
         QueryGrantableRolesResponse.
         
        string page_token = 4;
        Returns:
        This builder for chaining.
      • setPageTokenBytes

        public QueryGrantableRolesRequest.Builder setPageTokenBytes​(com.google.protobuf.ByteString value)
         Optional pagination token returned in an earlier
         QueryGrantableRolesResponse.
         
        string page_token = 4;
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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