Class CsvInstruction.Builder (0.169.0)

public static final class CsvInstruction.Builder extends GeneratedMessageV3.Builder<CsvInstruction.Builder> implements CsvInstructionOrBuilder

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

Protobuf type google.cloud.datalabeling.v1beta1.CsvInstruction

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CsvInstruction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CsvInstruction.Builder
Overrides

build()

public CsvInstruction build()
Returns
Type Description
CsvInstruction

buildPartial()

public CsvInstruction buildPartial()
Returns
Type Description
CsvInstruction

clear()

public CsvInstruction.Builder clear()
Returns
Type Description
CsvInstruction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CsvInstruction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CsvInstruction.Builder
Overrides

clearGcsFileUri()

public CsvInstruction.Builder clearGcsFileUri()

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

string gcs_file_uri = 1;

Returns
Type Description
CsvInstruction.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CsvInstruction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CsvInstruction.Builder
Overrides

clone()

public CsvInstruction.Builder clone()
Returns
Type Description
CsvInstruction.Builder
Overrides

getDefaultInstanceForType()

public CsvInstruction getDefaultInstanceForType()
Returns
Type Description
CsvInstruction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGcsFileUri()

public String getGcsFileUri()

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

string gcs_file_uri = 1;

Returns
Type Description
String

The gcsFileUri.

getGcsFileUriBytes()

public ByteString getGcsFileUriBytes()

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

string gcs_file_uri = 1;

Returns
Type Description
ByteString

The bytes for gcsFileUri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CsvInstruction other)

public CsvInstruction.Builder mergeFrom(CsvInstruction other)
Parameter
Name Description
other CsvInstruction
Returns
Type Description
CsvInstruction.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CsvInstruction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CsvInstruction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CsvInstruction.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CsvInstruction.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CsvInstruction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CsvInstruction.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CsvInstruction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CsvInstruction.Builder
Overrides

setGcsFileUri(String value)

public CsvInstruction.Builder setGcsFileUri(String value)

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

string gcs_file_uri = 1;

Parameter
Name Description
value String

The gcsFileUri to set.

Returns
Type Description
CsvInstruction.Builder

This builder for chaining.

setGcsFileUriBytes(ByteString value)

public CsvInstruction.Builder setGcsFileUriBytes(ByteString value)

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

string gcs_file_uri = 1;

Parameter
Name Description
value ByteString

The bytes for gcsFileUri to set.

Returns
Type Description
CsvInstruction.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CsvInstruction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CsvInstruction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CsvInstruction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CsvInstruction.Builder
Overrides