Class AppSnapshot.Builder (0.1.0)

public static final class AppSnapshot.Builder extends GeneratedMessage.Builder<AppSnapshot.Builder> implements AppSnapshotOrBuilder

A snapshot of the app.

Protobuf type google.cloud.ces.v1.AppSnapshot

Static Methods

getDescriptor()

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

Methods

addAgents(Agent value)

public AppSnapshot.Builder addAgents(Agent value)

Optional. List of agents in the app.

repeated .google.cloud.ces.v1.Agent agents = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Agent
Returns
Type Description
AppSnapshot.Builder

addAgents(Agent.Builder builderForValue)

public AppSnapshot.Builder addAgents(Agent.Builder builderForValue)

Optional. List of agents in the app.

repeated .google.cloud.ces.v1.Agent agents = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Agent.Builder
Returns
Type Description
AppSnapshot.Builder

addAgents(int index, Agent value)

public AppSnapshot.Builder addAgents(int index, Agent value)

Optional. List of agents in the app.

repeated .google.cloud.ces.v1.Agent agents = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Agent
Returns
Type Description
AppSnapshot.Builder

addAgents(int index, Agent.Builder builderForValue)

public AppSnapshot.Builder addAgents(int index, Agent.Builder builderForValue)

Optional. List of agents in the app.

repeated .google.cloud.ces.v1.Agent agents = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Agent.Builder
Returns
Type Description
AppSnapshot.Builder

addAgentsBuilder()

public Agent.Builder addAgentsBuilder()

Optional. List of agents in the app.

repeated .google.cloud.ces.v1.Agent agents = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Agent.Builder

addAgentsBuilder(int index)

public Agent.Builder addAgentsBuilder(int index)

Optional. List of agents in the app.

repeated .google.cloud.ces.v1.Agent agents = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Agent.Builder

addAllAgents(Iterable<? extends Agent> values)

public AppSnapshot.Builder addAllAgents(Iterable<? extends Agent> values)

Optional. List of agents in the app.

repeated .google.cloud.ces.v1.Agent agents = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.ces.v1.Agent>
Returns
Type Description
AppSnapshot.Builder

addAllExamples(Iterable<? extends Example> values)

public AppSnapshot.Builder addAllExamples(Iterable<? extends Example> values)

Optional. List of examples in the app.

repeated .google.cloud.ces.v1.Example examples = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.ces.v1.Example>
Returns
Type Description
AppSnapshot.Builder

addAllGuardrails(Iterable<? extends Guardrail> values)

public AppSnapshot.Builder addAllGuardrails(Iterable<? extends Guardrail> values)

Optional. List of guardrails in the app.

repeated .google.cloud.ces.v1.Guardrail guardrails = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.ces.v1.Guardrail>
Returns
Type Description
AppSnapshot.Builder

addAllTools(Iterable<? extends Tool> values)

public AppSnapshot.Builder addAllTools(Iterable<? extends Tool> values)

Optional. List of tools in the app.

repeated .google.cloud.ces.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.ces.v1.Tool>
Returns
Type Description
AppSnapshot.Builder

addAllToolsets(Iterable<? extends Toolset> values)

public AppSnapshot.Builder addAllToolsets(Iterable<? extends Toolset> values)

Optional. List of toolsets in the app.

repeated .google.cloud.ces.v1.Toolset toolsets = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.ces.v1.Toolset>
Returns
Type Description
AppSnapshot.Builder

addExamples(Example value)

public AppSnapshot.Builder addExamples(Example value)

Optional. List of examples in the app.

repeated .google.cloud.ces.v1.Example examples = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Example
Returns
Type Description
AppSnapshot.Builder

addExamples(Example.Builder builderForValue)

public AppSnapshot.Builder addExamples(Example.Builder builderForValue)

Optional. List of examples in the app.

repeated .google.cloud.ces.v1.Example examples = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Example.Builder
Returns
Type Description
AppSnapshot.Builder

addExamples(int index, Example value)

public AppSnapshot.Builder addExamples(int index, Example value)

Optional. List of examples in the app.

repeated .google.cloud.ces.v1.Example examples = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Example
Returns
Type Description
AppSnapshot.Builder

addExamples(int index, Example.Builder builderForValue)

public AppSnapshot.Builder addExamples(int index, Example.Builder builderForValue)

Optional. List of examples in the app.

repeated .google.cloud.ces.v1.Example examples = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Example.Builder
Returns
Type Description
AppSnapshot.Builder

addExamplesBuilder()

public Example.Builder addExamplesBuilder()

Optional. List of examples in the app.

repeated .google.cloud.ces.v1.Example examples = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Example.Builder

addExamplesBuilder(int index)

public Example.Builder addExamplesBuilder(int index)

Optional. List of examples in the app.

repeated .google.cloud.ces.v1.Example examples = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Example.Builder

addGuardrails(Guardrail value)

public AppSnapshot.Builder addGuardrails(Guardrail value)

Optional. List of guardrails in the app.

repeated .google.cloud.ces.v1.Guardrail guardrails = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Guardrail
Returns
Type Description
AppSnapshot.Builder

addGuardrails(Guardrail.Builder builderForValue)

public AppSnapshot.Builder addGuardrails(Guardrail.Builder builderForValue)

Optional. List of guardrails in the app.

repeated .google.cloud.ces.v1.Guardrail guardrails = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Guardrail.Builder
Returns
Type Description
AppSnapshot.Builder

addGuardrails(int index, Guardrail value)

public AppSnapshot.Builder addGuardrails(int index, Guardrail value)

Optional. List of guardrails in the app.

repeated .google.cloud.ces.v1.Guardrail guardrails = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Guardrail
Returns
Type Description
AppSnapshot.Builder

addGuardrails(int index, Guardrail.Builder builderForValue)

public AppSnapshot.Builder addGuardrails(int index, Guardrail.Builder builderForValue)

Optional. List of guardrails in the app.

repeated .google.cloud.ces.v1.Guardrail guardrails = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Guardrail.Builder
Returns
Type Description
AppSnapshot.Builder

addGuardrailsBuilder()

public Guardrail.Builder addGuardrailsBuilder()

Optional. List of guardrails in the app.

repeated .google.cloud.ces.v1.Guardrail guardrails = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Guardrail.Builder

addGuardrailsBuilder(int index)

public Guardrail.Builder addGuardrailsBuilder(int index)

Optional. List of guardrails in the app.

repeated .google.cloud.ces.v1.Guardrail guardrails = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Guardrail.Builder

addTools(Tool value)

public AppSnapshot.Builder addTools(Tool value)

Optional. List of tools in the app.

repeated .google.cloud.ces.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Tool
Returns
Type Description
AppSnapshot.Builder

addTools(Tool.Builder builderForValue)

public AppSnapshot.Builder addTools(Tool.Builder builderForValue)

Optional. List of tools in the app.

repeated .google.cloud.ces.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Tool.Builder
Returns
Type Description
AppSnapshot.Builder

addTools(int index, Tool value)

public AppSnapshot.Builder addTools(int index, Tool value)

Optional. List of tools in the app.

repeated .google.cloud.ces.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Tool
Returns
Type Description
AppSnapshot.Builder

addTools(int index, Tool.Builder builderForValue)

public AppSnapshot.Builder addTools(int index, Tool.Builder builderForValue)

Optional. List of tools in the app.

repeated .google.cloud.ces.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Tool.Builder
Returns
Type Description
AppSnapshot.Builder

addToolsBuilder()

public Tool.Builder addToolsBuilder()

Optional. List of tools in the app.

repeated .google.cloud.ces.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Tool.Builder

addToolsBuilder(int index)

public Tool.Builder addToolsBuilder(int index)

Optional. List of tools in the app.

repeated .google.cloud.ces.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Tool.Builder

addToolsets(Toolset value)

public AppSnapshot.Builder addToolsets(Toolset value)

Optional. List of toolsets in the app.

repeated .google.cloud.ces.v1.Toolset toolsets = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Toolset
Returns
Type Description
AppSnapshot.Builder

addToolsets(Toolset.Builder builderForValue)

public AppSnapshot.Builder addToolsets(Toolset.Builder builderForValue)

Optional. List of toolsets in the app.

repeated .google.cloud.ces.v1.Toolset toolsets = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Toolset.Builder
Returns
Type Description
AppSnapshot.Builder

addToolsets(int index, Toolset value)

public AppSnapshot.Builder addToolsets(int index, Toolset value)

Optional. List of toolsets in the app.

repeated .google.cloud.ces.v1.Toolset toolsets = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Toolset
Returns
Type Description
AppSnapshot.Builder

addToolsets(int index, Toolset.Builder builderForValue)

public AppSnapshot.Builder addToolsets(int index, Toolset.Builder builderForValue)

Optional. List of toolsets in the app.

repeated .google.cloud.ces.v1.Toolset toolsets = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Toolset.Builder
Returns
Type Description
AppSnapshot.Builder

addToolsetsBuilder()

public Toolset.Builder addToolsetsBuilder()

Optional. List of toolsets in the app.

repeated .google.cloud.ces.v1.Toolset toolsets = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Toolset.Builder

addToolsetsBuilder(int index)

public Toolset.Builder addToolsetsBuilder(int index)

Optional. List of toolsets in the app.

repeated .google.cloud.ces.v1.Toolset toolsets = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Toolset.Builder

build()

public AppSnapshot build()
Returns
Type Description
AppSnapshot

buildPartial()

public AppSnapshot buildPartial()
Returns
Type Description
AppSnapshot

clear()

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

clearAgents()

public AppSnapshot.Builder clearAgents()

Optional. List of agents in the app.

repeated .google.cloud.ces.v1.Agent agents = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AppSnapshot.Builder

clearApp()

public AppSnapshot.Builder clearApp()

Optional. The basic settings for the app.

.google.cloud.ces.v1.App app = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AppSnapshot.Builder

clearExamples()

public AppSnapshot.Builder clearExamples()

Optional. List of examples in the app.

repeated .google.cloud.ces.v1.Example examples = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AppSnapshot.Builder

clearGuardrails()

public AppSnapshot.Builder clearGuardrails()

Optional. List of guardrails in the app.

repeated .google.cloud.ces.v1.Guardrail guardrails = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AppSnapshot.Builder

clearTools()

public AppSnapshot.Builder clearTools()

Optional. List of tools in the app.

repeated .google.cloud.ces.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AppSnapshot.Builder

clearToolsets()

public AppSnapshot.Builder clearToolsets()

Optional. List of toolsets in the app.

repeated .google.cloud.ces.v1.Toolset toolsets = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AppSnapshot.Builder

getAgents(int index)

public Agent getAgents(int index)

Optional. List of agents in the app.

repeated .google.cloud.ces.v1.Agent agents = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Agent

getAgentsBuilder(int index)

public Agent.Builder getAgentsBuilder(int index)

Optional. List of agents in the app.

repeated .google.cloud.ces.v1.Agent agents = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Agent.Builder

getAgentsBuilderList()

public List<Agent.Builder> getAgentsBuilderList()

Optional. List of agents in the app.

repeated .google.cloud.ces.v1.Agent agents = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getAgentsCount()

public int getAgentsCount()

Optional. List of agents in the app.

repeated .google.cloud.ces.v1.Agent agents = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAgentsList()

public List<Agent> getAgentsList()

Optional. List of agents in the app.

repeated .google.cloud.ces.v1.Agent agents = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Agent>

getAgentsOrBuilder(int index)

public AgentOrBuilder getAgentsOrBuilder(int index)

Optional. List of agents in the app.

repeated .google.cloud.ces.v1.Agent agents = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AgentOrBuilder

getAgentsOrBuilderList()

public List<? extends AgentOrBuilder> getAgentsOrBuilderList()

Optional. List of agents in the app.

repeated .google.cloud.ces.v1.Agent agents = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.ces.v1.AgentOrBuilder>

getApp()

public App getApp()

Optional. The basic settings for the app.

.google.cloud.ces.v1.App app = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
App

The app.

getAppBuilder()

public App.Builder getAppBuilder()

Optional. The basic settings for the app.

.google.cloud.ces.v1.App app = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
App.Builder

getAppOrBuilder()

public AppOrBuilder getAppOrBuilder()

Optional. The basic settings for the app.

.google.cloud.ces.v1.App app = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AppOrBuilder

getDefaultInstanceForType()

public AppSnapshot getDefaultInstanceForType()
Returns
Type Description
AppSnapshot

getDescriptorForType()

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

getExamples(int index)

public Example getExamples(int index)

Optional. List of examples in the app.

repeated .google.cloud.ces.v1.Example examples = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Example

getExamplesBuilder(int index)

public Example.Builder getExamplesBuilder(int index)

Optional. List of examples in the app.

repeated .google.cloud.ces.v1.Example examples = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Example.Builder

getExamplesBuilderList()

public List<Example.Builder> getExamplesBuilderList()

Optional. List of examples in the app.

repeated .google.cloud.ces.v1.Example examples = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getExamplesCount()

public int getExamplesCount()

Optional. List of examples in the app.

repeated .google.cloud.ces.v1.Example examples = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getExamplesList()

public List<Example> getExamplesList()

Optional. List of examples in the app.

repeated .google.cloud.ces.v1.Example examples = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Example>

getExamplesOrBuilder(int index)

public ExampleOrBuilder getExamplesOrBuilder(int index)

Optional. List of examples in the app.

repeated .google.cloud.ces.v1.Example examples = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ExampleOrBuilder

getExamplesOrBuilderList()

public List<? extends ExampleOrBuilder> getExamplesOrBuilderList()

Optional. List of examples in the app.

repeated .google.cloud.ces.v1.Example examples = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.ces.v1.ExampleOrBuilder>

getGuardrails(int index)

public Guardrail getGuardrails(int index)

Optional. List of guardrails in the app.

repeated .google.cloud.ces.v1.Guardrail guardrails = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Guardrail

getGuardrailsBuilder(int index)

public Guardrail.Builder getGuardrailsBuilder(int index)

Optional. List of guardrails in the app.

repeated .google.cloud.ces.v1.Guardrail guardrails = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Guardrail.Builder

getGuardrailsBuilderList()

public List<Guardrail.Builder> getGuardrailsBuilderList()

Optional. List of guardrails in the app.

repeated .google.cloud.ces.v1.Guardrail guardrails = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getGuardrailsCount()

public int getGuardrailsCount()

Optional. List of guardrails in the app.

repeated .google.cloud.ces.v1.Guardrail guardrails = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getGuardrailsList()

public List<Guardrail> getGuardrailsList()

Optional. List of guardrails in the app.

repeated .google.cloud.ces.v1.Guardrail guardrails = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Guardrail>

getGuardrailsOrBuilder(int index)

public GuardrailOrBuilder getGuardrailsOrBuilder(int index)

Optional. List of guardrails in the app.

repeated .google.cloud.ces.v1.Guardrail guardrails = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
GuardrailOrBuilder

getGuardrailsOrBuilderList()

public List<? extends GuardrailOrBuilder> getGuardrailsOrBuilderList()

Optional. List of guardrails in the app.

repeated .google.cloud.ces.v1.Guardrail guardrails = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.ces.v1.GuardrailOrBuilder>

getTools(int index)

public Tool getTools(int index)

Optional. List of tools in the app.

repeated .google.cloud.ces.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Tool

getToolsBuilder(int index)

public Tool.Builder getToolsBuilder(int index)

Optional. List of tools in the app.

repeated .google.cloud.ces.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Tool.Builder

getToolsBuilderList()

public List<Tool.Builder> getToolsBuilderList()

Optional. List of tools in the app.

repeated .google.cloud.ces.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getToolsCount()

public int getToolsCount()

Optional. List of tools in the app.

repeated .google.cloud.ces.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getToolsList()

public List<Tool> getToolsList()

Optional. List of tools in the app.

repeated .google.cloud.ces.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Tool>

getToolsOrBuilder(int index)

public ToolOrBuilder getToolsOrBuilder(int index)

Optional. List of tools in the app.

repeated .google.cloud.ces.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ToolOrBuilder

getToolsOrBuilderList()

public List<? extends ToolOrBuilder> getToolsOrBuilderList()

Optional. List of tools in the app.

repeated .google.cloud.ces.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.ces.v1.ToolOrBuilder>

getToolsets(int index)

public Toolset getToolsets(int index)

Optional. List of toolsets in the app.

repeated .google.cloud.ces.v1.Toolset toolsets = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Toolset

getToolsetsBuilder(int index)

public Toolset.Builder getToolsetsBuilder(int index)

Optional. List of toolsets in the app.

repeated .google.cloud.ces.v1.Toolset toolsets = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Toolset.Builder

getToolsetsBuilderList()

public List<Toolset.Builder> getToolsetsBuilderList()

Optional. List of toolsets in the app.

repeated .google.cloud.ces.v1.Toolset toolsets = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getToolsetsCount()

public int getToolsetsCount()

Optional. List of toolsets in the app.

repeated .google.cloud.ces.v1.Toolset toolsets = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getToolsetsList()

public List<Toolset> getToolsetsList()

Optional. List of toolsets in the app.

repeated .google.cloud.ces.v1.Toolset toolsets = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Toolset>

getToolsetsOrBuilder(int index)

public ToolsetOrBuilder getToolsetsOrBuilder(int index)

Optional. List of toolsets in the app.

repeated .google.cloud.ces.v1.Toolset toolsets = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ToolsetOrBuilder

getToolsetsOrBuilderList()

public List<? extends ToolsetOrBuilder> getToolsetsOrBuilderList()

Optional. List of toolsets in the app.

repeated .google.cloud.ces.v1.Toolset toolsets = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.ces.v1.ToolsetOrBuilder>

hasApp()

public boolean hasApp()

Optional. The basic settings for the app.

.google.cloud.ces.v1.App app = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the app field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeApp(App value)

public AppSnapshot.Builder mergeApp(App value)

Optional. The basic settings for the app.

.google.cloud.ces.v1.App app = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value App
Returns
Type Description
AppSnapshot.Builder

mergeFrom(AppSnapshot other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeAgents(int index)

public AppSnapshot.Builder removeAgents(int index)

Optional. List of agents in the app.

repeated .google.cloud.ces.v1.Agent agents = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AppSnapshot.Builder

removeExamples(int index)

public AppSnapshot.Builder removeExamples(int index)

Optional. List of examples in the app.

repeated .google.cloud.ces.v1.Example examples = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AppSnapshot.Builder

removeGuardrails(int index)

public AppSnapshot.Builder removeGuardrails(int index)

Optional. List of guardrails in the app.

repeated .google.cloud.ces.v1.Guardrail guardrails = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AppSnapshot.Builder

removeTools(int index)

public AppSnapshot.Builder removeTools(int index)

Optional. List of tools in the app.

repeated .google.cloud.ces.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AppSnapshot.Builder

removeToolsets(int index)

public AppSnapshot.Builder removeToolsets(int index)

Optional. List of toolsets in the app.

repeated .google.cloud.ces.v1.Toolset toolsets = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AppSnapshot.Builder

setAgents(int index, Agent value)

public AppSnapshot.Builder setAgents(int index, Agent value)

Optional. List of agents in the app.

repeated .google.cloud.ces.v1.Agent agents = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Agent
Returns
Type Description
AppSnapshot.Builder

setAgents(int index, Agent.Builder builderForValue)

public AppSnapshot.Builder setAgents(int index, Agent.Builder builderForValue)

Optional. List of agents in the app.

repeated .google.cloud.ces.v1.Agent agents = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Agent.Builder
Returns
Type Description
AppSnapshot.Builder

setApp(App value)

public AppSnapshot.Builder setApp(App value)

Optional. The basic settings for the app.

.google.cloud.ces.v1.App app = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value App
Returns
Type Description
AppSnapshot.Builder

setApp(App.Builder builderForValue)

public AppSnapshot.Builder setApp(App.Builder builderForValue)

Optional. The basic settings for the app.

.google.cloud.ces.v1.App app = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue App.Builder
Returns
Type Description
AppSnapshot.Builder

setExamples(int index, Example value)

public AppSnapshot.Builder setExamples(int index, Example value)

Optional. List of examples in the app.

repeated .google.cloud.ces.v1.Example examples = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Example
Returns
Type Description
AppSnapshot.Builder

setExamples(int index, Example.Builder builderForValue)

public AppSnapshot.Builder setExamples(int index, Example.Builder builderForValue)

Optional. List of examples in the app.

repeated .google.cloud.ces.v1.Example examples = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Example.Builder
Returns
Type Description
AppSnapshot.Builder

setGuardrails(int index, Guardrail value)

public AppSnapshot.Builder setGuardrails(int index, Guardrail value)

Optional. List of guardrails in the app.

repeated .google.cloud.ces.v1.Guardrail guardrails = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Guardrail
Returns
Type Description
AppSnapshot.Builder

setGuardrails(int index, Guardrail.Builder builderForValue)

public AppSnapshot.Builder setGuardrails(int index, Guardrail.Builder builderForValue)

Optional. List of guardrails in the app.

repeated .google.cloud.ces.v1.Guardrail guardrails = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Guardrail.Builder
Returns
Type Description
AppSnapshot.Builder

setTools(int index, Tool value)

public AppSnapshot.Builder setTools(int index, Tool value)

Optional. List of tools in the app.

repeated .google.cloud.ces.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Tool
Returns
Type Description
AppSnapshot.Builder

setTools(int index, Tool.Builder builderForValue)

public AppSnapshot.Builder setTools(int index, Tool.Builder builderForValue)

Optional. List of tools in the app.

repeated .google.cloud.ces.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Tool.Builder
Returns
Type Description
AppSnapshot.Builder

setToolsets(int index, Toolset value)

public AppSnapshot.Builder setToolsets(int index, Toolset value)

Optional. List of toolsets in the app.

repeated .google.cloud.ces.v1.Toolset toolsets = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Toolset
Returns
Type Description
AppSnapshot.Builder

setToolsets(int index, Toolset.Builder builderForValue)

public AppSnapshot.Builder setToolsets(int index, Toolset.Builder builderForValue)

Optional. List of toolsets in the app.

repeated .google.cloud.ces.v1.Toolset toolsets = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Toolset.Builder
Returns
Type Description
AppSnapshot.Builder