Class Csv.CsvRow (0.41.0)

public static final class Csv.CsvRow extends GeneratedMessageV3 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 Fields

ENTRIES_FIELD_NUMBER

public static final int ENTRIES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Csv.CsvRow getDefaultInstance()
Returns
Type Description
Csv.CsvRow

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Csv.CsvRow.Builder newBuilder()
Returns
Type Description
Csv.CsvRow.Builder

newBuilder(Csv.CsvRow prototype)

public static Csv.CsvRow.Builder newBuilder(Csv.CsvRow prototype)
Parameter
Name Description
prototype Csv.CsvRow
Returns
Type Description
Csv.CsvRow.Builder

parseDelimitedFrom(InputStream input)

public static Csv.CsvRow parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Csv.CsvRow
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Csv.CsvRow parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Csv.CsvRow
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Csv.CsvRow parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Csv.CsvRow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Csv.CsvRow parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Csv.CsvRow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Csv.CsvRow parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Csv.CsvRow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Csv.CsvRow parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Csv.CsvRow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Csv.CsvRow parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Csv.CsvRow
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Csv.CsvRow parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Csv.CsvRow
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Csv.CsvRow parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Csv.CsvRow
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Csv.CsvRow parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Csv.CsvRow
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Csv.CsvRow parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Csv.CsvRow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Csv.CsvRow parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Csv.CsvRow
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Csv.CsvRow> parser()
Returns
Type Description
Parser<CsvRow>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<Csv.CsvRow> getParserForType()
Returns
Type Description
Parser<CsvRow>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Csv.CsvRow.Builder newBuilderForType()
Returns
Type Description
Csv.CsvRow.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Csv.CsvRow.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Csv.CsvRow.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Csv.CsvRow.Builder toBuilder()
Returns
Type Description
Csv.CsvRow.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException