public static final class Version.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Version.Builder> implements VersionOrBuilder
Represents a version of a flow.Protobuf type
google.cloud.dialogflow.cx.v3.Version| Modifier and Type | Method and Description |
|---|---|
Version.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Version |
build() |
Version |
buildPartial() |
Version.Builder |
clear() |
Version.Builder |
clearCreateTime()
Output only.
|
Version.Builder |
clearDescription()
The description of the version.
|
Version.Builder |
clearDisplayName()
Required.
|
Version.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Version.Builder |
clearName()
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/versions/<Version ID>.
|
Version.Builder |
clearNluSettings()
Output only.
|
Version.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Version.Builder |
clearState()
Output only.
|
Version.Builder |
clone() |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
Version |
getDefaultInstanceForType() |
String |
getDescription()
The description of the version.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
The description of the version.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
String |
getName()
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/versions/<Version ID>.
|
com.google.protobuf.ByteString |
getNameBytes()
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/versions/<Version ID>.
|
NluSettings |
getNluSettings()
Output only.
|
NluSettings.Builder |
getNluSettingsBuilder()
Output only.
|
NluSettingsOrBuilder |
getNluSettingsOrBuilder()
Output only.
|
Version.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasNluSettings()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Version.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Version.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Version.Builder |
mergeFrom(com.google.protobuf.Message other) |
Version.Builder |
mergeFrom(Version other) |
Version.Builder |
mergeNluSettings(NluSettings value)
Output only.
|
Version.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Version.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Version.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Version.Builder |
setDescription(String value)
The description of the version.
|
Version.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
The description of the version.
|
Version.Builder |
setDisplayName(String value)
Required.
|
Version.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Required.
|
Version.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Version.Builder |
setName(String value)
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/versions/<Version ID>.
|
Version.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/versions/<Version ID>.
|
Version.Builder |
setNluSettings(NluSettings.Builder builderForValue)
Output only.
|
Version.Builder |
setNluSettings(NluSettings value)
Output only.
|
Version.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Version.Builder |
setState(Version.State value)
Output only.
|
Version.Builder |
setStateValue(int value)
Output only.
|
Version.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Version.Builder>public Version.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Version.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<Version.Builder>public Version getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Version build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Version buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Version.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Version.Builder>public Version.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<Version.Builder>public Version.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Version.Builder>public Version.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Version.Builder>public Version.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<Version.Builder>public Version.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<Version.Builder>public Version.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Version.Builder>public Version.Builder mergeFrom(Version other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Version.Builder>public Version.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<Version.Builder>IOExceptionpublic String getName()
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>. Version ID is a self-increasing number generated by Dialogflow upon version creation.
string name = 1;getName in interface VersionOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>. Version ID is a self-increasing number generated by Dialogflow upon version creation.
string name = 1;getNameBytes in interface VersionOrBuilderpublic Version.Builder setName(String value)
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>. Version ID is a self-increasing number generated by Dialogflow upon version creation.
string name = 1;value - The name to set.public Version.Builder clearName()
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>. Version ID is a self-increasing number generated by Dialogflow upon version creation.
string name = 1;public Version.Builder setNameBytes(com.google.protobuf.ByteString value)
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>. Version ID is a self-increasing number generated by Dialogflow upon version creation.
string name = 1;value - The bytes for name to set.public String getDisplayName()
Required. The human-readable name of the version. Limit of 64 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayName in interface VersionOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. The human-readable name of the version. Limit of 64 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayNameBytes in interface VersionOrBuilderpublic Version.Builder setDisplayName(String value)
Required. The human-readable name of the version. Limit of 64 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];value - The displayName to set.public Version.Builder clearDisplayName()
Required. The human-readable name of the version. Limit of 64 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];public Version.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Required. The human-readable name of the version. Limit of 64 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for displayName to set.public String getDescription()
The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 3;getDescription in interface VersionOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 3;getDescriptionBytes in interface VersionOrBuilderpublic Version.Builder setDescription(String value)
The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 3;value - The description to set.public Version.Builder clearDescription()
The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 3;public Version.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 3;value - The bytes for description to set.public boolean hasNluSettings()
Output only. The NLU settings of the flow at version creation.
.google.cloud.dialogflow.cx.v3.NluSettings nlu_settings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasNluSettings in interface VersionOrBuilderpublic NluSettings getNluSettings()
Output only. The NLU settings of the flow at version creation.
.google.cloud.dialogflow.cx.v3.NluSettings nlu_settings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getNluSettings in interface VersionOrBuilderpublic Version.Builder setNluSettings(NluSettings value)
Output only. The NLU settings of the flow at version creation.
.google.cloud.dialogflow.cx.v3.NluSettings nlu_settings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Version.Builder setNluSettings(NluSettings.Builder builderForValue)
Output only. The NLU settings of the flow at version creation.
.google.cloud.dialogflow.cx.v3.NluSettings nlu_settings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Version.Builder mergeNluSettings(NluSettings value)
Output only. The NLU settings of the flow at version creation.
.google.cloud.dialogflow.cx.v3.NluSettings nlu_settings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Version.Builder clearNluSettings()
Output only. The NLU settings of the flow at version creation.
.google.cloud.dialogflow.cx.v3.NluSettings nlu_settings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public NluSettings.Builder getNluSettingsBuilder()
Output only. The NLU settings of the flow at version creation.
.google.cloud.dialogflow.cx.v3.NluSettings nlu_settings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public NluSettingsOrBuilder getNluSettingsOrBuilder()
Output only. The NLU settings of the flow at version creation.
.google.cloud.dialogflow.cx.v3.NluSettings nlu_settings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getNluSettingsOrBuilder in interface VersionOrBuilderpublic boolean hasCreateTime()
Output only. Create time of the version.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface VersionOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Create time of the version.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface VersionOrBuilderpublic Version.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Create time of the version.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Version.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Create time of the version.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Version.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Create time of the version.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Version.Builder clearCreateTime()
Output only. Create time of the version.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Create time of the version.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time of the version.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface VersionOrBuilderpublic int getStateValue()
Output only. The state of this version. This field is read-only and cannot be set by create and update methods.
.google.cloud.dialogflow.cx.v3.Version.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface VersionOrBuilderpublic Version.Builder setStateValue(int value)
Output only. The state of this version. This field is read-only and cannot be set by create and update methods.
.google.cloud.dialogflow.cx.v3.Version.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for state to set.public Version.State getState()
Output only. The state of this version. This field is read-only and cannot be set by create and update methods.
.google.cloud.dialogflow.cx.v3.Version.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface VersionOrBuilderpublic Version.Builder setState(Version.State value)
Output only. The state of this version. This field is read-only and cannot be set by create and update methods.
.google.cloud.dialogflow.cx.v3.Version.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The state to set.public Version.Builder clearState()
Output only. The state of this version. This field is read-only and cannot be set by create and update methods.
.google.cloud.dialogflow.cx.v3.Version.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public final Version.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Version.Builder>public final Version.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Version.Builder>Copyright © 2022 Google LLC. All rights reserved.