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

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

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

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

        public ListWorkflowTemplatesResponse.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<ListWorkflowTemplatesResponse.Builder>
        Throws:
        IOException
      • getTemplatesCount

        public int getTemplatesCount()
         Output only. WorkflowTemplates list.
         
        repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTemplatesCount in interface ListWorkflowTemplatesResponseOrBuilder
      • clearTemplates

        public ListWorkflowTemplatesResponse.Builder clearTemplates()
         Output only. WorkflowTemplates list.
         
        repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • removeTemplates

        public ListWorkflowTemplatesResponse.Builder removeTemplates​(int index)
         Output only. WorkflowTemplates list.
         
        repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getTemplatesBuilder

        public WorkflowTemplate.Builder getTemplatesBuilder​(int index)
         Output only. WorkflowTemplates list.
         
        repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addTemplatesBuilder

        public WorkflowTemplate.Builder addTemplatesBuilder()
         Output only. WorkflowTemplates list.
         
        repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addTemplatesBuilder

        public WorkflowTemplate.Builder addTemplatesBuilder​(int index)
         Output only. WorkflowTemplates list.
         
        repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getTemplatesBuilderList

        public List<WorkflowTemplate.Builder> getTemplatesBuilderList()
         Output only. WorkflowTemplates list.
         
        repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 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. To fetch additional results, provide this value as the
         page_token in a subsequent <code>ListWorkflowTemplatesRequest</code>.
         
        string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNextPageToken in interface ListWorkflowTemplatesResponseOrBuilder
        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. To fetch additional results, provide this value as the
         page_token in a subsequent <code>ListWorkflowTemplatesRequest</code>.
         
        string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNextPageTokenBytes in interface ListWorkflowTemplatesResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListWorkflowTemplatesResponse.Builder setNextPageToken​(String value)
         Output only. This token is included in the response if there are more
         results to fetch. To fetch additional results, provide this value as the
         page_token in a subsequent <code>ListWorkflowTemplatesRequest</code>.
         
        string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public ListWorkflowTemplatesResponse.Builder clearNextPageToken()
         Output only. This token is included in the response if there are more
         results to fetch. To fetch additional results, provide this value as the
         page_token in a subsequent <code>ListWorkflowTemplatesRequest</code>.
         
        string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public ListWorkflowTemplatesResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         Output only. This token is included in the response if there are more
         results to fetch. To fetch additional results, provide this value as the
         page_token in a subsequent <code>ListWorkflowTemplatesRequest</code>.
         
        string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.