Class OutputResult.Builder

  • All Implemented Interfaces:
    OutputResultOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    OutputResult

    public static final class OutputResult.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<OutputResult.Builder>
    implements OutputResultOrBuilder
     Output result that stores the information about where the exported data is
     stored.
     
    Protobuf type google.cloud.retail.v2alpha.OutputResult
    • 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<OutputResult.Builder>
      • clear

        public OutputResult.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<OutputResult.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<OutputResult.Builder>
      • getDefaultInstanceForType

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

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

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

        public OutputResult.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<OutputResult.Builder>
      • setField

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

        public OutputResult.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<OutputResult.Builder>
      • clearOneof

        public OutputResult.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<OutputResult.Builder>
      • setRepeatedField

        public OutputResult.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<OutputResult.Builder>
      • addRepeatedField

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

        public OutputResult.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<OutputResult.Builder>
      • isInitialized

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

        public OutputResult.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<OutputResult.Builder>
        Throws:
        IOException
      • getBigqueryResultCount

        public int getBigqueryResultCount()
         The BigQuery location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.BigQueryOutputResult bigquery_result = 1;
        Specified by:
        getBigqueryResultCount in interface OutputResultOrBuilder
      • setBigqueryResult

        public OutputResult.Builder setBigqueryResult​(int index,
                                                      BigQueryOutputResult value)
         The BigQuery location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.BigQueryOutputResult bigquery_result = 1;
      • setBigqueryResult

        public OutputResult.Builder setBigqueryResult​(int index,
                                                      BigQueryOutputResult.Builder builderForValue)
         The BigQuery location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.BigQueryOutputResult bigquery_result = 1;
      • addBigqueryResult

        public OutputResult.Builder addBigqueryResult​(BigQueryOutputResult value)
         The BigQuery location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.BigQueryOutputResult bigquery_result = 1;
      • addBigqueryResult

        public OutputResult.Builder addBigqueryResult​(int index,
                                                      BigQueryOutputResult value)
         The BigQuery location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.BigQueryOutputResult bigquery_result = 1;
      • addBigqueryResult

        public OutputResult.Builder addBigqueryResult​(BigQueryOutputResult.Builder builderForValue)
         The BigQuery location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.BigQueryOutputResult bigquery_result = 1;
      • addBigqueryResult

        public OutputResult.Builder addBigqueryResult​(int index,
                                                      BigQueryOutputResult.Builder builderForValue)
         The BigQuery location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.BigQueryOutputResult bigquery_result = 1;
      • addAllBigqueryResult

        public OutputResult.Builder addAllBigqueryResult​(Iterable<? extends BigQueryOutputResult> values)
         The BigQuery location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.BigQueryOutputResult bigquery_result = 1;
      • clearBigqueryResult

        public OutputResult.Builder clearBigqueryResult()
         The BigQuery location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.BigQueryOutputResult bigquery_result = 1;
      • removeBigqueryResult

        public OutputResult.Builder removeBigqueryResult​(int index)
         The BigQuery location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.BigQueryOutputResult bigquery_result = 1;
      • getBigqueryResultBuilder

        public BigQueryOutputResult.Builder getBigqueryResultBuilder​(int index)
         The BigQuery location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.BigQueryOutputResult bigquery_result = 1;
      • addBigqueryResultBuilder

        public BigQueryOutputResult.Builder addBigqueryResultBuilder()
         The BigQuery location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.BigQueryOutputResult bigquery_result = 1;
      • addBigqueryResultBuilder

        public BigQueryOutputResult.Builder addBigqueryResultBuilder​(int index)
         The BigQuery location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.BigQueryOutputResult bigquery_result = 1;
      • getBigqueryResultBuilderList

        public List<BigQueryOutputResult.Builder> getBigqueryResultBuilderList()
         The BigQuery location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.BigQueryOutputResult bigquery_result = 1;
      • getGcsResultCount

        public int getGcsResultCount()
         The Google Cloud Storage location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.GcsOutputResult gcs_result = 2;
        Specified by:
        getGcsResultCount in interface OutputResultOrBuilder
      • getGcsResult

        public GcsOutputResult getGcsResult​(int index)
         The Google Cloud Storage location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.GcsOutputResult gcs_result = 2;
        Specified by:
        getGcsResult in interface OutputResultOrBuilder
      • setGcsResult

        public OutputResult.Builder setGcsResult​(int index,
                                                 GcsOutputResult value)
         The Google Cloud Storage location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.GcsOutputResult gcs_result = 2;
      • setGcsResult

        public OutputResult.Builder setGcsResult​(int index,
                                                 GcsOutputResult.Builder builderForValue)
         The Google Cloud Storage location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.GcsOutputResult gcs_result = 2;
      • addGcsResult

        public OutputResult.Builder addGcsResult​(GcsOutputResult value)
         The Google Cloud Storage location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.GcsOutputResult gcs_result = 2;
      • addGcsResult

        public OutputResult.Builder addGcsResult​(int index,
                                                 GcsOutputResult value)
         The Google Cloud Storage location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.GcsOutputResult gcs_result = 2;
      • addGcsResult

        public OutputResult.Builder addGcsResult​(GcsOutputResult.Builder builderForValue)
         The Google Cloud Storage location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.GcsOutputResult gcs_result = 2;
      • addGcsResult

        public OutputResult.Builder addGcsResult​(int index,
                                                 GcsOutputResult.Builder builderForValue)
         The Google Cloud Storage location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.GcsOutputResult gcs_result = 2;
      • addAllGcsResult

        public OutputResult.Builder addAllGcsResult​(Iterable<? extends GcsOutputResult> values)
         The Google Cloud Storage location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.GcsOutputResult gcs_result = 2;
      • clearGcsResult

        public OutputResult.Builder clearGcsResult()
         The Google Cloud Storage location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.GcsOutputResult gcs_result = 2;
      • removeGcsResult

        public OutputResult.Builder removeGcsResult​(int index)
         The Google Cloud Storage location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.GcsOutputResult gcs_result = 2;
      • getGcsResultBuilder

        public GcsOutputResult.Builder getGcsResultBuilder​(int index)
         The Google Cloud Storage location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.GcsOutputResult gcs_result = 2;
      • addGcsResultBuilder

        public GcsOutputResult.Builder addGcsResultBuilder()
         The Google Cloud Storage location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.GcsOutputResult gcs_result = 2;
      • addGcsResultBuilder

        public GcsOutputResult.Builder addGcsResultBuilder​(int index)
         The Google Cloud Storage location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.GcsOutputResult gcs_result = 2;
      • getGcsResultBuilderList

        public List<GcsOutputResult.Builder> getGcsResultBuilderList()
         The Google Cloud Storage location where the result is stored.
         
        repeated .google.cloud.retail.v2alpha.GcsOutputResult gcs_result = 2;
      • setUnknownFields

        public final OutputResult.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<OutputResult.Builder>
      • mergeUnknownFields

        public final OutputResult.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<OutputResult.Builder>