Class ExportDataOperationResponse (0.139.0)

public final class ExportDataOperationResponse extends GeneratedMessageV3 implements ExportDataOperationResponseOrBuilder

Response used for ExportDataset longrunning operation.

Protobuf type google.cloud.datalabeling.v1beta1.ExportDataOperationResponse

Static Fields

DATASET_FIELD_NUMBER

public static final int DATASET_FIELD_NUMBER
Field Value
TypeDescription
int

EXPORT_COUNT_FIELD_NUMBER

public static final int EXPORT_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

LABEL_STATS_FIELD_NUMBER

public static final int LABEL_STATS_FIELD_NUMBER
Field Value
TypeDescription
int

OUTPUT_CONFIG_FIELD_NUMBER

public static final int OUTPUT_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

TOTAL_COUNT_FIELD_NUMBER

public static final int TOTAL_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ExportDataOperationResponse getDefaultInstance()
Returns
TypeDescription
ExportDataOperationResponse

getDescriptor()

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

newBuilder()

public static ExportDataOperationResponse.Builder newBuilder()
Returns
TypeDescription
ExportDataOperationResponse.Builder

newBuilder(ExportDataOperationResponse prototype)

public static ExportDataOperationResponse.Builder newBuilder(ExportDataOperationResponse prototype)
Parameter
NameDescription
prototypeExportDataOperationResponse
Returns
TypeDescription
ExportDataOperationResponse.Builder

parseDelimitedFrom(InputStream input)

public static ExportDataOperationResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExportDataOperationResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportDataOperationResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportDataOperationResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ExportDataOperationResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ExportDataOperationResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExportDataOperationResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportDataOperationResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExportDataOperationResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ExportDataOperationResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExportDataOperationResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportDataOperationResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExportDataOperationResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ExportDataOperationResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportDataOperationResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportDataOperationResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ExportDataOperationResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExportDataOperationResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportDataOperationResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportDataOperationResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ExportDataOperationResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ExportDataOperationResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExportDataOperationResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportDataOperationResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ExportDataOperationResponse> parser()
Returns
TypeDescription
Parser<ExportDataOperationResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDataset()

public String getDataset()

Ouptut only. The name of dataset. "projects/*/datasets/*"

string dataset = 1;

Returns
TypeDescription
String

The dataset.

getDatasetBytes()

public ByteString getDatasetBytes()

Ouptut only. The name of dataset. "projects/*/datasets/*"

string dataset = 1;

Returns
TypeDescription
ByteString

The bytes for dataset.

getDefaultInstanceForType()

public ExportDataOperationResponse getDefaultInstanceForType()
Returns
TypeDescription
ExportDataOperationResponse

getExportCount()

public int getExportCount()

Output only. Number of examples exported successfully.

int32 export_count = 3;

Returns
TypeDescription
int

The exportCount.

getLabelStats()

public LabelStats getLabelStats()

Output only. Statistic infos of labels in the exported dataset.

.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 4;

Returns
TypeDescription
LabelStats

The labelStats.

getLabelStatsOrBuilder()

public LabelStatsOrBuilder getLabelStatsOrBuilder()

Output only. Statistic infos of labels in the exported dataset.

.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 4;

Returns
TypeDescription
LabelStatsOrBuilder

getOutputConfig()

public OutputConfig getOutputConfig()

Output only. output_config in the ExportData request.

.google.cloud.datalabeling.v1beta1.OutputConfig output_config = 5;

Returns
TypeDescription
OutputConfig

The outputConfig.

getOutputConfigOrBuilder()

public OutputConfigOrBuilder getOutputConfigOrBuilder()

Output only. output_config in the ExportData request.

.google.cloud.datalabeling.v1beta1.OutputConfig output_config = 5;

Returns
TypeDescription
OutputConfigOrBuilder

getParserForType()

public Parser<ExportDataOperationResponse> getParserForType()
Returns
TypeDescription
Parser<ExportDataOperationResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTotalCount()

public int getTotalCount()

Output only. Total number of examples requested to export

int32 total_count = 2;

Returns
TypeDescription
int

The totalCount.

hasLabelStats()

public boolean hasLabelStats()

Output only. Statistic infos of labels in the exported dataset.

.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 4;

Returns
TypeDescription
boolean

Whether the labelStats field is set.

hasOutputConfig()

public boolean hasOutputConfig()

Output only. output_config in the ExportData request.

.google.cloud.datalabeling.v1beta1.OutputConfig output_config = 5;

Returns
TypeDescription
boolean

Whether the outputConfig field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ExportDataOperationResponse.Builder newBuilderForType()
Returns
TypeDescription
ExportDataOperationResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExportDataOperationResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ExportDataOperationResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ExportDataOperationResponse.Builder toBuilder()
Returns
TypeDescription
ExportDataOperationResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException