public static final class DataTableRow.Builder extends GeneratedMessage.Builder<DataTableRow.Builder> implements DataTableRowOrBuilderDataTableRow represents a single row in a data table.
Protobuf type google.cloud.chronicle.v1.DataTableRow
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataTableRow.BuilderImplements
DataTableRowOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllValues(Iterable<String> values)
public DataTableRow.Builder addAllValues(Iterable<String> values)Required. All column values for a single row. The values should be in the same order as the columns of the data tables.
repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The values to add. |
| Returns | |
|---|---|
| Type | Description |
DataTableRow.Builder |
This builder for chaining. |
addValues(String value)
public DataTableRow.Builder addValues(String value)Required. All column values for a single row. The values should be in the same order as the columns of the data tables.
repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe values to add. |
| Returns | |
|---|---|
| Type | Description |
DataTableRow.Builder |
This builder for chaining. |
addValuesBytes(ByteString value)
public DataTableRow.Builder addValuesBytes(ByteString value)Required. All column values for a single row. The values should be in the same order as the columns of the data tables.
repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the values to add. |
| Returns | |
|---|---|
| Type | Description |
DataTableRow.Builder |
This builder for chaining. |
build()
public DataTableRow build()| Returns | |
|---|---|
| Type | Description |
DataTableRow |
|
buildPartial()
public DataTableRow buildPartial()| Returns | |
|---|---|
| Type | Description |
DataTableRow |
|
clear()
public DataTableRow.Builder clear()| Returns | |
|---|---|
| Type | Description |
DataTableRow.Builder |
|
clearCreateTime()
public DataTableRow.Builder clearCreateTime()Output only. DataTableRow create time
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataTableRow.Builder |
|
clearName()
public DataTableRow.Builder clearName()Identifier. The resource name of the data table Format: projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table}/dataTableRows/{data_table_row}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
DataTableRow.Builder |
This builder for chaining. |
clearRowTimeToLive()
public DataTableRow.Builder clearRowTimeToLive()Optional. User-provided TTL of the data table row.
string row_time_to_live = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataTableRow.Builder |
This builder for chaining. |
clearUpdateTime()
public DataTableRow.Builder clearUpdateTime()Output only. DataTableRow update time
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataTableRow.Builder |
|
clearValues()
public DataTableRow.Builder clearValues()Required. All column values for a single row. The values should be in the same order as the columns of the data tables.
repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataTableRow.Builder |
This builder for chaining. |
getCreateTime()
public Timestamp getCreateTime()Output only. DataTableRow create time
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. DataTableRow create time
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. DataTableRow create time
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public DataTableRow getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataTableRow |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Identifier. The resource name of the data table Format: projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table}/dataTableRows/{data_table_row}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Identifier. The resource name of the data table Format: projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table}/dataTableRows/{data_table_row}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getRowTimeToLive()
public String getRowTimeToLive()Optional. User-provided TTL of the data table row.
string row_time_to_live = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The rowTimeToLive. |
getRowTimeToLiveBytes()
public ByteString getRowTimeToLiveBytes()Optional. User-provided TTL of the data table row.
string row_time_to_live = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for rowTimeToLive. |
getUpdateTime()
public Timestamp getUpdateTime()Output only. DataTableRow update time
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. DataTableRow update time
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. DataTableRow update time
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getValues(int index)
public String getValues(int index)Required. All column values for a single row. The values should be in the same order as the columns of the data tables.
repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The values at the given index. |
getValuesBytes(int index)
public ByteString getValuesBytes(int index)Required. All column values for a single row. The values should be in the same order as the columns of the data tables.
repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the values at the given index. |
getValuesCount()
public int getValuesCount()Required. All column values for a single row. The values should be in the same order as the columns of the data tables.
repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count of values. |
getValuesList()
public ProtocolStringList getValuesList()Required. All column values for a single row. The values should be in the same order as the columns of the data tables.
repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the values. |
hasCreateTime()
public boolean hasCreateTime()Output only. DataTableRow create time
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. DataTableRow update time
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public DataTableRow.Builder mergeCreateTime(Timestamp value)Output only. DataTableRow create time
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DataTableRow.Builder |
|
mergeFrom(DataTableRow other)
public DataTableRow.Builder mergeFrom(DataTableRow other)| Parameter | |
|---|---|
| Name | Description |
other |
DataTableRow |
| Returns | |
|---|---|
| Type | Description |
DataTableRow.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataTableRow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataTableRow.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataTableRow.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataTableRow.Builder |
|
mergeUpdateTime(Timestamp value)
public DataTableRow.Builder mergeUpdateTime(Timestamp value)Output only. DataTableRow update time
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DataTableRow.Builder |
|
setCreateTime(Timestamp value)
public DataTableRow.Builder setCreateTime(Timestamp value)Output only. DataTableRow create time
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DataTableRow.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public DataTableRow.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. DataTableRow create time
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DataTableRow.Builder |
|
setName(String value)
public DataTableRow.Builder setName(String value)Identifier. The resource name of the data table Format: projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table}/dataTableRows/{data_table_row}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DataTableRow.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DataTableRow.Builder setNameBytes(ByteString value)Identifier. The resource name of the data table Format: projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table}/dataTableRows/{data_table_row}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DataTableRow.Builder |
This builder for chaining. |
setRowTimeToLive(String value)
public DataTableRow.Builder setRowTimeToLive(String value)Optional. User-provided TTL of the data table row.
string row_time_to_live = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe rowTimeToLive to set. |
| Returns | |
|---|---|
| Type | Description |
DataTableRow.Builder |
This builder for chaining. |
setRowTimeToLiveBytes(ByteString value)
public DataTableRow.Builder setRowTimeToLiveBytes(ByteString value)Optional. User-provided TTL of the data table row.
string row_time_to_live = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for rowTimeToLive to set. |
| Returns | |
|---|---|
| Type | Description |
DataTableRow.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public DataTableRow.Builder setUpdateTime(Timestamp value)Output only. DataTableRow update time
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DataTableRow.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public DataTableRow.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. DataTableRow update time
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DataTableRow.Builder |
|
setValues(int index, String value)
public DataTableRow.Builder setValues(int index, String value)Required. All column values for a single row. The values should be in the same order as the columns of the data tables.
repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe values to set. |
| Returns | |
|---|---|
| Type | Description |
DataTableRow.Builder |
This builder for chaining. |