Class PlaybookVersion (0.52.0)

public final class PlaybookVersion extends GeneratedMessageV3 implements PlaybookVersionOrBuilder

Playbook version is a snapshot of the playbook at certain timestamp.

Protobuf type google.cloud.dialogflow.cx.v3beta1.PlaybookVersion

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

EXAMPLES_FIELD_NUMBER

public static final int EXAMPLES_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

PLAYBOOK_FIELD_NUMBER

public static final int PLAYBOOK_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PlaybookVersion getDefaultInstance()
Returns
Type Description
PlaybookVersion

getDescriptor()

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

newBuilder()

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

newBuilder(PlaybookVersion prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PlaybookVersion getDefaultInstanceForType()
Returns
Type Description
PlaybookVersion

getDescription()

public String getDescription()

Optional. The description of the playbook version.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. The description of the playbook version.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getExamples(int index)

public Example getExamples(int index)

Output only. Snapshot of the examples belonging to the playbook when the playbook version is created.

repeated .google.cloud.dialogflow.cx.v3beta1.Example examples = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Example

getExamplesCount()

public int getExamplesCount()

Output only. Snapshot of the examples belonging to the playbook when the playbook version is created.

repeated .google.cloud.dialogflow.cx.v3beta1.Example examples = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getExamplesList()

public List<Example> getExamplesList()

Output only. Snapshot of the examples belonging to the playbook when the playbook version is created.

repeated .google.cloud.dialogflow.cx.v3beta1.Example examples = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Example>

getExamplesOrBuilder(int index)

public ExampleOrBuilder getExamplesOrBuilder(int index)

Output only. Snapshot of the examples belonging to the playbook when the playbook version is created.

repeated .google.cloud.dialogflow.cx.v3beta1.Example examples = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ExampleOrBuilder

getExamplesOrBuilderList()

public List<? extends ExampleOrBuilder> getExamplesOrBuilderList()

Output only. Snapshot of the examples belonging to the playbook when the playbook version is created.

repeated .google.cloud.dialogflow.cx.v3beta1.Example examples = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.ExampleOrBuilder>

getName()

public String getName()

The unique identifier of the playbook version. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/playbooks/<Playbook ID>/versions/<Version ID>.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The unique identifier of the playbook version. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/playbooks/<Playbook ID>/versions/<Version ID>.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getPlaybook()

public Playbook getPlaybook()

Output only. Snapshot of the playbook when the playbook version is created.

.google.cloud.dialogflow.cx.v3beta1.Playbook playbook = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Playbook

The playbook.

getPlaybookOrBuilder()

public PlaybookOrBuilder getPlaybookOrBuilder()

Output only. Snapshot of the playbook when the playbook version is created.

.google.cloud.dialogflow.cx.v3beta1.Playbook playbook = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PlaybookOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Last time the playbook version was created or modified.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Last time the playbook version was created or modified.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasPlaybook()

public boolean hasPlaybook()

Output only. Snapshot of the playbook when the playbook version is created.

.google.cloud.dialogflow.cx.v3beta1.Playbook playbook = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the playbook field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Last time the playbook version was created or modified.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PlaybookVersion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PlaybookVersion.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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