public static final class PlaybookVersion.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PlaybookVersion.Builder> implements PlaybookVersionOrBuilder
Playbook version is a snapshot of the playbook at certain timestamp.Protobuf type
google.cloud.dialogflow.cx.v3beta1.PlaybookVersion| Modifier and Type | Method and Description |
|---|---|
PlaybookVersion.Builder |
addAllExamples(Iterable<? extends Example> values)
Output only.
|
PlaybookVersion.Builder |
addExamples(Example.Builder builderForValue)
Output only.
|
PlaybookVersion.Builder |
addExamples(Example value)
Output only.
|
PlaybookVersion.Builder |
addExamples(int index,
Example.Builder builderForValue)
Output only.
|
PlaybookVersion.Builder |
addExamples(int index,
Example value)
Output only.
|
Example.Builder |
addExamplesBuilder()
Output only.
|
Example.Builder |
addExamplesBuilder(int index)
Output only.
|
PlaybookVersion.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PlaybookVersion |
build() |
PlaybookVersion |
buildPartial() |
PlaybookVersion.Builder |
clear() |
PlaybookVersion.Builder |
clearDescription()
Optional.
|
PlaybookVersion.Builder |
clearExamples()
Output only.
|
PlaybookVersion.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PlaybookVersion.Builder |
clearName()
The unique identifier of the playbook version.
|
PlaybookVersion.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PlaybookVersion.Builder |
clearPlaybook()
Output only.
|
PlaybookVersion.Builder |
clearUpdateTime()
Output only.
|
PlaybookVersion.Builder |
clone() |
PlaybookVersion |
getDefaultInstanceForType() |
String |
getDescription()
Optional.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Optional.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Example |
getExamples(int index)
Output only.
|
Example.Builder |
getExamplesBuilder(int index)
Output only.
|
List<Example.Builder> |
getExamplesBuilderList()
Output only.
|
int |
getExamplesCount()
Output only.
|
List<Example> |
getExamplesList()
Output only.
|
ExampleOrBuilder |
getExamplesOrBuilder(int index)
Output only.
|
List<? extends ExampleOrBuilder> |
getExamplesOrBuilderList()
Output only.
|
String |
getName()
The unique identifier of the playbook version.
|
com.google.protobuf.ByteString |
getNameBytes()
The unique identifier of the playbook version.
|
Playbook |
getPlaybook()
Output only.
|
Playbook.Builder |
getPlaybookBuilder()
Output only.
|
PlaybookOrBuilder |
getPlaybookOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasPlaybook()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PlaybookVersion.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PlaybookVersion.Builder |
mergeFrom(com.google.protobuf.Message other) |
PlaybookVersion.Builder |
mergeFrom(PlaybookVersion other) |
PlaybookVersion.Builder |
mergePlaybook(Playbook value)
Output only.
|
PlaybookVersion.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PlaybookVersion.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
PlaybookVersion.Builder |
removeExamples(int index)
Output only.
|
PlaybookVersion.Builder |
setDescription(String value)
Optional.
|
PlaybookVersion.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Optional.
|
PlaybookVersion.Builder |
setExamples(int index,
Example.Builder builderForValue)
Output only.
|
PlaybookVersion.Builder |
setExamples(int index,
Example value)
Output only.
|
PlaybookVersion.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PlaybookVersion.Builder |
setName(String value)
The unique identifier of the playbook version.
|
PlaybookVersion.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The unique identifier of the playbook version.
|
PlaybookVersion.Builder |
setPlaybook(Playbook.Builder builderForValue)
Output only.
|
PlaybookVersion.Builder |
setPlaybook(Playbook value)
Output only.
|
PlaybookVersion.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PlaybookVersion.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PlaybookVersion.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
PlaybookVersion.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PlaybookVersion.Builder>public PlaybookVersion.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PlaybookVersion.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PlaybookVersion.Builder>public PlaybookVersion getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PlaybookVersion build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PlaybookVersion buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PlaybookVersion.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PlaybookVersion.Builder>public PlaybookVersion.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PlaybookVersion.Builder>public PlaybookVersion.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PlaybookVersion.Builder>public PlaybookVersion.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PlaybookVersion.Builder>public PlaybookVersion.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PlaybookVersion.Builder>public PlaybookVersion.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PlaybookVersion.Builder>public PlaybookVersion.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PlaybookVersion.Builder>public PlaybookVersion.Builder mergeFrom(PlaybookVersion other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PlaybookVersion.Builder>public PlaybookVersion.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PlaybookVersion.Builder>IOExceptionpublic String getName()
The unique identifier of the playbook version. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/versions/<VersionID>`.
string name = 1;getName in interface PlaybookVersionOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The unique identifier of the playbook version. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/versions/<VersionID>`.
string name = 1;getNameBytes in interface PlaybookVersionOrBuilderpublic PlaybookVersion.Builder setName(String value)
The unique identifier of the playbook version. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/versions/<VersionID>`.
string name = 1;value - The name to set.public PlaybookVersion.Builder clearName()
The unique identifier of the playbook version. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/versions/<VersionID>`.
string name = 1;public PlaybookVersion.Builder setNameBytes(com.google.protobuf.ByteString value)
The unique identifier of the playbook version. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/versions/<VersionID>`.
string name = 1;value - The bytes for name to set.public String getDescription()
Optional. The description of the playbook version.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];getDescription in interface PlaybookVersionOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Optional. The description of the playbook version.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];getDescriptionBytes in interface PlaybookVersionOrBuilderpublic PlaybookVersion.Builder setDescription(String value)
Optional. The description of the playbook version.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];value - The description to set.public PlaybookVersion.Builder clearDescription()
Optional. The description of the playbook version.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];public PlaybookVersion.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Optional. The description of the playbook version.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for description to set.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];
hasPlaybook in interface PlaybookVersionOrBuilderpublic 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];
getPlaybook in interface PlaybookVersionOrBuilderpublic PlaybookVersion.Builder setPlaybook(Playbook value)
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];
public PlaybookVersion.Builder setPlaybook(Playbook.Builder builderForValue)
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];
public PlaybookVersion.Builder mergePlaybook(Playbook value)
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];
public PlaybookVersion.Builder clearPlaybook()
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];
public Playbook.Builder getPlaybookBuilder()
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];
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];
getPlaybookOrBuilder in interface PlaybookVersionOrBuilderpublic 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];
getExamplesList in interface PlaybookVersionOrBuilderpublic 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];
getExamplesCount in interface PlaybookVersionOrBuilderpublic 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];
getExamples in interface PlaybookVersionOrBuilderpublic PlaybookVersion.Builder setExamples(int index, Example value)
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];
public PlaybookVersion.Builder setExamples(int index, Example.Builder builderForValue)
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];
public PlaybookVersion.Builder addExamples(Example value)
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];
public PlaybookVersion.Builder addExamples(int index, Example value)
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];
public PlaybookVersion.Builder addExamples(Example.Builder builderForValue)
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];
public PlaybookVersion.Builder addExamples(int index, Example.Builder builderForValue)
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];
public PlaybookVersion.Builder addAllExamples(Iterable<? extends Example> values)
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];
public PlaybookVersion.Builder clearExamples()
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];
public PlaybookVersion.Builder removeExamples(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];
public Example.Builder getExamplesBuilder(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];
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];
getExamplesOrBuilder in interface PlaybookVersionOrBuilderpublic 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];
getExamplesOrBuilderList in interface PlaybookVersionOrBuilderpublic Example.Builder addExamplesBuilder()
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];
public Example.Builder addExamplesBuilder(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];
public List<Example.Builder> getExamplesBuilderList()
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];
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];
hasUpdateTime in interface PlaybookVersionOrBuilderpublic com.google.protobuf.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];
getUpdateTime in interface PlaybookVersionOrBuilderpublic PlaybookVersion.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Last time the playbook version was created or modified.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public PlaybookVersion.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Last time the playbook version was created or modified.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public PlaybookVersion.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Last time the playbook version was created or modified.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public PlaybookVersion.Builder clearUpdateTime()
Output only. Last time the playbook version was created or modified.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Last time the playbook version was created or modified.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.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];
getUpdateTimeOrBuilder in interface PlaybookVersionOrBuilderpublic final PlaybookVersion.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PlaybookVersion.Builder>public final PlaybookVersion.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PlaybookVersion.Builder>Copyright © 2025 Google LLC. All rights reserved.