Class DatasetOutputConfig (2.54.0)

public final class DatasetOutputConfig extends GeneratedMessageV3 implements DatasetOutputConfigOrBuilder

Output configuration for datasets.

Protobuf type google.cloud.translation.v3.DatasetOutputConfig

Static Fields

GCS_DESTINATION_FIELD_NUMBER

public static final int GCS_DESTINATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DatasetOutputConfig getDefaultInstance()
Returns
Type Description
DatasetOutputConfig

getDescriptor()

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

newBuilder()

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

newBuilder(DatasetOutputConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DatasetOutputConfig getDefaultInstanceForType()
Returns
Type Description
DatasetOutputConfig

getDestinationCase()

public DatasetOutputConfig.DestinationCase getDestinationCase()
Returns
Type Description
DatasetOutputConfig.DestinationCase

getGcsDestination()

public GcsOutputDestination getGcsDestination()

Google Cloud Storage destination to write the output.

.google.cloud.translation.v3.GcsOutputDestination gcs_destination = 1;

Returns
Type Description
GcsOutputDestination

The gcsDestination.

getGcsDestinationOrBuilder()

public GcsOutputDestinationOrBuilder getGcsDestinationOrBuilder()

Google Cloud Storage destination to write the output.

.google.cloud.translation.v3.GcsOutputDestination gcs_destination = 1;

Returns
Type Description
GcsOutputDestinationOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasGcsDestination()

public boolean hasGcsDestination()

Google Cloud Storage destination to write the output.

.google.cloud.translation.v3.GcsOutputDestination gcs_destination = 1;

Returns
Type Description
boolean

Whether the gcsDestination 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 DatasetOutputConfig.Builder newBuilderForType()
Returns
Type Description
DatasetOutputConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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