Class Csv.CsvRow (0.9.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static Csv.CsvRow getDefaultInstance()
Returns
TypeDescription
Csv.CsvRow

getDescriptor()

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

newBuilder()

public static Csv.CsvRow.Builder newBuilder()
Returns
TypeDescription
Csv.CsvRow.Builder

newBuilder(Csv.CsvRow prototype)

public static Csv.CsvRow.Builder newBuilder(Csv.CsvRow prototype)
Parameter
NameDescription
prototypeCsv.CsvRow
Returns
TypeDescription
Csv.CsvRow.Builder

parseDelimitedFrom(InputStream input)

public static Csv.CsvRow parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Csv.CsvRow
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Csv.CsvRow parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Csv.CsvRow
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Csv.CsvRow parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Csv.CsvRow
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Csv.CsvRow parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Csv.CsvRow
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Csv.CsvRow parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Csv.CsvRow
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Csv.CsvRow parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Csv.CsvRow
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Csv.CsvRow parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Csv.CsvRow
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Csv.CsvRow parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Csv.CsvRow
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Csv.CsvRow parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Csv.CsvRow
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Csv.CsvRow parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Csv.CsvRow
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Csv.CsvRow parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Csv.CsvRow
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Csv.CsvRow parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Csv.CsvRow
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Csv.CsvRow getDefaultInstanceForType()
Returns
TypeDescription
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
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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Csv.CsvRow.Builder newBuilderForType()
Returns
TypeDescription
Csv.CsvRow.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Csv.CsvRow.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Csv.CsvRow.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Csv.CsvRow.Builder toBuilder()
Returns
TypeDescription
Csv.CsvRow.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException