Class PlaybookVersion.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PlaybookVersion.Builder>
com.google.cloud.dialogflow.cx.v3beta1.PlaybookVersion.Builder
- All Implemented Interfaces:
PlaybookVersionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PlaybookVersion
public static final class PlaybookVersion.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PlaybookVersion.Builder>
implements PlaybookVersionOrBuilder
Playbook version is a snapshot of the playbook at certain timestamp.Protobuf type
google.cloud.dialogflow.cx.v3beta1.PlaybookVersion-
Method Summary
Modifier and TypeMethodDescriptionaddAllExamples(Iterable<? extends Example> values) Output only.addExamples(int index, Example value) Output only.addExamples(int index, Example.Builder builderForValue) Output only.addExamples(Example value) Output only.addExamples(Example.Builder builderForValue) Output only.Output only.addExamplesBuilder(int index) Output only.build()clear()Optional.Output only.The unique identifier of the playbook version.Output only.Output only.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetExamples(int index) Output only.getExamplesBuilder(int index) Output only.Output only.intOutput only.Output only.getExamplesOrBuilder(int index) Output only.List<? extends ExampleOrBuilder>Output only.getName()The unique identifier of the playbook version.com.google.protobuf.ByteStringThe unique identifier of the playbook version.Output only.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(PlaybookVersion other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergePlaybook(Playbook value) Output only.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.removeExamples(int index) Output only.setDescription(String value) Optional.setDescriptionBytes(com.google.protobuf.ByteString value) Optional.setExamples(int index, Example value) Output only.setExamples(int index, Example.Builder builderForValue) Output only.The unique identifier of the playbook version.setNameBytes(com.google.protobuf.ByteString value) The unique identifier of the playbook version.setPlaybook(Playbook value) Output only.setPlaybook(Playbook.Builder builderForValue) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PlaybookVersion.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PlaybookVersion.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PlaybookVersion.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PlaybookVersion.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PlaybookVersion.Builder>
-
mergeFrom
public PlaybookVersion.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PlaybookVersion.Builder>- Throws:
IOException
-
getName
The unique identifier of the playbook version. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/versions/<VersionID>`.
string name = 1;- Specified by:
getNamein interfacePlaybookVersionOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfacePlaybookVersionOrBuilder- Returns:
- The bytes for name.
-
setName
The unique identifier of the playbook version. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/versions/<VersionID>`.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The unique identifier of the playbook version. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/versions/<VersionID>`.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The unique identifier of the playbook version. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/versions/<VersionID>`.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
Optional. The description of the playbook version.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfacePlaybookVersionOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional. The description of the playbook version.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfacePlaybookVersionOrBuilder- Returns:
- The bytes for description.
-
setDescription
Optional. The description of the playbook version.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Optional. The description of the playbook version.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDescriptionBytes
Optional. The description of the playbook version.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasPlaybookin interfacePlaybookVersionOrBuilder- Returns:
- Whether the playbook field is set.
-
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];- Specified by:
getPlaybookin interfacePlaybookVersionOrBuilder- Returns:
- The playbook.
-
setPlaybook
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]; -
setPlaybook
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]; -
mergePlaybook
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]; -
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]; -
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]; -
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];- Specified by:
getPlaybookOrBuilderin interfacePlaybookVersionOrBuilder
-
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];- Specified by:
getExamplesListin interfacePlaybookVersionOrBuilder
-
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];- Specified by:
getExamplesCountin interfacePlaybookVersionOrBuilder
-
getExamples
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];- Specified by:
getExamplesin interfacePlaybookVersionOrBuilder
-
setExamples
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]; -
setExamples
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]; -
addExamples
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]; -
addExamples
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]; -
addExamples
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]; -
addExamples
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]; -
addAllExamples
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]; -
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]; -
removeExamples
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]; -
getExamplesBuilder
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
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];- Specified by:
getExamplesOrBuilderin interfacePlaybookVersionOrBuilder
-
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];- Specified by:
getExamplesOrBuilderListin interfacePlaybookVersionOrBuilder
-
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]; -
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]; -
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]; -
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];- Specified by:
hasUpdateTimein interfacePlaybookVersionOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];- Specified by:
getUpdateTimein interfacePlaybookVersionOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. Last time the playbook version was created or modified.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. Last time the playbook version was created or modified.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. Last time the playbook version was created or modified.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. Last time the playbook version was created or modified.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
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]; -
getUpdateTimeOrBuilder
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];- Specified by:
getUpdateTimeOrBuilderin interfacePlaybookVersionOrBuilder
-