Interface DataResultOrBuilder (0.1.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>

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.