public static final class DataResult.Builder extends GeneratedMessageV3.Builder<DataResult.Builder> implements DataResultOrBuilder
Retrieved data.
Protobuf type google.cloud.geminidataanalytics.v1beta.DataResult
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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
|
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
|
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
|
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
|
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];
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DataResult build()
buildPartial()
public DataResult buildPartial()
clear()
public DataResult.Builder clear()
Overrides
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];
clearField(Descriptors.FieldDescriptor field)
public DataResult.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public DataResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSchema()
public DataResult.Builder clearSchema()
Optional. The schema of the data.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 5 [(.google.api.field_behavior) = OPTIONAL];
clone()
public DataResult.Builder clone()
Overrides
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
|
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];
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];
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
getSchemaOrBuilder()
public SchemaOrBuilder getSchemaOrBuilder()
Optional. The schema of the data.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 5 [(.google.api.field_behavior) = OPTIONAL];
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DataResult other)
public DataResult.Builder mergeFrom(DataResult other)
public DataResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DataResult.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
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
|
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public DataResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The name to set.
|
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 |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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
|
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final DataResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides