Class CsvInstruction.Builder (0.128.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CsvInstruction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CsvInstruction.Builder
Overrides

build()

public CsvInstruction build()
Returns
TypeDescription
CsvInstruction

buildPartial()

public CsvInstruction buildPartial()
Returns
TypeDescription
CsvInstruction

clear()

public CsvInstruction.Builder clear()
Returns
TypeDescription
CsvInstruction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CsvInstruction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CsvInstruction.Builder
Overrides

clearGcsFileUri()

public CsvInstruction.Builder clearGcsFileUri()

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

string gcs_file_uri = 1;

Returns
TypeDescription
CsvInstruction.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CsvInstruction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CsvInstruction.Builder
Overrides

clone()

public CsvInstruction.Builder clone()
Returns
TypeDescription
CsvInstruction.Builder
Overrides

getDefaultInstanceForType()

public CsvInstruction getDefaultInstanceForType()
Returns
TypeDescription
CsvInstruction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CsvInstruction other)

public CsvInstruction.Builder mergeFrom(CsvInstruction other)
Parameter
NameDescription
otherCsvInstruction
Returns
TypeDescription
CsvInstruction.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CsvInstruction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CsvInstruction.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CsvInstruction.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CsvInstruction.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CsvInstruction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CsvInstruction.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CsvInstruction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The gcsFileUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for gcsFileUri to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CsvInstruction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CsvInstruction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CsvInstruction.Builder
Overrides