public static final class DataResult.Builder extends GeneratedMessage.Builder<DataResult.Builder> implements DataResultOrBuilderRetrieved data.
Protobuf type google.cloud.geminidataanalytics.v1beta.DataResult
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataResult.BuilderImplements
DataResultOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllData(Iterable<? extends Struct> values)
public DataResult.Builder addAllData(Iterable<? extends Struct> values)Optional. The content of the data. Each row is a struct that matches the schema. Simple values are represented as strings, while nested structures are represented as lists or structs.
repeated .google.protobuf.Struct data = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.protobuf.Struct> |
| Returns | |
|---|---|
| Type | Description |
DataResult.Builder |
|
addData(Struct value)
public DataResult.Builder addData(Struct value)Optional. The content of the data. Each row is a struct that matches the schema. Simple values are represented as strings, while nested structures are represented as lists or structs.
repeated .google.protobuf.Struct data = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
DataResult.Builder |
|
addData(Struct.Builder builderForValue)
public DataResult.Builder addData(Struct.Builder builderForValue)Optional. The content of the data. Each row is a struct that matches the schema. Simple values are represented as strings, while nested structures are represented as lists or structs.
repeated .google.protobuf.Struct data = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DataResult.Builder |
|
addData(int index, Struct value)
public DataResult.Builder addData(int index, Struct value)Optional. The content of the data. Each row is a struct that matches the schema. Simple values are represented as strings, while nested structures are represented as lists or structs.
repeated .google.protobuf.Struct data = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
DataResult.Builder |
|
addData(int index, Struct.Builder builderForValue)
public DataResult.Builder addData(int index, Struct.Builder builderForValue)Optional. The content of the data. Each row is a struct that matches the schema. Simple values are represented as strings, while nested structures are represented as lists or structs.
repeated .google.protobuf.Struct data = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DataResult.Builder |
|
addDataBuilder()
public Struct.Builder addDataBuilder()Optional. The content of the data. Each row is a struct that matches the schema. Simple values are represented as strings, while nested structures are represented as lists or structs.
repeated .google.protobuf.Struct data = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
addDataBuilder(int index)
public Struct.Builder addDataBuilder(int index)Optional. The content of the data. Each row is a struct that matches the schema. Simple values are represented as strings, while nested structures are represented as lists or structs.
repeated .google.protobuf.Struct data = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Builder |
|
build()
public DataResult build()| Returns | |
|---|---|
| Type | Description |
DataResult |
|
buildPartial()
public DataResult buildPartial()| Returns | |
|---|---|
| Type | Description |
DataResult |
|
clear()
public DataResult.Builder clear()| Returns | |
|---|---|
| Type | Description |
DataResult.Builder |
|
clearData()
public DataResult.Builder clearData()Optional. The content of the data. Each row is a struct that matches the schema. Simple values are represented as strings, while nested structures are represented as lists or structs.
repeated .google.protobuf.Struct data = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataResult.Builder |
|
clearName()
public DataResult.Builder clearName()Optional. A snake-case name for the data result that reflects its contents. The name is used to pass the result around by reference, and serves as a signal about its meaning.
- Example: "total_sales_by_product"
- Example: "sales_for_product_12345"
string name = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataResult.Builder |
This builder for chaining. |
clearSchema()
public DataResult.Builder clearSchema()Optional. The schema of the data.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataResult.Builder |
|
getData(int index)
public Struct getData(int index)Optional. The content of the data. Each row is a struct that matches the schema. Simple values are represented as strings, while nested structures are represented as lists or structs.
repeated .google.protobuf.Struct data = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Struct |
|
getDataBuilder(int index)
public Struct.Builder getDataBuilder(int index)Optional. The content of the data. Each row is a struct that matches the schema. Simple values are represented as strings, while nested structures are represented as lists or structs.
repeated .google.protobuf.Struct data = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getDataBuilderList()
public List<Struct.Builder> getDataBuilderList()Optional. The content of the data. Each row is a struct that matches the schema. Simple values are represented as strings, while nested structures are represented as lists or structs.
repeated .google.protobuf.Struct data = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getDataCount()
public int getDataCount()Optional. The content of the data. Each row is a struct that matches the schema. Simple values are represented as strings, while nested structures are represented as lists or structs.
repeated .google.protobuf.Struct data = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getDataList()
public List<Struct> getDataList()Optional. The content of the data. Each row is a struct that matches the schema. Simple values are represented as strings, while nested structures are represented as lists or structs.
repeated .google.protobuf.Struct data = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Struct> |
|
getDataOrBuilder(int index)
public StructOrBuilder getDataOrBuilder(int index)Optional. The content of the data. Each row is a struct that matches the schema. Simple values are represented as strings, while nested structures are represented as lists or structs.
repeated .google.protobuf.Struct data = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getDataOrBuilderList()
public List<? extends StructOrBuilder> getDataOrBuilderList()Optional. The content of the data. Each row is a struct that matches the schema. Simple values are represented as strings, while nested structures are represented as lists or structs.
repeated .google.protobuf.Struct data = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.protobuf.StructOrBuilder> |
|
getDefaultInstanceForType()
public DataResult getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataResult |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Optional. A snake-case name for the data result that reflects its contents. The name is used to pass the result around by reference, and serves as a signal about its meaning.
- Example: "total_sales_by_product"
- Example: "sales_for_product_12345"
string name = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Optional. A snake-case name for the data result that reflects its contents. The name is used to pass the result around by reference, and serves as a signal about its meaning.
- Example: "total_sales_by_product"
- Example: "sales_for_product_12345"
string name = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getSchema()
public Schema getSchema()Optional. The schema of the data.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Schema |
The schema. |
getSchemaBuilder()
public Schema.Builder getSchemaBuilder()Optional. The schema of the data.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Schema.Builder |
|
getSchemaOrBuilder()
public SchemaOrBuilder getSchemaOrBuilder()Optional. The schema of the data.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SchemaOrBuilder |
|
hasSchema()
public boolean hasSchema()Optional. The schema of the data.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the schema field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DataResult other)
public DataResult.Builder mergeFrom(DataResult other)| Parameter | |
|---|---|
| Name | Description |
other |
DataResult |
| Returns | |
|---|---|
| Type | Description |
DataResult.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataResult.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataResult.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataResult.Builder |
|
mergeSchema(Schema value)
public DataResult.Builder mergeSchema(Schema value)Optional. The schema of the data.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Schema |
| Returns | |
|---|---|
| Type | Description |
DataResult.Builder |
|
removeData(int index)
public DataResult.Builder removeData(int index)Optional. The content of the data. Each row is a struct that matches the schema. Simple values are represented as strings, while nested structures are represented as lists or structs.
repeated .google.protobuf.Struct data = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DataResult.Builder |
|
setData(int index, Struct value)
public DataResult.Builder setData(int index, Struct value)Optional. The content of the data. Each row is a struct that matches the schema. Simple values are represented as strings, while nested structures are represented as lists or structs.
repeated .google.protobuf.Struct data = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
DataResult.Builder |
|
setData(int index, Struct.Builder builderForValue)
public DataResult.Builder setData(int index, Struct.Builder builderForValue)Optional. The content of the data. Each row is a struct that matches the schema. Simple values are represented as strings, while nested structures are represented as lists or structs.
repeated .google.protobuf.Struct data = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DataResult.Builder |
|
setName(String value)
public DataResult.Builder setName(String value)Optional. A snake-case name for the data result that reflects its contents. The name is used to pass the result around by reference, and serves as a signal about its meaning.
- Example: "total_sales_by_product"
- Example: "sales_for_product_12345"
string name = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DataResult.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DataResult.Builder setNameBytes(ByteString value)Optional. A snake-case name for the data result that reflects its contents. The name is used to pass the result around by reference, and serves as a signal about its meaning.
- Example: "total_sales_by_product"
- Example: "sales_for_product_12345"
string name = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DataResult.Builder |
This builder for chaining. |
setSchema(Schema value)
public DataResult.Builder setSchema(Schema value)Optional. The schema of the data.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Schema |
| Returns | |
|---|---|
| Type | Description |
DataResult.Builder |
|
setSchema(Schema.Builder builderForValue)
public DataResult.Builder setSchema(Schema.Builder builderForValue)Optional. The schema of the data.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Schema.Builder |
| Returns | |
|---|---|
| Type | Description |
DataResult.Builder |
|