Class AppSnapshot (0.1.0)

public final class AppSnapshot extends GeneratedMessage implements AppSnapshotOrBuilder

A snapshot of the app.

Protobuf type google.cloud.ces.v1.AppSnapshot

Static Fields

AGENTS_FIELD_NUMBER

public static final int AGENTS_FIELD_NUMBER
Field Value
Type Description
int

APP_FIELD_NUMBER

public static final int APP_FIELD_NUMBER
Field Value
Type Description
int

EXAMPLES_FIELD_NUMBER

public static final int EXAMPLES_FIELD_NUMBER
Field Value
Type Description
int

GUARDRAILS_FIELD_NUMBER

public static final int GUARDRAILS_FIELD_NUMBER
Field Value
Type Description
int

TOOLSETS_FIELD_NUMBER

public static final int TOOLSETS_FIELD_NUMBER
Field Value
Type Description
int

TOOLS_FIELD_NUMBER

public static final int TOOLS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AppSnapshot getDefaultInstance()
Returns
Type Description
AppSnapshot

getDescriptor()

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

newBuilder()

public static AppSnapshot.Builder newBuilder()
Returns
Type Description
AppSnapshot.Builder

newBuilder(AppSnapshot prototype)

public static AppSnapshot.Builder newBuilder(AppSnapshot prototype)
Parameter
Name Description
prototype AppSnapshot
Returns
Type Description
AppSnapshot.Builder

parseDelimitedFrom(InputStream input)

public static AppSnapshot parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AppSnapshot
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AppSnapshot parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppSnapshot
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AppSnapshot parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AppSnapshot
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AppSnapshot parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppSnapshot
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AppSnapshot parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AppSnapshot
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AppSnapshot parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppSnapshot
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AppSnapshot parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AppSnapshot
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AppSnapshot parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppSnapshot
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AppSnapshot parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AppSnapshot
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AppSnapshot parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppSnapshot
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AppSnapshot parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AppSnapshot
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AppSnapshot parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppSnapshot
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AppSnapshot> parser()
Returns
Type Description
Parser<AppSnapshot>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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.

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

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

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

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>

getParserForType()

public Parser<AppSnapshot> getParserForType()
Returns
Type Description
Parser<AppSnapshot>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

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

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AppSnapshot.Builder newBuilderForType()
Returns
Type Description
AppSnapshot.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected AppSnapshot.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AppSnapshot.Builder
Overrides

toBuilder()

public AppSnapshot.Builder toBuilder()
Returns
Type Description
AppSnapshot.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException