Class GoogleMaps.Builder (3.84.0)

public static final class GoogleMaps.Builder extends GeneratedMessage.Builder<GoogleMaps.Builder> implements GoogleMapsOrBuilder

Tool to retrieve public maps data for grounding, powered by Google.

Protobuf type google.cloud.aiplatform.v1.GoogleMaps

Implements

GoogleMapsOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public GoogleMaps build()
Returns
Type Description
GoogleMaps

buildPartial()

public GoogleMaps buildPartial()
Returns
Type Description
GoogleMaps

clear()

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

clearEnableWidget()

public GoogleMaps.Builder clearEnableWidget()

If true, include the widget context token in the response.

bool enable_widget = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoogleMaps.Builder

This builder for chaining.

getDefaultInstanceForType()

public GoogleMaps getDefaultInstanceForType()
Returns
Type Description
GoogleMaps

getDescriptorForType()

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

getEnableWidget()

public boolean getEnableWidget()

If true, include the widget context token in the response.

bool enable_widget = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableWidget.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GoogleMaps other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setEnableWidget(boolean value)

public GoogleMaps.Builder setEnableWidget(boolean value)

If true, include the widget context token in the response.

bool enable_widget = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The enableWidget to set.

Returns
Type Description
GoogleMaps.Builder

This builder for chaining.