Class Csv.CsvRow.Builder (0.8.0)

public static final class Csv.CsvRow.Builder extends GeneratedMessageV3.Builder<Csv.CsvRow.Builder> implements Csv.CsvRowOrBuilder

A representation of a single data row in a CSV file.

Protobuf type google.cloud.advisorynotifications.v1.Csv.CsvRow

Implements

Csv.CsvRowOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllEntries(Iterable<String> values)

public Csv.CsvRow.Builder addAllEntries(Iterable<String> values)

The data entries in a CSV file row, as a string array rather than a single comma-separated string.

repeated string entries = 1;

Parameter
NameDescription
valuesIterable<String>

The entries to add.

Returns
TypeDescription
Csv.CsvRow.Builder

This builder for chaining.

addEntries(String value)

public Csv.CsvRow.Builder addEntries(String value)

The data entries in a CSV file row, as a string array rather than a single comma-separated string.

repeated string entries = 1;

Parameter
NameDescription
valueString

The entries to add.

Returns
TypeDescription
Csv.CsvRow.Builder

This builder for chaining.

addEntriesBytes(ByteString value)

public Csv.CsvRow.Builder addEntriesBytes(ByteString value)

The data entries in a CSV file row, as a string array rather than a single comma-separated string.

repeated string entries = 1;

Parameter
NameDescription
valueByteString

The bytes of the entries to add.

Returns
TypeDescription
Csv.CsvRow.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Csv.CsvRow build()
Returns
TypeDescription
Csv.CsvRow

buildPartial()

public Csv.CsvRow buildPartial()
Returns
TypeDescription
Csv.CsvRow

clear()

public Csv.CsvRow.Builder clear()
Returns
TypeDescription
Csv.CsvRow.Builder
Overrides

clearEntries()

public Csv.CsvRow.Builder clearEntries()

The data entries in a CSV file row, as a string array rather than a single comma-separated string.

repeated string entries = 1;

Returns
TypeDescription
Csv.CsvRow.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Csv.CsvRow.Builder clone()
Returns
TypeDescription
Csv.CsvRow.Builder
Overrides

getDefaultInstanceForType()

public Csv.CsvRow getDefaultInstanceForType()
Returns
TypeDescription
Csv.CsvRow

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntries(int index)

public String getEntries(int index)

The data entries in a CSV file row, as a string array rather than a single comma-separated string.

repeated string entries = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The entries at the given index.

getEntriesBytes(int index)

public ByteString getEntriesBytes(int index)

The data entries in a CSV file row, as a string array rather than a single comma-separated string.

repeated string entries = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the entries at the given index.

getEntriesCount()

public int getEntriesCount()

The data entries in a CSV file row, as a string array rather than a single comma-separated string.

repeated string entries = 1;

Returns
TypeDescription
int

The count of entries.

getEntriesList()

public ProtocolStringList getEntriesList()

The data entries in a CSV file row, as a string array rather than a single comma-separated string.

repeated string entries = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the entries.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Csv.CsvRow other)

public Csv.CsvRow.Builder mergeFrom(Csv.CsvRow other)
Parameter
NameDescription
otherCsv.CsvRow
Returns
TypeDescription
Csv.CsvRow.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEntries(int index, String value)

public Csv.CsvRow.Builder setEntries(int index, String value)

The data entries in a CSV file row, as a string array rather than a single comma-separated string.

repeated string entries = 1;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The entries to set.

Returns
TypeDescription
Csv.CsvRow.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Csv.CsvRow.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Csv.CsvRow.Builder
Overrides

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

public Csv.CsvRow.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Csv.CsvRow.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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