Class ExportEvaluationsResponse (0.9.0)

public final class ExportEvaluationsResponse extends GeneratedMessage implements ExportEvaluationsResponseOrBuilder

Response message for EvaluationService.ExportEvaluations.

Protobuf type google.cloud.ces.v1beta.ExportEvaluationsResponse

Static Fields

EVALUATIONS_CONTENT_FIELD_NUMBER

public static final int EVALUATIONS_CONTENT_FIELD_NUMBER
Field Value
Type Description
int

EVALUATIONS_URI_FIELD_NUMBER

public static final int EVALUATIONS_URI_FIELD_NUMBER
Field Value
Type Description
int

FAILED_EVALUATIONS_FIELD_NUMBER

public static final int FAILED_EVALUATIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExportEvaluationsResponse getDefaultInstance()
Returns
Type Description
ExportEvaluationsResponse

getDescriptor()

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

newBuilder()

public static ExportEvaluationsResponse.Builder newBuilder()
Returns
Type Description
ExportEvaluationsResponse.Builder

newBuilder(ExportEvaluationsResponse prototype)

public static ExportEvaluationsResponse.Builder newBuilder(ExportEvaluationsResponse prototype)
Parameter
Name Description
prototype ExportEvaluationsResponse
Returns
Type Description
ExportEvaluationsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ExportEvaluationsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExportEvaluationsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportEvaluationsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportEvaluationsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExportEvaluationsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExportEvaluationsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExportEvaluationsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportEvaluationsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExportEvaluationsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExportEvaluationsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExportEvaluationsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportEvaluationsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExportEvaluationsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExportEvaluationsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportEvaluationsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportEvaluationsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExportEvaluationsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExportEvaluationsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportEvaluationsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportEvaluationsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExportEvaluationsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExportEvaluationsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExportEvaluationsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportEvaluationsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExportEvaluationsResponse> parser()
Returns
Type Description
Parser<ExportEvaluationsResponse>

Methods

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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ExportEvaluationsResponse getDefaultInstanceForType()
Returns
Type Description
ExportEvaluationsResponse

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

getParserForType()

public Parser<ExportEvaluationsResponse> getParserForType()
Returns
Type Description
Parser<ExportEvaluationsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

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.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ExportEvaluationsResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExportEvaluationsResponse.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException