Class OutputResult.Builder (2.51.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.v2alpha.OutputResult

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
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.v2alpha.BigQueryOutputResult bigquery_result = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.retail.v2alpha.BigQueryOutputResult>
Returns
Type Description
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.v2alpha.GcsOutputResult gcs_result = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.retail.v2alpha.GcsOutputResult>
Returns
Type Description
OutputResult.Builder

addBigqueryResult(BigQueryOutputResult value)

public OutputResult.Builder addBigqueryResult(BigQueryOutputResult value)

The BigQuery location where the result is stored.

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

Parameter
Name Description
value BigQueryOutputResult
Returns
Type Description
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.v2alpha.BigQueryOutputResult bigquery_result = 1;

Parameter
Name Description
builderForValue BigQueryOutputResult.Builder
Returns
Type Description
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.v2alpha.BigQueryOutputResult bigquery_result = 1;

Parameters
Name Description
index int
value BigQueryOutputResult
Returns
Type Description
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.v2alpha.BigQueryOutputResult bigquery_result = 1;

Parameters
Name Description
index int
builderForValue BigQueryOutputResult.Builder
Returns
Type Description
OutputResult.Builder

addBigqueryResultBuilder()

public BigQueryOutputResult.Builder addBigqueryResultBuilder()

The BigQuery location where the result is stored.

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

Returns
Type Description
BigQueryOutputResult.Builder

addBigqueryResultBuilder(int index)

public BigQueryOutputResult.Builder addBigqueryResultBuilder(int index)

The BigQuery location where the result is stored.

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

Parameter
Name Description
index int
Returns
Type Description
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.v2alpha.GcsOutputResult gcs_result = 2;

Parameter
Name Description
value GcsOutputResult
Returns
Type Description
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.v2alpha.GcsOutputResult gcs_result = 2;

Parameter
Name Description
builderForValue GcsOutputResult.Builder
Returns
Type Description
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.v2alpha.GcsOutputResult gcs_result = 2;

Parameters
Name Description
index int
value GcsOutputResult
Returns
Type Description
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.v2alpha.GcsOutputResult gcs_result = 2;

Parameters
Name Description
index int
builderForValue GcsOutputResult.Builder
Returns
Type Description
OutputResult.Builder

addGcsResultBuilder()

public GcsOutputResult.Builder addGcsResultBuilder()

The Google Cloud Storage location where the result is stored.

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

Returns
Type Description
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.v2alpha.GcsOutputResult gcs_result = 2;

Parameter
Name Description
index int
Returns
Type Description
GcsOutputResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OutputResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OutputResult.Builder
Overrides

build()

public OutputResult build()
Returns
Type Description
OutputResult

buildPartial()

public OutputResult buildPartial()
Returns
Type Description
OutputResult

clear()

public OutputResult.Builder clear()
Returns
Type Description
OutputResult.Builder
Overrides

clearBigqueryResult()

public OutputResult.Builder clearBigqueryResult()

The BigQuery location where the result is stored.

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

Returns
Type Description
OutputResult.Builder

clearField(Descriptors.FieldDescriptor field)

public OutputResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
OutputResult.Builder
Overrides

clearGcsResult()

public OutputResult.Builder clearGcsResult()

The Google Cloud Storage location where the result is stored.

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

Returns
Type Description
OutputResult.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public OutputResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
OutputResult.Builder
Overrides

clone()

public OutputResult.Builder clone()
Returns
Type Description
OutputResult.Builder
Overrides

getBigqueryResult(int index)

public BigQueryOutputResult getBigqueryResult(int index)

The BigQuery location where the result is stored.

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

Parameter
Name Description
index int
Returns
Type Description
BigQueryOutputResult

getBigqueryResultBuilder(int index)

public BigQueryOutputResult.Builder getBigqueryResultBuilder(int index)

The BigQuery location where the result is stored.

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

Parameter
Name Description
index int
Returns
Type Description
BigQueryOutputResult.Builder

getBigqueryResultBuilderList()

public List<BigQueryOutputResult.Builder> getBigqueryResultBuilderList()

The BigQuery location where the result is stored.

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

Returns
Type Description
List<Builder>

getBigqueryResultCount()

public int getBigqueryResultCount()

The BigQuery location where the result is stored.

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

Returns
Type Description
int

getBigqueryResultList()

public List<BigQueryOutputResult> getBigqueryResultList()

The BigQuery location where the result is stored.

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

Returns
Type Description
List<BigQueryOutputResult>

getBigqueryResultOrBuilder(int index)

public BigQueryOutputResultOrBuilder getBigqueryResultOrBuilder(int index)

The BigQuery location where the result is stored.

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

Parameter
Name Description
index int
Returns
Type Description
BigQueryOutputResultOrBuilder

getBigqueryResultOrBuilderList()

public List<? extends BigQueryOutputResultOrBuilder> getBigqueryResultOrBuilderList()

The BigQuery location where the result is stored.

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

Returns
Type Description
List<? extends com.google.cloud.retail.v2alpha.BigQueryOutputResultOrBuilder>

getDefaultInstanceForType()

public OutputResult getDefaultInstanceForType()
Returns
Type Description
OutputResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGcsResult(int index)

public GcsOutputResult getGcsResult(int index)

The Google Cloud Storage location where the result is stored.

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

Parameter
Name Description
index int
Returns
Type Description
GcsOutputResult

getGcsResultBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
GcsOutputResult.Builder

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;

Returns
Type Description
List<Builder>

getGcsResultCount()

public int getGcsResultCount()

The Google Cloud Storage location where the result is stored.

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

Returns
Type Description
int

getGcsResultList()

public List<GcsOutputResult> getGcsResultList()

The Google Cloud Storage location where the result is stored.

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

Returns
Type Description
List<GcsOutputResult>

getGcsResultOrBuilder(int index)

public GcsOutputResultOrBuilder getGcsResultOrBuilder(int index)

The Google Cloud Storage location where the result is stored.

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

Parameter
Name Description
index int
Returns
Type Description
GcsOutputResultOrBuilder

getGcsResultOrBuilderList()

public List<? extends GcsOutputResultOrBuilder> getGcsResultOrBuilderList()

The Google Cloud Storage location where the result is stored.

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

Returns
Type Description
List<? extends com.google.cloud.retail.v2alpha.GcsOutputResultOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(OutputResult other)

public OutputResult.Builder mergeFrom(OutputResult other)
Parameter
Name Description
other OutputResult
Returns
Type Description
OutputResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OutputResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OutputResult.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public OutputResult.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
OutputResult.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OutputResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OutputResult.Builder
Overrides

removeBigqueryResult(int index)

public OutputResult.Builder removeBigqueryResult(int index)

The BigQuery location where the result is stored.

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

Parameter
Name Description
index int
Returns
Type Description
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.v2alpha.GcsOutputResult gcs_result = 2;

Parameter
Name Description
index int
Returns
Type Description
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.v2alpha.BigQueryOutputResult bigquery_result = 1;

Parameters
Name Description
index int
value BigQueryOutputResult
Returns
Type Description
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.v2alpha.BigQueryOutputResult bigquery_result = 1;

Parameters
Name Description
index int
builderForValue BigQueryOutputResult.Builder
Returns
Type Description
OutputResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public OutputResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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.v2alpha.GcsOutputResult gcs_result = 2;

Parameters
Name Description
index int
value GcsOutputResult
Returns
Type Description
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.v2alpha.GcsOutputResult gcs_result = 2;

Parameters
Name Description
index int
builderForValue GcsOutputResult.Builder
Returns
Type Description
OutputResult.Builder

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

public OutputResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
OutputResult.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final OutputResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OutputResult.Builder
Overrides