Class Csv.CsvRow.Builder (0.72.0)

public static final class Csv.CsvRow.Builder extends GeneratedMessage.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
Type Description
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
Name Description
values Iterable<String>

The entries to add.

Returns
Type Description
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
Name Description
value String

The entries to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the entries to add.

Returns
Type Description
Csv.CsvRow.Builder

This builder for chaining.

build()

public Csv.CsvRow build()
Returns
Type Description
Csv.CsvRow

buildPartial()

public Csv.CsvRow buildPartial()
Returns
Type Description
Csv.CsvRow

clear()

public Csv.CsvRow.Builder clear()
Returns
Type Description
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
Type Description
Csv.CsvRow.Builder

This builder for chaining.

getDefaultInstanceForType()

public Csv.CsvRow getDefaultInstanceForType()
Returns
Type Description
Csv.CsvRow

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
ProtocolStringList

A list containing the entries.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Csv.CsvRow other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Csv.CsvRow.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The entries to set.

Returns
Type Description
Csv.CsvRow.Builder

This builder for chaining.