Class ChartResult.Builder (0.11.0)

public static final class ChartResult.Builder extends GeneratedMessage.Builder<ChartResult.Builder> implements ChartResultOrBuilder

The result of a chart generation query.

Protobuf type google.cloud.geminidataanalytics.v1beta.ChartResult

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ChartResult build()
Returns
Type Description
ChartResult

buildPartial()

public ChartResult buildPartial()
Returns
Type Description
ChartResult

clear()

public ChartResult.Builder clear()
Returns
Type Description
ChartResult.Builder
Overrides

clearImage()

public ChartResult.Builder clearImage()

Optional. A rendering of the chart if this was requested in the context.

.google.cloud.geminidataanalytics.v1beta.Blob image = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChartResult.Builder

clearVegaConfig()

public ChartResult.Builder clearVegaConfig()

Optional. A generated Vega chart config. See https://vega.github.io/vega/docs/config/

.google.protobuf.Struct vega_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChartResult.Builder

getDefaultInstanceForType()

public ChartResult getDefaultInstanceForType()
Returns
Type Description
ChartResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getImage()

public Blob getImage()

Optional. A rendering of the chart if this was requested in the context.

.google.cloud.geminidataanalytics.v1beta.Blob image = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Blob

The image.

getImageBuilder()

public Blob.Builder getImageBuilder()

Optional. A rendering of the chart if this was requested in the context.

.google.cloud.geminidataanalytics.v1beta.Blob image = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Blob.Builder

getImageOrBuilder()

public BlobOrBuilder getImageOrBuilder()

Optional. A rendering of the chart if this was requested in the context.

.google.cloud.geminidataanalytics.v1beta.Blob image = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BlobOrBuilder

getVegaConfig()

public Struct getVegaConfig()

Optional. A generated Vega chart config. See https://vega.github.io/vega/docs/config/

.google.protobuf.Struct vega_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Struct

The vegaConfig.

getVegaConfigBuilder()

public Struct.Builder getVegaConfigBuilder()

Optional. A generated Vega chart config. See https://vega.github.io/vega/docs/config/

.google.protobuf.Struct vega_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getVegaConfigOrBuilder()

public StructOrBuilder getVegaConfigOrBuilder()

Optional. A generated Vega chart config. See https://vega.github.io/vega/docs/config/

.google.protobuf.Struct vega_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StructOrBuilder

hasImage()

public boolean hasImage()

Optional. A rendering of the chart if this was requested in the context.

.google.cloud.geminidataanalytics.v1beta.Blob image = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the image field is set.

hasVegaConfig()

public boolean hasVegaConfig()

Optional. A generated Vega chart config. See https://vega.github.io/vega/docs/config/

.google.protobuf.Struct vega_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the vegaConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ChartResult other)

public ChartResult.Builder mergeFrom(ChartResult other)
Parameter
Name Description
other ChartResult
Returns
Type Description
ChartResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ChartResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChartResult.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ChartResult.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ChartResult.Builder
Overrides

mergeImage(Blob value)

public ChartResult.Builder mergeImage(Blob value)

Optional. A rendering of the chart if this was requested in the context.

.google.cloud.geminidataanalytics.v1beta.Blob image = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Blob
Returns
Type Description
ChartResult.Builder

mergeVegaConfig(Struct value)

public ChartResult.Builder mergeVegaConfig(Struct value)

Optional. A generated Vega chart config. See https://vega.github.io/vega/docs/config/

.google.protobuf.Struct vega_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Struct
Returns
Type Description
ChartResult.Builder

setImage(Blob value)

public ChartResult.Builder setImage(Blob value)

Optional. A rendering of the chart if this was requested in the context.

.google.cloud.geminidataanalytics.v1beta.Blob image = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Blob
Returns
Type Description
ChartResult.Builder

setImage(Blob.Builder builderForValue)

public ChartResult.Builder setImage(Blob.Builder builderForValue)

Optional. A rendering of the chart if this was requested in the context.

.google.cloud.geminidataanalytics.v1beta.Blob image = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Blob.Builder
Returns
Type Description
ChartResult.Builder

setVegaConfig(Struct value)

public ChartResult.Builder setVegaConfig(Struct value)

Optional. A generated Vega chart config. See https://vega.github.io/vega/docs/config/

.google.protobuf.Struct vega_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Struct
Returns
Type Description
ChartResult.Builder

setVegaConfig(Struct.Builder builderForValue)

public ChartResult.Builder setVegaConfig(Struct.Builder builderForValue)

Optional. A generated Vega chart config. See https://vega.github.io/vega/docs/config/

.google.protobuf.Struct vega_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ChartResult.Builder