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

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

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

        public ListAutoscalingPoliciesResponse 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<ListAutoscalingPoliciesResponse.Builder>
      • getPoliciesCount

        public int getPoliciesCount()
         Output only. Autoscaling policies list.
         
        repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPoliciesCount in interface ListAutoscalingPoliciesResponseOrBuilder
      • clearPolicies

        public ListAutoscalingPoliciesResponse.Builder clearPolicies()
         Output only. Autoscaling policies list.
         
        repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • removePolicies

        public ListAutoscalingPoliciesResponse.Builder removePolicies​(int index)
         Output only. Autoscaling policies list.
         
        repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getPoliciesBuilder

        public AutoscalingPolicy.Builder getPoliciesBuilder​(int index)
         Output only. Autoscaling policies list.
         
        repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addPoliciesBuilder

        public AutoscalingPolicy.Builder addPoliciesBuilder()
         Output only. Autoscaling policies list.
         
        repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addPoliciesBuilder

        public AutoscalingPolicy.Builder addPoliciesBuilder​(int index)
         Output only. Autoscaling policies list.
         
        repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getPoliciesBuilderList

        public List<AutoscalingPolicy.Builder> getPoliciesBuilderList()
         Output only. Autoscaling policies list.
         
        repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getNextPageToken

        public String getNextPageToken()
         Output only. This token is included in the response if there are more
         results to fetch.
         
        string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNextPageToken in interface ListAutoscalingPoliciesResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         Output only. This token is included in the response if there are more
         results to fetch.
         
        string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNextPageTokenBytes in interface ListAutoscalingPoliciesResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListAutoscalingPoliciesResponse.Builder setNextPageToken​(String value)
         Output only. This token is included in the response if there are more
         results to fetch.
         
        string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public ListAutoscalingPoliciesResponse.Builder clearNextPageToken()
         Output only. This token is included in the response if there are more
         results to fetch.
         
        string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public ListAutoscalingPoliciesResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         Output only. This token is included in the response if there are more
         results to fetch.
         
        string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.