Class CsvInstruction (0.124.0)

public final class CsvInstruction extends GeneratedMessageV3 implements CsvInstructionOrBuilder

Deprecated: this instruction format is not supported any more. Instruction from a CSV file.

Protobuf type google.cloud.datalabeling.v1beta1.CsvInstruction

Static Fields

GCS_FILE_URI_FIELD_NUMBER

public static final int GCS_FILE_URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CsvInstruction getDefaultInstance()
Returns
TypeDescription
CsvInstruction

getDescriptor()

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

newBuilder()

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

newBuilder(CsvInstruction prototype)

public static CsvInstruction.Builder newBuilder(CsvInstruction prototype)
Parameter
NameDescription
prototypeCsvInstruction
Returns
TypeDescription
CsvInstruction.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CsvInstruction getDefaultInstanceForType()
Returns
TypeDescription
CsvInstruction

getGcsFileUri()

public String getGcsFileUri()

CSV file for the instruction. Only gcs path is allowed.

string gcs_file_uri = 1;

Returns
TypeDescription
String

The gcsFileUri.

getGcsFileUriBytes()

public ByteString getGcsFileUriBytes()

CSV file for the instruction. Only gcs path is allowed.

string gcs_file_uri = 1;

Returns
TypeDescription
ByteString

The bytes for gcsFileUri.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 CsvInstruction.Builder newBuilderForType()
Returns
TypeDescription
CsvInstruction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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