Class Agent.GenAppBuilderSettings.Builder (0.66.0)

public static final class Agent.GenAppBuilderSettings.Builder extends GeneratedMessageV3.Builder<Agent.GenAppBuilderSettings.Builder> implements Agent.GenAppBuilderSettingsOrBuilder

Settings for Gen App Builder.

Protobuf type google.cloud.dialogflow.cx.v3beta1.Agent.GenAppBuilderSettings

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Agent.GenAppBuilderSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Agent.GenAppBuilderSettings.Builder
Overrides

build()

public Agent.GenAppBuilderSettings build()
Returns
Type Description
Agent.GenAppBuilderSettings

buildPartial()

public Agent.GenAppBuilderSettings buildPartial()
Returns
Type Description
Agent.GenAppBuilderSettings

clear()

public Agent.GenAppBuilderSettings.Builder clear()
Returns
Type Description
Agent.GenAppBuilderSettings.Builder
Overrides

clearEngine()

public Agent.GenAppBuilderSettings.Builder clearEngine()

Required. The full name of the Gen App Builder engine related to this agent if there is one. Format: projects/{Project ID}/locations/{Location ID}/collections/{Collection ID}/engines/{Engine ID}

string engine = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Agent.GenAppBuilderSettings.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Agent.GenAppBuilderSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Agent.GenAppBuilderSettings.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Agent.GenAppBuilderSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Agent.GenAppBuilderSettings.Builder
Overrides

clone()

public Agent.GenAppBuilderSettings.Builder clone()
Returns
Type Description
Agent.GenAppBuilderSettings.Builder
Overrides

getDefaultInstanceForType()

public Agent.GenAppBuilderSettings getDefaultInstanceForType()
Returns
Type Description
Agent.GenAppBuilderSettings

getDescriptorForType()

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

getEngine()

public String getEngine()

Required. The full name of the Gen App Builder engine related to this agent if there is one. Format: projects/{Project ID}/locations/{Location ID}/collections/{Collection ID}/engines/{Engine ID}

string engine = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The engine.

getEngineBytes()

public ByteString getEngineBytes()

Required. The full name of the Gen App Builder engine related to this agent if there is one. Format: projects/{Project ID}/locations/{Location ID}/collections/{Collection ID}/engines/{Engine ID}

string engine = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for engine.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Agent.GenAppBuilderSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Agent.GenAppBuilderSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Agent.GenAppBuilderSettings.Builder
Overrides

setEngine(String value)

public Agent.GenAppBuilderSettings.Builder setEngine(String value)

Required. The full name of the Gen App Builder engine related to this agent if there is one. Format: projects/{Project ID}/locations/{Location ID}/collections/{Collection ID}/engines/{Engine ID}

string engine = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The engine to set.

Returns
Type Description
Agent.GenAppBuilderSettings.Builder

This builder for chaining.

setEngineBytes(ByteString value)

public Agent.GenAppBuilderSettings.Builder setEngineBytes(ByteString value)

Required. The full name of the Gen App Builder engine related to this agent if there is one. Format: projects/{Project ID}/locations/{Location ID}/collections/{Collection ID}/engines/{Engine ID}

string engine = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for engine to set.

Returns
Type Description
Agent.GenAppBuilderSettings.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Agent.GenAppBuilderSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Agent.GenAppBuilderSettings.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Agent.GenAppBuilderSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Agent.GenAppBuilderSettings.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Agent.GenAppBuilderSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Agent.GenAppBuilderSettings.Builder
Overrides