Class Csv.CsvRow.Builder (0.37.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
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.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Csv.CsvRow.Builder clone()
Returns
Type Description
Csv.CsvRow.Builder
Overrides

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Csv.CsvRow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public Csv.CsvRow.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Csv.CsvRow.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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