Class ExportEvaluationsResponse.Builder (0.9.0)

public static final class ExportEvaluationsResponse.Builder extends GeneratedMessage.Builder<ExportEvaluationsResponse.Builder> implements ExportEvaluationsResponseOrBuilder

Response message for EvaluationService.ExportEvaluations.

Protobuf type google.cloud.ces.v1beta.ExportEvaluationsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ExportEvaluationsResponse build()
Returns
Type Description
ExportEvaluationsResponse

buildPartial()

public ExportEvaluationsResponse buildPartial()
Returns
Type Description
ExportEvaluationsResponse

clear()

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

clearEvaluations()

public ExportEvaluationsResponse.Builder clearEvaluations()
Returns
Type Description
ExportEvaluationsResponse.Builder

clearEvaluationsContent()

public ExportEvaluationsResponse.Builder clearEvaluationsContent()

The content of the exported Evaluations. This will be populated if gcs_uri was not specified in the request.

bytes evaluations_content = 1;

Returns
Type Description
ExportEvaluationsResponse.Builder

This builder for chaining.

clearEvaluationsUri()

public ExportEvaluationsResponse.Builder clearEvaluationsUri()

The Google Cloud Storage URI folder where the exported evaluations were written. This will be populated if gcs_uri was specified in the request.

string evaluations_uri = 2;

Returns
Type Description
ExportEvaluationsResponse.Builder

This builder for chaining.

clearFailedEvaluations()

public ExportEvaluationsResponse.Builder clearFailedEvaluations()
Returns
Type Description
ExportEvaluationsResponse.Builder

containsFailedEvaluations(String key)

public boolean containsFailedEvaluations(String key)

Output only. A map of evaluation resource names that could not be exported, to the reason why they failed.

map<string, string> failed_evaluations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public ExportEvaluationsResponse getDefaultInstanceForType()
Returns
Type Description
ExportEvaluationsResponse

getDescriptorForType()

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

getEvaluationsCase()

public ExportEvaluationsResponse.EvaluationsCase getEvaluationsCase()
Returns
Type Description
ExportEvaluationsResponse.EvaluationsCase

getEvaluationsContent()

public ByteString getEvaluationsContent()

The content of the exported Evaluations. This will be populated if gcs_uri was not specified in the request.

bytes evaluations_content = 1;

Returns
Type Description
ByteString

The evaluationsContent.

getEvaluationsUri()

public String getEvaluationsUri()

The Google Cloud Storage URI folder where the exported evaluations were written. This will be populated if gcs_uri was specified in the request.

string evaluations_uri = 2;

Returns
Type Description
String

The evaluationsUri.

getEvaluationsUriBytes()

public ByteString getEvaluationsUriBytes()

The Google Cloud Storage URI folder where the exported evaluations were written. This will be populated if gcs_uri was specified in the request.

string evaluations_uri = 2;

Returns
Type Description
ByteString

The bytes for evaluationsUri.

getFailedEvaluations() (deprecated)

public Map<String,String> getFailedEvaluations()
Returns
Type Description
Map<String,String>

getFailedEvaluationsCount()

public int getFailedEvaluationsCount()

Output only. A map of evaluation resource names that could not be exported, to the reason why they failed.

map<string, string> failed_evaluations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getFailedEvaluationsMap()

public Map<String,String> getFailedEvaluationsMap()

Output only. A map of evaluation resource names that could not be exported, to the reason why they failed.

map<string, string> failed_evaluations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Map<String,String>

getFailedEvaluationsOrDefault(String key, String defaultValue)

public String getFailedEvaluationsOrDefault(String key, String defaultValue)

Output only. A map of evaluation resource names that could not be exported, to the reason why they failed.

map<string, string> failed_evaluations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getFailedEvaluationsOrThrow(String key)

public String getFailedEvaluationsOrThrow(String key)

Output only. A map of evaluation resource names that could not be exported, to the reason why they failed.

map<string, string> failed_evaluations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
String

getMutableFailedEvaluations() (deprecated)

public Map<String,String> getMutableFailedEvaluations()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

hasEvaluationsContent()

public boolean hasEvaluationsContent()

The content of the exported Evaluations. This will be populated if gcs_uri was not specified in the request.

bytes evaluations_content = 1;

Returns
Type Description
boolean

Whether the evaluationsContent field is set.

hasEvaluationsUri()

public boolean hasEvaluationsUri()

The Google Cloud Storage URI folder where the exported evaluations were written. This will be populated if gcs_uri was specified in the request.

string evaluations_uri = 2;

Returns
Type Description
boolean

Whether the evaluationsUri field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportEvaluationsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

putAllFailedEvaluations(Map<String,String> values)

public ExportEvaluationsResponse.Builder putAllFailedEvaluations(Map<String,String> values)

Output only. A map of evaluation resource names that could not be exported, to the reason why they failed.

map<string, string> failed_evaluations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
ExportEvaluationsResponse.Builder

putFailedEvaluations(String key, String value)

public ExportEvaluationsResponse.Builder putFailedEvaluations(String key, String value)

Output only. A map of evaluation resource names that could not be exported, to the reason why they failed.

map<string, string> failed_evaluations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
value String
Returns
Type Description
ExportEvaluationsResponse.Builder

removeFailedEvaluations(String key)

public ExportEvaluationsResponse.Builder removeFailedEvaluations(String key)

Output only. A map of evaluation resource names that could not be exported, to the reason why they failed.

map<string, string> failed_evaluations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
ExportEvaluationsResponse.Builder

setEvaluationsContent(ByteString value)

public ExportEvaluationsResponse.Builder setEvaluationsContent(ByteString value)

The content of the exported Evaluations. This will be populated if gcs_uri was not specified in the request.

bytes evaluations_content = 1;

Parameter
Name Description
value ByteString

The evaluationsContent to set.

Returns
Type Description
ExportEvaluationsResponse.Builder

This builder for chaining.

setEvaluationsUri(String value)

public ExportEvaluationsResponse.Builder setEvaluationsUri(String value)

The Google Cloud Storage URI folder where the exported evaluations were written. This will be populated if gcs_uri was specified in the request.

string evaluations_uri = 2;

Parameter
Name Description
value String

The evaluationsUri to set.

Returns
Type Description
ExportEvaluationsResponse.Builder

This builder for chaining.

setEvaluationsUriBytes(ByteString value)

public ExportEvaluationsResponse.Builder setEvaluationsUriBytes(ByteString value)

The Google Cloud Storage URI folder where the exported evaluations were written. This will be populated if gcs_uri was specified in the request.

string evaluations_uri = 2;

Parameter
Name Description
value ByteString

The bytes for evaluationsUri to set.

Returns
Type Description
ExportEvaluationsResponse.Builder

This builder for chaining.