Interface DataResultOrBuilder (0.13.0)

public interface DataResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getData(int index)

public abstract 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

getDataCount()

public abstract 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 abstract 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 abstract 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 abstract 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>

getFormattedData(int index)

public abstract Struct getFormattedData(int index)

Optional. Formatted representation of the data, when applicable. Each row is a struct that directly corresponds to the row at the same index within the data field. Its values are string representations of the original data, formatted according to data source specifications (e.g., "$1,234.56" for currency). Columns without formatting will default to their raw value representation. If no columns have formatting rules, this field will be empty.

repeated .google.protobuf.Struct formatted_data = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Struct

getFormattedDataCount()

public abstract int getFormattedDataCount()

Optional. Formatted representation of the data, when applicable. Each row is a struct that directly corresponds to the row at the same index within the data field. Its values are string representations of the original data, formatted according to data source specifications (e.g., "$1,234.56" for currency). Columns without formatting will default to their raw value representation. If no columns have formatting rules, this field will be empty.

repeated .google.protobuf.Struct formatted_data = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getFormattedDataList()

public abstract List<Struct> getFormattedDataList()

Optional. Formatted representation of the data, when applicable. Each row is a struct that directly corresponds to the row at the same index within the data field. Its values are string representations of the original data, formatted according to data source specifications (e.g., "$1,234.56" for currency). Columns without formatting will default to their raw value representation. If no columns have formatting rules, this field will be empty.

repeated .google.protobuf.Struct formatted_data = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Struct>

getFormattedDataOrBuilder(int index)

public abstract StructOrBuilder getFormattedDataOrBuilder(int index)

Optional. Formatted representation of the data, when applicable. Each row is a struct that directly corresponds to the row at the same index within the data field. Its values are string representations of the original data, formatted according to data source specifications (e.g., "$1,234.56" for currency). Columns without formatting will default to their raw value representation. If no columns have formatting rules, this field will be empty.

repeated .google.protobuf.Struct formatted_data = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
StructOrBuilder

getFormattedDataOrBuilderList()

public abstract List<? extends StructOrBuilder> getFormattedDataOrBuilderList()

Optional. Formatted representation of the data, when applicable. Each row is a struct that directly corresponds to the row at the same index within the data field. Its values are string representations of the original data, formatted according to data source specifications (e.g., "$1,234.56" for currency). Columns without formatting will default to their raw value representation. If no columns have formatting rules, this field will be empty.

repeated .google.protobuf.Struct formatted_data = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.protobuf.StructOrBuilder>

getName()

public abstract 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 abstract 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 abstract 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.

getSchemaOrBuilder()

public abstract 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 abstract 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.