Class ExportAnalyticsMetricsResponse.Builder (2.39.0)

public static final class ExportAnalyticsMetricsResponse.Builder extends GeneratedMessageV3.Builder<ExportAnalyticsMetricsResponse.Builder> implements ExportAnalyticsMetricsResponseOrBuilder

Response of the ExportAnalyticsMetricsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.

Protobuf type google.cloud.retail.v2alpha.ExportAnalyticsMetricsResponse

Static Methods

getDescriptor()

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

Methods

addAllErrorSamples(Iterable<? extends Status> values)

public ExportAnalyticsMetricsResponse.Builder addAllErrorSamples(Iterable<? extends Status> values)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.rpc.Status>
Returns
TypeDescription
ExportAnalyticsMetricsResponse.Builder

addErrorSamples(Status value)

public ExportAnalyticsMetricsResponse.Builder addErrorSamples(Status value)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
ExportAnalyticsMetricsResponse.Builder

addErrorSamples(Status.Builder builderForValue)

public ExportAnalyticsMetricsResponse.Builder addErrorSamples(Status.Builder builderForValue)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameter
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
ExportAnalyticsMetricsResponse.Builder

addErrorSamples(int index, Status value)

public ExportAnalyticsMetricsResponse.Builder addErrorSamples(int index, Status value)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameters
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
ExportAnalyticsMetricsResponse.Builder

addErrorSamples(int index, Status.Builder builderForValue)

public ExportAnalyticsMetricsResponse.Builder addErrorSamples(int index, Status.Builder builderForValue)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameters
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
ExportAnalyticsMetricsResponse.Builder

addErrorSamplesBuilder()

public Status.Builder addErrorSamplesBuilder()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Returns
TypeDescription
com.google.rpc.Status.Builder

addErrorSamplesBuilder(int index)

public Status.Builder addErrorSamplesBuilder(int index)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExportAnalyticsMetricsResponse build()
Returns
TypeDescription
ExportAnalyticsMetricsResponse

buildPartial()

public ExportAnalyticsMetricsResponse buildPartial()
Returns
TypeDescription
ExportAnalyticsMetricsResponse

clear()

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

clearErrorSamples()

public ExportAnalyticsMetricsResponse.Builder clearErrorSamples()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Returns
TypeDescription
ExportAnalyticsMetricsResponse.Builder

clearErrorsConfig()

public ExportAnalyticsMetricsResponse.Builder clearErrorsConfig()

This field is never set.

.google.cloud.retail.v2alpha.ExportErrorsConfig errors_config = 2;

Returns
TypeDescription
ExportAnalyticsMetricsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOutputResult()

public ExportAnalyticsMetricsResponse.Builder clearOutputResult()

Output result indicating where the data were exported to.

.google.cloud.retail.v2alpha.OutputResult output_result = 3;

Returns
TypeDescription
ExportAnalyticsMetricsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ExportAnalyticsMetricsResponse getDefaultInstanceForType()
Returns
TypeDescription
ExportAnalyticsMetricsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getErrorSamples(int index)

public Status getErrorSamples(int index)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status

getErrorSamplesBuilder(int index)

public Status.Builder getErrorSamplesBuilder(int index)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status.Builder

getErrorSamplesBuilderList()

public List<Status.Builder> getErrorSamplesBuilderList()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Returns
TypeDescription
List<com.google.rpc.Status.Builder>

getErrorSamplesCount()

public int getErrorSamplesCount()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Returns
TypeDescription
int

getErrorSamplesList()

public List<Status> getErrorSamplesList()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Returns
TypeDescription
List<com.google.rpc.Status>

getErrorSamplesOrBuilder(int index)

public StatusOrBuilder getErrorSamplesOrBuilder(int index)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getErrorSamplesOrBuilderList()

public List<? extends StatusOrBuilder> getErrorSamplesOrBuilderList()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Returns
TypeDescription
List<? extends com.google.rpc.StatusOrBuilder>

getErrorsConfig()

public ExportErrorsConfig getErrorsConfig()

This field is never set.

.google.cloud.retail.v2alpha.ExportErrorsConfig errors_config = 2;

Returns
TypeDescription
ExportErrorsConfig

The errorsConfig.

getErrorsConfigBuilder()

public ExportErrorsConfig.Builder getErrorsConfigBuilder()

This field is never set.

.google.cloud.retail.v2alpha.ExportErrorsConfig errors_config = 2;

Returns
TypeDescription
ExportErrorsConfig.Builder

getErrorsConfigOrBuilder()

public ExportErrorsConfigOrBuilder getErrorsConfigOrBuilder()

This field is never set.

.google.cloud.retail.v2alpha.ExportErrorsConfig errors_config = 2;

Returns
TypeDescription
ExportErrorsConfigOrBuilder

getOutputResult()

public OutputResult getOutputResult()

Output result indicating where the data were exported to.

.google.cloud.retail.v2alpha.OutputResult output_result = 3;

Returns
TypeDescription
OutputResult

The outputResult.

getOutputResultBuilder()

public OutputResult.Builder getOutputResultBuilder()

Output result indicating where the data were exported to.

.google.cloud.retail.v2alpha.OutputResult output_result = 3;

Returns
TypeDescription
OutputResult.Builder

getOutputResultOrBuilder()

public OutputResultOrBuilder getOutputResultOrBuilder()

Output result indicating where the data were exported to.

.google.cloud.retail.v2alpha.OutputResult output_result = 3;

Returns
TypeDescription
OutputResultOrBuilder

hasErrorsConfig()

public boolean hasErrorsConfig()

This field is never set.

.google.cloud.retail.v2alpha.ExportErrorsConfig errors_config = 2;

Returns
TypeDescription
boolean

Whether the errorsConfig field is set.

hasOutputResult()

public boolean hasOutputResult()

Output result indicating where the data were exported to.

.google.cloud.retail.v2alpha.OutputResult output_result = 3;

Returns
TypeDescription
boolean

Whether the outputResult field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeErrorsConfig(ExportErrorsConfig value)

public ExportAnalyticsMetricsResponse.Builder mergeErrorsConfig(ExportErrorsConfig value)

This field is never set.

.google.cloud.retail.v2alpha.ExportErrorsConfig errors_config = 2;

Parameter
NameDescription
valueExportErrorsConfig
Returns
TypeDescription
ExportAnalyticsMetricsResponse.Builder

mergeFrom(ExportAnalyticsMetricsResponse other)

public ExportAnalyticsMetricsResponse.Builder mergeFrom(ExportAnalyticsMetricsResponse other)
Parameter
NameDescription
otherExportAnalyticsMetricsResponse
Returns
TypeDescription
ExportAnalyticsMetricsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOutputResult(OutputResult value)

public ExportAnalyticsMetricsResponse.Builder mergeOutputResult(OutputResult value)

Output result indicating where the data were exported to.

.google.cloud.retail.v2alpha.OutputResult output_result = 3;

Parameter
NameDescription
valueOutputResult
Returns
TypeDescription
ExportAnalyticsMetricsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeErrorSamples(int index)

public ExportAnalyticsMetricsResponse.Builder removeErrorSamples(int index)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ExportAnalyticsMetricsResponse.Builder

setErrorSamples(int index, Status value)

public ExportAnalyticsMetricsResponse.Builder setErrorSamples(int index, Status value)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameters
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
ExportAnalyticsMetricsResponse.Builder

setErrorSamples(int index, Status.Builder builderForValue)

public ExportAnalyticsMetricsResponse.Builder setErrorSamples(int index, Status.Builder builderForValue)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameters
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
ExportAnalyticsMetricsResponse.Builder

setErrorsConfig(ExportErrorsConfig value)

public ExportAnalyticsMetricsResponse.Builder setErrorsConfig(ExportErrorsConfig value)

This field is never set.

.google.cloud.retail.v2alpha.ExportErrorsConfig errors_config = 2;

Parameter
NameDescription
valueExportErrorsConfig
Returns
TypeDescription
ExportAnalyticsMetricsResponse.Builder

setErrorsConfig(ExportErrorsConfig.Builder builderForValue)

public ExportAnalyticsMetricsResponse.Builder setErrorsConfig(ExportErrorsConfig.Builder builderForValue)

This field is never set.

.google.cloud.retail.v2alpha.ExportErrorsConfig errors_config = 2;

Parameter
NameDescription
builderForValueExportErrorsConfig.Builder
Returns
TypeDescription
ExportAnalyticsMetricsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setOutputResult(OutputResult value)

public ExportAnalyticsMetricsResponse.Builder setOutputResult(OutputResult value)

Output result indicating where the data were exported to.

.google.cloud.retail.v2alpha.OutputResult output_result = 3;

Parameter
NameDescription
valueOutputResult
Returns
TypeDescription
ExportAnalyticsMetricsResponse.Builder

setOutputResult(OutputResult.Builder builderForValue)

public ExportAnalyticsMetricsResponse.Builder setOutputResult(OutputResult.Builder builderForValue)

Output result indicating where the data were exported to.

.google.cloud.retail.v2alpha.OutputResult output_result = 3;

Parameter
NameDescription
builderForValueOutputResult.Builder
Returns
TypeDescription
ExportAnalyticsMetricsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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