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

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

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

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

        public ListProcessorVersionsRequest.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<ListProcessorVersionsRequest.Builder>
        Throws:
        IOException
      • getParent

        public String getParent()
         Required. The parent (project, location and processor) to list all
         versions. Format:
         `projects/{project}/locations/{location}/processors/{processor}`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface ListProcessorVersionsRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The parent (project, location and processor) to list all
         versions. Format:
         `projects/{project}/locations/{location}/processors/{processor}`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface ListProcessorVersionsRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public ListProcessorVersionsRequest.Builder setParent​(String value)
         Required. The parent (project, location and processor) to list all
         versions. Format:
         `projects/{project}/locations/{location}/processors/{processor}`
         
        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 ListProcessorVersionsRequest.Builder clearParent()
         Required. The parent (project, location and processor) to list all
         versions. Format:
         `projects/{project}/locations/{location}/processors/{processor}`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public ListProcessorVersionsRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The parent (project, location and processor) to list all
         versions. Format:
         `projects/{project}/locations/{location}/processors/{processor}`
         
        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()
         The maximum number of processor versions to return.
         If unspecified, at most `10` processor versions will be returned.
         The maximum value is `20`. Values above `20` will be coerced to `20`.
         
        int32 page_size = 2;
        Specified by:
        getPageSize in interface ListProcessorVersionsRequestOrBuilder
        Returns:
        The pageSize.
      • setPageSize

        public ListProcessorVersionsRequest.Builder setPageSize​(int value)
         The maximum number of processor versions to return.
         If unspecified, at most `10` processor versions will be returned.
         The maximum value is `20`. Values above `20` will be coerced to `20`.
         
        int32 page_size = 2;
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • clearPageSize

        public ListProcessorVersionsRequest.Builder clearPageSize()
         The maximum number of processor versions to return.
         If unspecified, at most `10` processor versions will be returned.
         The maximum value is `20`. Values above `20` will be coerced to `20`.
         
        int32 page_size = 2;
        Returns:
        This builder for chaining.
      • getPageToken

        public String getPageToken()
         We will return the processor versions sorted by creation time. The page
         token will point to the next processor version.
         
        string page_token = 3;
        Specified by:
        getPageToken in interface ListProcessorVersionsRequestOrBuilder
        Returns:
        The pageToken.
      • getPageTokenBytes

        public com.google.protobuf.ByteString getPageTokenBytes()
         We will return the processor versions sorted by creation time. The page
         token will point to the next processor version.
         
        string page_token = 3;
        Specified by:
        getPageTokenBytes in interface ListProcessorVersionsRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public ListProcessorVersionsRequest.Builder setPageToken​(String value)
         We will return the processor versions sorted by creation time. The page
         token will point to the next processor version.
         
        string page_token = 3;
        Parameters:
        value - The pageToken to set.
        Returns:
        This builder for chaining.
      • clearPageToken

        public ListProcessorVersionsRequest.Builder clearPageToken()
         We will return the processor versions sorted by creation time. The page
         token will point to the next processor version.
         
        string page_token = 3;
        Returns:
        This builder for chaining.
      • setPageTokenBytes

        public ListProcessorVersionsRequest.Builder setPageTokenBytes​(com.google.protobuf.ByteString value)
         We will return the processor versions sorted by creation time. The page
         token will point to the next processor version.
         
        string page_token = 3;
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.