Class ProcessDocumentResponse.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<ProcessDocumentResponse.Builder>
      • clear

        public ProcessDocumentResponse.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentResponse.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<ProcessDocumentResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public ProcessDocumentResponse.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentResponse.Builder>
      • clearField

        public ProcessDocumentResponse.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentResponse.Builder>
      • clearOneof

        public ProcessDocumentResponse.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentResponse.Builder>
      • setRepeatedField

        public ProcessDocumentResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                int index,
                                                                Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentResponse.Builder>
      • addRepeatedField

        public ProcessDocumentResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentResponse.Builder>
      • mergeFrom

        public ProcessDocumentResponse.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<ProcessDocumentResponse.Builder>
        Throws:
        IOException
      • hasInputConfig

        public boolean hasInputConfig()
         Information about the input file. This is the same as the corresponding
         input config in the request.
         
        .google.cloud.documentai.v1beta2.InputConfig input_config = 1;
        Specified by:
        hasInputConfig in interface ProcessDocumentResponseOrBuilder
        Returns:
        Whether the inputConfig field is set.
      • getInputConfig

        public InputConfig getInputConfig()
         Information about the input file. This is the same as the corresponding
         input config in the request.
         
        .google.cloud.documentai.v1beta2.InputConfig input_config = 1;
        Specified by:
        getInputConfig in interface ProcessDocumentResponseOrBuilder
        Returns:
        The inputConfig.
      • setInputConfig

        public ProcessDocumentResponse.Builder setInputConfig​(InputConfig value)
         Information about the input file. This is the same as the corresponding
         input config in the request.
         
        .google.cloud.documentai.v1beta2.InputConfig input_config = 1;
      • setInputConfig

        public ProcessDocumentResponse.Builder setInputConfig​(InputConfig.Builder builderForValue)
         Information about the input file. This is the same as the corresponding
         input config in the request.
         
        .google.cloud.documentai.v1beta2.InputConfig input_config = 1;
      • mergeInputConfig

        public ProcessDocumentResponse.Builder mergeInputConfig​(InputConfig value)
         Information about the input file. This is the same as the corresponding
         input config in the request.
         
        .google.cloud.documentai.v1beta2.InputConfig input_config = 1;
      • clearInputConfig

        public ProcessDocumentResponse.Builder clearInputConfig()
         Information about the input file. This is the same as the corresponding
         input config in the request.
         
        .google.cloud.documentai.v1beta2.InputConfig input_config = 1;
      • getInputConfigBuilder

        public InputConfig.Builder getInputConfigBuilder()
         Information about the input file. This is the same as the corresponding
         input config in the request.
         
        .google.cloud.documentai.v1beta2.InputConfig input_config = 1;
      • hasOutputConfig

        public boolean hasOutputConfig()
         The output location of the parsed responses. The responses are written to
         this location as JSON-serialized `Document` objects.
         
        .google.cloud.documentai.v1beta2.OutputConfig output_config = 2;
        Specified by:
        hasOutputConfig in interface ProcessDocumentResponseOrBuilder
        Returns:
        Whether the outputConfig field is set.
      • getOutputConfig

        public OutputConfig getOutputConfig()
         The output location of the parsed responses. The responses are written to
         this location as JSON-serialized `Document` objects.
         
        .google.cloud.documentai.v1beta2.OutputConfig output_config = 2;
        Specified by:
        getOutputConfig in interface ProcessDocumentResponseOrBuilder
        Returns:
        The outputConfig.
      • setOutputConfig

        public ProcessDocumentResponse.Builder setOutputConfig​(OutputConfig value)
         The output location of the parsed responses. The responses are written to
         this location as JSON-serialized `Document` objects.
         
        .google.cloud.documentai.v1beta2.OutputConfig output_config = 2;
      • setOutputConfig

        public ProcessDocumentResponse.Builder setOutputConfig​(OutputConfig.Builder builderForValue)
         The output location of the parsed responses. The responses are written to
         this location as JSON-serialized `Document` objects.
         
        .google.cloud.documentai.v1beta2.OutputConfig output_config = 2;
      • mergeOutputConfig

        public ProcessDocumentResponse.Builder mergeOutputConfig​(OutputConfig value)
         The output location of the parsed responses. The responses are written to
         this location as JSON-serialized `Document` objects.
         
        .google.cloud.documentai.v1beta2.OutputConfig output_config = 2;
      • clearOutputConfig

        public ProcessDocumentResponse.Builder clearOutputConfig()
         The output location of the parsed responses. The responses are written to
         this location as JSON-serialized `Document` objects.
         
        .google.cloud.documentai.v1beta2.OutputConfig output_config = 2;
      • getOutputConfigBuilder

        public OutputConfig.Builder getOutputConfigBuilder()
         The output location of the parsed responses. The responses are written to
         this location as JSON-serialized `Document` objects.
         
        .google.cloud.documentai.v1beta2.OutputConfig output_config = 2;
      • setUnknownFields

        public final ProcessDocumentResponse.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentResponse.Builder>
      • mergeUnknownFields

        public final ProcessDocumentResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessDocumentResponse.Builder>