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

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

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

        public ListMonitoredResourceDescriptorsRequest 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<ListMonitoredResourceDescriptorsRequest.Builder>
      • getPageSize

        public int getPageSize()
         Optional. The maximum number of results to return from this request.
         Non-positive values are ignored.  The presence of `nextPageToken` in the
         response indicates that more results might be available.
         
        int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPageSize in interface ListMonitoredResourceDescriptorsRequestOrBuilder
        Returns:
        The pageSize.
      • setPageSize

        public ListMonitoredResourceDescriptorsRequest.Builder setPageSize​(int value)
         Optional. The maximum number of results to return from this request.
         Non-positive values are ignored.  The presence of `nextPageToken` in the
         response indicates that more results might be available.
         
        int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • clearPageSize

        public ListMonitoredResourceDescriptorsRequest.Builder clearPageSize()
         Optional. The maximum number of results to return from this request.
         Non-positive values are ignored.  The presence of `nextPageToken` in the
         response indicates that more results might be available.
         
        int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • getPageToken

        public String getPageToken()
         Optional. If present, then retrieve the next batch of results from the
         preceding call to this method.  `pageToken` must be the value of
         `nextPageToken` from the previous response.  The values of other method
         parameters should be identical to those in the previous call.
         
        string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPageToken in interface ListMonitoredResourceDescriptorsRequestOrBuilder
        Returns:
        The pageToken.
      • getPageTokenBytes

        public com.google.protobuf.ByteString getPageTokenBytes()
         Optional. If present, then retrieve the next batch of results from the
         preceding call to this method.  `pageToken` must be the value of
         `nextPageToken` from the previous response.  The values of other method
         parameters should be identical to those in the previous call.
         
        string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPageTokenBytes in interface ListMonitoredResourceDescriptorsRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public ListMonitoredResourceDescriptorsRequest.Builder setPageToken​(String value)
         Optional. If present, then retrieve the next batch of results from the
         preceding call to this method.  `pageToken` must be the value of
         `nextPageToken` from the previous response.  The values of other method
         parameters should be identical to those in the previous call.
         
        string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The pageToken to set.
        Returns:
        This builder for chaining.
      • clearPageToken

        public ListMonitoredResourceDescriptorsRequest.Builder clearPageToken()
         Optional. If present, then retrieve the next batch of results from the
         preceding call to this method.  `pageToken` must be the value of
         `nextPageToken` from the previous response.  The values of other method
         parameters should be identical to those in the previous call.
         
        string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setPageTokenBytes

        public ListMonitoredResourceDescriptorsRequest.Builder setPageTokenBytes​(com.google.protobuf.ByteString value)
         Optional. If present, then retrieve the next batch of results from the
         preceding call to this method.  `pageToken` must be the value of
         `nextPageToken` from the previous response.  The values of other method
         parameters should be identical to those in the previous call.
         
        string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.