Class ExportDataOperationResponse (0.162.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
Type Description
int

EXPORT_COUNT_FIELD_NUMBER

public static final int EXPORT_COUNT_FIELD_NUMBER
Field Value
Type Description
int

LABEL_STATS_FIELD_NUMBER

public static final int LABEL_STATS_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_CONFIG_FIELD_NUMBER

public static final int OUTPUT_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

TOTAL_COUNT_FIELD_NUMBER

public static final int TOTAL_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExportDataOperationResponse getDefaultInstance()
Returns
Type Description
ExportDataOperationResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ExportDataOperationResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDataset()

public String getDataset()

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

string dataset = 1;

Returns
Type Description
String

The dataset.

getDatasetBytes()

public ByteString getDatasetBytes()

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

string dataset = 1;

Returns
Type Description
ByteString

The bytes for dataset.

getDefaultInstanceForType()

public ExportDataOperationResponse getDefaultInstanceForType()
Returns
Type Description
ExportDataOperationResponse

getExportCount()

public int getExportCount()

Output only. Number of examples exported successfully.

int32 export_count = 3;

Returns
Type Description
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
Type Description
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
Type Description
LabelStatsOrBuilder

getOutputConfig()

public OutputConfig getOutputConfig()

Output only. output_config in the ExportData request.

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

Returns
Type Description
OutputConfig

The outputConfig.

getOutputConfigOrBuilder()

public OutputConfigOrBuilder getOutputConfigOrBuilder()

Output only. output_config in the ExportData request.

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

Returns
Type Description
OutputConfigOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTotalCount()

public int getTotalCount()

Output only. Total number of examples requested to export

int32 total_count = 2;

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the outputConfig field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExportDataOperationResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExportDataOperationResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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