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

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

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

        public ListAutoscalingPoliciesRequest 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<ListAutoscalingPoliciesRequest.Builder>
      • getParent

        public String getParent()
         Required. The "resource name" of the region or location, as described
         in https://cloud.google.com/apis/design/resource_names.
        
         * For `projects.regions.autoscalingPolicies.list`, the resource name
           of the region has the following format:
           `projects/{project_id}/regions/{region}`
        
         * For `projects.locations.autoscalingPolicies.list`, the resource name
           of the location has the following format:
           `projects/{project_id}/locations/{location}`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface ListAutoscalingPoliciesRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The "resource name" of the region or location, as described
         in https://cloud.google.com/apis/design/resource_names.
        
         * For `projects.regions.autoscalingPolicies.list`, the resource name
           of the region has the following format:
           `projects/{project_id}/regions/{region}`
        
         * For `projects.locations.autoscalingPolicies.list`, the resource name
           of the location has the following format:
           `projects/{project_id}/locations/{location}`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface ListAutoscalingPoliciesRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public ListAutoscalingPoliciesRequest.Builder setParent​(String value)
         Required. The "resource name" of the region or location, as described
         in https://cloud.google.com/apis/design/resource_names.
        
         * For `projects.regions.autoscalingPolicies.list`, the resource name
           of the region has the following format:
           `projects/{project_id}/regions/{region}`
        
         * For `projects.locations.autoscalingPolicies.list`, the resource name
           of the location has the following format:
           `projects/{project_id}/locations/{location}`
         
        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 ListAutoscalingPoliciesRequest.Builder clearParent()
         Required. The "resource name" of the region or location, as described
         in https://cloud.google.com/apis/design/resource_names.
        
         * For `projects.regions.autoscalingPolicies.list`, the resource name
           of the region has the following format:
           `projects/{project_id}/regions/{region}`
        
         * For `projects.locations.autoscalingPolicies.list`, the resource name
           of the location has the following format:
           `projects/{project_id}/locations/{location}`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public ListAutoscalingPoliciesRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The "resource name" of the region or location, as described
         in https://cloud.google.com/apis/design/resource_names.
        
         * For `projects.regions.autoscalingPolicies.list`, the resource name
           of the region has the following format:
           `projects/{project_id}/regions/{region}`
        
         * For `projects.locations.autoscalingPolicies.list`, the resource name
           of the location has the following format:
           `projects/{project_id}/locations/{location}`
         
        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. The maximum number of results to return in each response.
         Must be less than or equal to 1000. Defaults to 100.
         
        int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPageSize in interface ListAutoscalingPoliciesRequestOrBuilder
        Returns:
        The pageSize.
      • setPageSize

        public ListAutoscalingPoliciesRequest.Builder setPageSize​(int value)
         Optional. The maximum number of results to return in each response.
         Must be less than or equal to 1000. Defaults to 100.
         
        int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • clearPageSize

        public ListAutoscalingPoliciesRequest.Builder clearPageSize()
         Optional. The maximum number of results to return in each response.
         Must be less than or equal to 1000. Defaults to 100.
         
        int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • getPageToken

        public String getPageToken()
         Optional. The page token, returned by a previous call, to request the
         next page of results.
         
        string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPageToken in interface ListAutoscalingPoliciesRequestOrBuilder
        Returns:
        The pageToken.
      • getPageTokenBytes

        public com.google.protobuf.ByteString getPageTokenBytes()
         Optional. The page token, returned by a previous call, to request the
         next page of results.
         
        string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPageTokenBytes in interface ListAutoscalingPoliciesRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public ListAutoscalingPoliciesRequest.Builder setPageToken​(String value)
         Optional. The page token, returned by a previous call, to request the
         next page of results.
         
        string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The pageToken to set.
        Returns:
        This builder for chaining.
      • clearPageToken

        public ListAutoscalingPoliciesRequest.Builder clearPageToken()
         Optional. The page token, returned by a previous call, to request the
         next page of results.
         
        string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setPageTokenBytes

        public ListAutoscalingPoliciesRequest.Builder setPageTokenBytes​(com.google.protobuf.ByteString value)
         Optional. The page token, returned by a previous call, to request the
         next page of results.
         
        string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.