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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Csv.CsvRow.BuilderImplements
Csv.CsvRowOrBuilderStatic 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 |
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 |
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 |
clearOneof(Descriptors.OneofDescriptor oneof)
public Csv.CsvRow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Csv.CsvRow.Builder |
clone()
public Csv.CsvRow.Builder clone()
Returns | |
---|---|
Type | Description |
Csv.CsvRow.Builder |
getDefaultInstanceForType()
public Csv.CsvRow getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Csv.CsvRow |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Csv.CsvRow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Csv.CsvRow.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final Csv.CsvRow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Csv.CsvRow.Builder |