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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PlaybookVersion.Builder newBuilder()
newBuilder(PlaybookVersion prototype)
public static PlaybookVersion.Builder newBuilder(PlaybookVersion prototype)
public static PlaybookVersion parseDelimitedFrom(InputStream input)
public static PlaybookVersion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PlaybookVersion parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PlaybookVersion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PlaybookVersion parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PlaybookVersion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PlaybookVersion parseFrom(CodedInputStream input)
public static PlaybookVersion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PlaybookVersion parseFrom(InputStream input)
public static PlaybookVersion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PlaybookVersion parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PlaybookVersion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PlaybookVersion> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public PlaybookVersion getDefaultInstanceForType()
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
|
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];
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
|
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()
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()
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];
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];
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PlaybookVersion.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PlaybookVersion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public PlaybookVersion.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides