Class PlaybookVersion (0.48.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
TypeDescription
int

EXAMPLES_FIELD_NUMBER

public static final int EXAMPLES_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PLAYBOOK_FIELD_NUMBER

public static final int PLAYBOOK_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PlaybookVersion getDefaultInstance()
Returns
TypeDescription
PlaybookVersion

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PlaybookVersion.Builder newBuilder()
Returns
TypeDescription
PlaybookVersion.Builder

newBuilder(PlaybookVersion prototype)

public static PlaybookVersion.Builder newBuilder(PlaybookVersion prototype)
Parameter
NameDescription
prototypePlaybookVersion
Returns
TypeDescription
PlaybookVersion.Builder

parseDelimitedFrom(InputStream input)

public static PlaybookVersion parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PlaybookVersion
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PlaybookVersion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlaybookVersion
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PlaybookVersion parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PlaybookVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PlaybookVersion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlaybookVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PlaybookVersion parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PlaybookVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PlaybookVersion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlaybookVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PlaybookVersion parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PlaybookVersion
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PlaybookVersion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlaybookVersion
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PlaybookVersion parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PlaybookVersion
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PlaybookVersion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlaybookVersion
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PlaybookVersion parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PlaybookVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PlaybookVersion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlaybookVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PlaybookVersion> parser()
Returns
TypeDescription
Parser<PlaybookVersion>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PlaybookVersion getDefaultInstanceForType()
Returns
TypeDescription
PlaybookVersion

getDescription()

public String getDescription()

Optional. The description of the playbook version.

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

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. The description of the playbook version.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<PlaybookVersion> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
PlaybookOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PlaybookVersion.Builder newBuilderForType()
Returns
TypeDescription
PlaybookVersion.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PlaybookVersion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PlaybookVersion.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PlaybookVersion.Builder toBuilder()
Returns
TypeDescription
PlaybookVersion.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException