- 0.74.0 (latest)
- 0.72.0
- 0.71.0
- 0.70.0
- 0.69.0
- 0.67.0
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.61.0
- 0.59.0
- 0.57.0
- 0.56.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
- 0.0.1
public static final class Csv.Builder extends GeneratedMessage.Builder<Csv.Builder> implements CsvOrBuilderA 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
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Csv.BuilderImplements
CsvOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllDataRows(Iterable<? extends Csv.CsvRow> values)
public Csv.Builder addAllDataRows(Iterable<? extends Csv.CsvRow> values)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;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.advisorynotifications.v1.Csv.CsvRow> |
| Returns | |
|---|---|
| Type | Description |
Csv.Builder |
|
addAllHeaders(Iterable<String> values)
public Csv.Builder addAllHeaders(Iterable<String> values)The list of headers for data columns in a CSV file.
repeated string headers = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The headers to add. |
| Returns | |
|---|---|
| Type | Description |
Csv.Builder |
This builder for chaining. |
addDataRows(Csv.CsvRow value)
public Csv.Builder addDataRows(Csv.CsvRow value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
Csv.CsvRow |
| Returns | |
|---|---|
| Type | Description |
Csv.Builder |
|
addDataRows(Csv.CsvRow.Builder builderForValue)
public Csv.Builder addDataRows(Csv.CsvRow.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Csv.CsvRow.Builder |
| Returns | |
|---|---|
| Type | Description |
Csv.Builder |
|
addDataRows(int index, Csv.CsvRow value)
public Csv.Builder addDataRows(int index, Csv.CsvRow value)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Csv.CsvRow |
| Returns | |
|---|---|
| Type | Description |
Csv.Builder |
|
addDataRows(int index, Csv.CsvRow.Builder builderForValue)
public Csv.Builder addDataRows(int index, Csv.CsvRow.Builder builderForValue)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Csv.CsvRow.Builder |
| Returns | |
|---|---|
| Type | Description |
Csv.Builder |
|
addDataRowsBuilder()
public Csv.CsvRow.Builder addDataRowsBuilder()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;
| Returns | |
|---|---|
| Type | Description |
Csv.CsvRow.Builder |
|
addDataRowsBuilder(int index)
public Csv.CsvRow.Builder addDataRowsBuilder(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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Csv.CsvRow.Builder |
|
addHeaders(String value)
public Csv.Builder addHeaders(String value)The list of headers for data columns in a CSV file.
repeated string headers = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe headers to add. |
| Returns | |
|---|---|
| Type | Description |
Csv.Builder |
This builder for chaining. |
addHeadersBytes(ByteString value)
public Csv.Builder addHeadersBytes(ByteString value)The list of headers for data columns in a CSV file.
repeated string headers = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the headers to add. |
| Returns | |
|---|---|
| Type | Description |
Csv.Builder |
This builder for chaining. |
build()
public Csv build()| Returns | |
|---|---|
| Type | Description |
Csv |
|
buildPartial()
public Csv buildPartial()| Returns | |
|---|---|
| Type | Description |
Csv |
|
clear()
public Csv.Builder clear()| Returns | |
|---|---|
| Type | Description |
Csv.Builder |
|
clearDataRows()
public Csv.Builder clearDataRows()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;
| Returns | |
|---|---|
| Type | Description |
Csv.Builder |
|
clearHeaders()
public Csv.Builder clearHeaders()The list of headers for data columns in a CSV file.
repeated string headers = 1;
| Returns | |
|---|---|
| Type | Description |
Csv.Builder |
This builder for chaining. |
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Csv.CsvRow |
|
getDataRowsBuilder(int index)
public Csv.CsvRow.Builder getDataRowsBuilder(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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Csv.CsvRow.Builder |
|
getDataRowsBuilderList()
public List<Csv.CsvRow.Builder> getDataRowsBuilderList()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;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.advisorynotifications.v1.Csv.CsvRowOrBuilder> |
|
getDefaultInstanceForType()
public Csv getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Csv |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHeaders(int index)
public String getHeaders(int index)The list of headers for data columns in a CSV file.
repeated string headers = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the headers. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Csv other)
public Csv.Builder mergeFrom(Csv other)| Parameter | |
|---|---|
| Name | Description |
other |
Csv |
| Returns | |
|---|---|
| Type | Description |
Csv.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Csv.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Csv.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Csv.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Csv.Builder |
|
removeDataRows(int index)
public Csv.Builder removeDataRows(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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Csv.Builder |
|
setDataRows(int index, Csv.CsvRow value)
public Csv.Builder setDataRows(int index, Csv.CsvRow value)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Csv.CsvRow |
| Returns | |
|---|---|
| Type | Description |
Csv.Builder |
|
setDataRows(int index, Csv.CsvRow.Builder builderForValue)
public Csv.Builder setDataRows(int index, Csv.CsvRow.Builder builderForValue)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Csv.CsvRow.Builder |
| Returns | |
|---|---|
| Type | Description |
Csv.Builder |
|
setHeaders(int index, String value)
public Csv.Builder setHeaders(int index, String value)The list of headers for data columns in a CSV file.
repeated string headers = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe headers to set. |
| Returns | |
|---|---|
| Type | Description |
Csv.Builder |
This builder for chaining. |