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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CsvInstruction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CsvInstruction build()
Returns
buildPartial()
public CsvInstruction buildPartial()
Returns
clear()
public CsvInstruction.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CsvInstruction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGcsFileUri()
public CsvInstruction.Builder clearGcsFileUri()
CSV file for the instruction. Only gcs path is allowed.
string gcs_file_uri = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public CsvInstruction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public CsvInstruction.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CsvInstruction getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CsvInstruction other)
public CsvInstruction.Builder mergeFrom(CsvInstruction other)
Parameter
Returns
public CsvInstruction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CsvInstruction.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CsvInstruction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CsvInstruction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CsvInstruction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CsvInstruction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides