Class OutputResult.Builder (2.17.0)

public static final class OutputResult.Builder extends GeneratedMessageV3.Builder<OutputResult.Builder> implements OutputResultOrBuilder

Output result that stores the information about where the exported data is stored.

Protobuf type google.cloud.retail.v2beta.OutputResult

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllBigqueryResult(Iterable<? extends BigQueryOutputResult> values)

public OutputResult.Builder addAllBigqueryResult(Iterable<? extends BigQueryOutputResult> values)

The BigQuery location where the result is stored.

repeated .google.cloud.retail.v2beta.BigQueryOutputResult bigquery_result = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.retail.v2beta.BigQueryOutputResult>
Returns
TypeDescription
OutputResult.Builder

addAllGcsResult(Iterable<? extends GcsOutputResult> values)

public OutputResult.Builder addAllGcsResult(Iterable<? extends GcsOutputResult> values)

The Google Cloud Storage location where the result is stored.

repeated .google.cloud.retail.v2beta.GcsOutputResult gcs_result = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.retail.v2beta.GcsOutputResult>
Returns
TypeDescription
OutputResult.Builder

addBigqueryResult(BigQueryOutputResult value)

public OutputResult.Builder addBigqueryResult(BigQueryOutputResult value)

The BigQuery location where the result is stored.

repeated .google.cloud.retail.v2beta.BigQueryOutputResult bigquery_result = 1;

Parameter
NameDescription
valueBigQueryOutputResult
Returns
TypeDescription
OutputResult.Builder

addBigqueryResult(BigQueryOutputResult.Builder builderForValue)

public OutputResult.Builder addBigqueryResult(BigQueryOutputResult.Builder builderForValue)

The BigQuery location where the result is stored.

repeated .google.cloud.retail.v2beta.BigQueryOutputResult bigquery_result = 1;

Parameter
NameDescription
builderForValueBigQueryOutputResult.Builder
Returns
TypeDescription
OutputResult.Builder

addBigqueryResult(int index, BigQueryOutputResult value)

public OutputResult.Builder addBigqueryResult(int index, BigQueryOutputResult value)

The BigQuery location where the result is stored.

repeated .google.cloud.retail.v2beta.BigQueryOutputResult bigquery_result = 1;

Parameters
NameDescription
indexint
valueBigQueryOutputResult
Returns
TypeDescription
OutputResult.Builder

addBigqueryResult(int index, BigQueryOutputResult.Builder builderForValue)

public OutputResult.Builder addBigqueryResult(int index, BigQueryOutputResult.Builder builderForValue)

The BigQuery location where the result is stored.

repeated .google.cloud.retail.v2beta.BigQueryOutputResult bigquery_result = 1;

Parameters
NameDescription
indexint
builderForValueBigQueryOutputResult.Builder
Returns
TypeDescription
OutputResult.Builder

addBigqueryResultBuilder()

public BigQueryOutputResult.Builder addBigqueryResultBuilder()

The BigQuery location where the result is stored.

repeated .google.cloud.retail.v2beta.BigQueryOutputResult bigquery_result = 1;

Returns
TypeDescription
BigQueryOutputResult.Builder

addBigqueryResultBuilder(int index)

public BigQueryOutputResult.Builder addBigqueryResultBuilder(int index)

The BigQuery location where the result is stored.

repeated .google.cloud.retail.v2beta.BigQueryOutputResult bigquery_result = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
BigQueryOutputResult.Builder

addGcsResult(GcsOutputResult value)

public OutputResult.Builder addGcsResult(GcsOutputResult value)

The Google Cloud Storage location where the result is stored.

repeated .google.cloud.retail.v2beta.GcsOutputResult gcs_result = 2;

Parameter
NameDescription
valueGcsOutputResult
Returns
TypeDescription
OutputResult.Builder

addGcsResult(GcsOutputResult.Builder builderForValue)

public OutputResult.Builder addGcsResult(GcsOutputResult.Builder builderForValue)

The Google Cloud Storage location where the result is stored.

repeated .google.cloud.retail.v2beta.GcsOutputResult gcs_result = 2;

Parameter
NameDescription
builderForValueGcsOutputResult.Builder
Returns
TypeDescription
OutputResult.Builder

addGcsResult(int index, GcsOutputResult value)

public OutputResult.Builder addGcsResult(int index, GcsOutputResult value)

The Google Cloud Storage location where the result is stored.

repeated .google.cloud.retail.v2beta.GcsOutputResult gcs_result = 2;

Parameters
NameDescription
indexint
valueGcsOutputResult
Returns
TypeDescription
OutputResult.Builder

addGcsResult(int index, GcsOutputResult.Builder builderForValue)

public OutputResult.Builder addGcsResult(int index, GcsOutputResult.Builder builderForValue)

The Google Cloud Storage location where the result is stored.

repeated .google.cloud.retail.v2beta.GcsOutputResult gcs_result = 2;

Parameters
NameDescription
indexint
builderForValueGcsOutputResult.Builder
Returns
TypeDescription
OutputResult.Builder

addGcsResultBuilder()

public GcsOutputResult.Builder addGcsResultBuilder()

The Google Cloud Storage location where the result is stored.

repeated .google.cloud.retail.v2beta.GcsOutputResult gcs_result = 2;

Returns
TypeDescription
GcsOutputResult.Builder

addGcsResultBuilder(int index)

public GcsOutputResult.Builder addGcsResultBuilder(int index)

The Google Cloud Storage location where the result is stored.

repeated .google.cloud.retail.v2beta.GcsOutputResult gcs_result = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
GcsOutputResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OutputResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
OutputResult.Builder
Overrides

build()

public OutputResult build()
Returns
TypeDescription
OutputResult

buildPartial()

public OutputResult buildPartial()
Returns
TypeDescription
OutputResult

clear()

public OutputResult.Builder clear()
Returns
TypeDescription
OutputResult.Builder
Overrides

clearBigqueryResult()

public OutputResult.Builder clearBigqueryResult()

The BigQuery location where the result is stored.

repeated .google.cloud.retail.v2beta.BigQueryOutputResult bigquery_result = 1;

Returns
TypeDescription
OutputResult.Builder

clearField(Descriptors.FieldDescriptor field)

public OutputResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
OutputResult.Builder
Overrides

clearGcsResult()

public OutputResult.Builder clearGcsResult()

The Google Cloud Storage location where the result is stored.

repeated .google.cloud.retail.v2beta.GcsOutputResult gcs_result = 2;

Returns
TypeDescription
OutputResult.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public OutputResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
OutputResult.Builder
Overrides

clone()

public OutputResult.Builder clone()
Returns
TypeDescription
OutputResult.Builder
Overrides

getBigqueryResult(int index)

public BigQueryOutputResult getBigqueryResult(int index)

The BigQuery location where the result is stored.

repeated .google.cloud.retail.v2beta.BigQueryOutputResult bigquery_result = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
BigQueryOutputResult

getBigqueryResultBuilder(int index)

public BigQueryOutputResult.Builder getBigqueryResultBuilder(int index)

The BigQuery location where the result is stored.

repeated .google.cloud.retail.v2beta.BigQueryOutputResult bigquery_result = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
BigQueryOutputResult.Builder

getBigqueryResultBuilderList()

public List<BigQueryOutputResult.Builder> getBigqueryResultBuilderList()

The BigQuery location where the result is stored.

repeated .google.cloud.retail.v2beta.BigQueryOutputResult bigquery_result = 1;

Returns
TypeDescription
List<Builder>

getBigqueryResultCount()

public int getBigqueryResultCount()

The BigQuery location where the result is stored.

repeated .google.cloud.retail.v2beta.BigQueryOutputResult bigquery_result = 1;

Returns
TypeDescription
int

getBigqueryResultList()

public List<BigQueryOutputResult> getBigqueryResultList()

The BigQuery location where the result is stored.

repeated .google.cloud.retail.v2beta.BigQueryOutputResult bigquery_result = 1;

Returns
TypeDescription
List<BigQueryOutputResult>

getBigqueryResultOrBuilder(int index)

public BigQueryOutputResultOrBuilder getBigqueryResultOrBuilder(int index)

The BigQuery location where the result is stored.

repeated .google.cloud.retail.v2beta.BigQueryOutputResult bigquery_result = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
BigQueryOutputResultOrBuilder

getBigqueryResultOrBuilderList()

public List<? extends BigQueryOutputResultOrBuilder> getBigqueryResultOrBuilderList()

The BigQuery location where the result is stored.

repeated .google.cloud.retail.v2beta.BigQueryOutputResult bigquery_result = 1;

Returns
TypeDescription
List<? extends com.google.cloud.retail.v2beta.BigQueryOutputResultOrBuilder>

getDefaultInstanceForType()

public OutputResult getDefaultInstanceForType()
Returns
TypeDescription
OutputResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGcsResult(int index)

public GcsOutputResult getGcsResult(int index)

The Google Cloud Storage location where the result is stored.

repeated .google.cloud.retail.v2beta.GcsOutputResult gcs_result = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
GcsOutputResult

getGcsResultBuilder(int index)

public GcsOutputResult.Builder getGcsResultBuilder(int index)

The Google Cloud Storage location where the result is stored.

repeated .google.cloud.retail.v2beta.GcsOutputResult gcs_result = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
GcsOutputResult.Builder

getGcsResultBuilderList()

public List<GcsOutputResult.Builder> getGcsResultBuilderList()

The Google Cloud Storage location where the result is stored.

repeated .google.cloud.retail.v2beta.GcsOutputResult gcs_result = 2;

Returns
TypeDescription
List<Builder>

getGcsResultCount()

public int getGcsResultCount()

The Google Cloud Storage location where the result is stored.

repeated .google.cloud.retail.v2beta.GcsOutputResult gcs_result = 2;

Returns
TypeDescription
int

getGcsResultList()

public List<GcsOutputResult> getGcsResultList()

The Google Cloud Storage location where the result is stored.

repeated .google.cloud.retail.v2beta.GcsOutputResult gcs_result = 2;

Returns
TypeDescription
List<GcsOutputResult>

getGcsResultOrBuilder(int index)

public GcsOutputResultOrBuilder getGcsResultOrBuilder(int index)

The Google Cloud Storage location where the result is stored.

repeated .google.cloud.retail.v2beta.GcsOutputResult gcs_result = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
GcsOutputResultOrBuilder

getGcsResultOrBuilderList()

public List<? extends GcsOutputResultOrBuilder> getGcsResultOrBuilderList()

The Google Cloud Storage location where the result is stored.

repeated .google.cloud.retail.v2beta.GcsOutputResult gcs_result = 2;

Returns
TypeDescription
List<? extends com.google.cloud.retail.v2beta.GcsOutputResultOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(OutputResult other)

public OutputResult.Builder mergeFrom(OutputResult other)
Parameter
NameDescription
otherOutputResult
Returns
TypeDescription
OutputResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OutputResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OutputResult.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public OutputResult.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
OutputResult.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OutputResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
OutputResult.Builder
Overrides

removeBigqueryResult(int index)

public OutputResult.Builder removeBigqueryResult(int index)

The BigQuery location where the result is stored.

repeated .google.cloud.retail.v2beta.BigQueryOutputResult bigquery_result = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OutputResult.Builder

removeGcsResult(int index)

public OutputResult.Builder removeGcsResult(int index)

The Google Cloud Storage location where the result is stored.

repeated .google.cloud.retail.v2beta.GcsOutputResult gcs_result = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
OutputResult.Builder

setBigqueryResult(int index, BigQueryOutputResult value)

public OutputResult.Builder setBigqueryResult(int index, BigQueryOutputResult value)

The BigQuery location where the result is stored.

repeated .google.cloud.retail.v2beta.BigQueryOutputResult bigquery_result = 1;

Parameters
NameDescription
indexint
valueBigQueryOutputResult
Returns
TypeDescription
OutputResult.Builder

setBigqueryResult(int index, BigQueryOutputResult.Builder builderForValue)

public OutputResult.Builder setBigqueryResult(int index, BigQueryOutputResult.Builder builderForValue)

The BigQuery location where the result is stored.

repeated .google.cloud.retail.v2beta.BigQueryOutputResult bigquery_result = 1;

Parameters
NameDescription
indexint
builderForValueBigQueryOutputResult.Builder
Returns
TypeDescription
OutputResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public OutputResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
OutputResult.Builder
Overrides

setGcsResult(int index, GcsOutputResult value)

public OutputResult.Builder setGcsResult(int index, GcsOutputResult value)

The Google Cloud Storage location where the result is stored.

repeated .google.cloud.retail.v2beta.GcsOutputResult gcs_result = 2;

Parameters
NameDescription
indexint
valueGcsOutputResult
Returns
TypeDescription
OutputResult.Builder

setGcsResult(int index, GcsOutputResult.Builder builderForValue)

public OutputResult.Builder setGcsResult(int index, GcsOutputResult.Builder builderForValue)

The Google Cloud Storage location where the result is stored.

repeated .google.cloud.retail.v2beta.GcsOutputResult gcs_result = 2;

Parameters
NameDescription
indexint
builderForValueGcsOutputResult.Builder
Returns
TypeDescription
OutputResult.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public OutputResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
OutputResult.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final OutputResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
OutputResult.Builder
Overrides