public final class Csv extends GeneratedMessageV3 implements CsvOrBuilder
A representation of a CSV file attachment, as a list of column headers and a list of data rows.
Protobuf type google.cloud.advisorynotifications.v1.Csv
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CsvImplements
CsvOrBuilderStatic Fields
DATA_ROWS_FIELD_NUMBER
public static final int DATA_ROWS_FIELD_NUMBER
Type | Description |
int |
HEADERS_FIELD_NUMBER
public static final int HEADERS_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Csv getDefaultInstance()
Type | Description |
Csv |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Csv.Builder newBuilder()
Type | Description |
Csv.Builder |
newBuilder(Csv prototype)
public static Csv.Builder newBuilder(Csv prototype)
Name | Description |
prototype | Csv |
Type | Description |
Csv.Builder |
parseDelimitedFrom(InputStream input)
public static Csv parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Csv |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Csv parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Csv |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Csv parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Csv |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Csv parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Csv |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Csv parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Csv |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Csv parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Csv |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Csv parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Csv |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Csv parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Csv |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Csv parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Csv |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Csv parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Csv |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Csv parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Csv |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Csv parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Csv |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Csv> parser()
Type | Description |
Parser<Csv> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDataRows(int index)
public Csv.CsvRow getDataRows(int index)
The list of data rows in a CSV file, as string arrays rather than as a single comma-separated string.
repeated .google.cloud.advisorynotifications.v1.Csv.CsvRow data_rows = 2;
Name | Description |
index | int |
Type | Description |
Csv.CsvRow |
getDataRowsCount()
public int getDataRowsCount()
The list of data rows in a CSV file, as string arrays rather than as a single comma-separated string.
repeated .google.cloud.advisorynotifications.v1.Csv.CsvRow data_rows = 2;
Type | Description |
int |
getDataRowsList()
public List<Csv.CsvRow> getDataRowsList()
The list of data rows in a CSV file, as string arrays rather than as a single comma-separated string.
repeated .google.cloud.advisorynotifications.v1.Csv.CsvRow data_rows = 2;
Type | Description |
List<CsvRow> |
getDataRowsOrBuilder(int index)
public Csv.CsvRowOrBuilder getDataRowsOrBuilder(int index)
The list of data rows in a CSV file, as string arrays rather than as a single comma-separated string.
repeated .google.cloud.advisorynotifications.v1.Csv.CsvRow data_rows = 2;
Name | Description |
index | int |
Type | Description |
Csv.CsvRowOrBuilder |
getDataRowsOrBuilderList()
public List<? extends Csv.CsvRowOrBuilder> getDataRowsOrBuilderList()
The list of data rows in a CSV file, as string arrays rather than as a single comma-separated string.
repeated .google.cloud.advisorynotifications.v1.Csv.CsvRow data_rows = 2;
Type | Description |
List<? extends com.google.cloud.advisorynotifications.v1.Csv.CsvRowOrBuilder> |
getDefaultInstanceForType()
public Csv getDefaultInstanceForType()
Type | Description |
Csv |
getHeaders(int index)
public String getHeaders(int index)
The list of headers for data columns in a CSV file.
repeated string headers = 1;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The headers at the given index. |
getHeadersBytes(int index)
public ByteString getHeadersBytes(int index)
The list of headers for data columns in a CSV file.
repeated string headers = 1;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the headers at the given index. |
getHeadersCount()
public int getHeadersCount()
The list of headers for data columns in a CSV file.
repeated string headers = 1;
Type | Description |
int | The count of headers. |
getHeadersList()
public ProtocolStringList getHeadersList()
The list of headers for data columns in a CSV file.
repeated string headers = 1;
Type | Description |
ProtocolStringList | A list containing the headers. |
getParserForType()
public Parser<Csv> getParserForType()
Type | Description |
Parser<Csv> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public Csv.Builder newBuilderForType()
Type | Description |
Csv.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Csv.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Csv.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Csv.Builder toBuilder()
Type | Description |
Csv.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |