Interface VersionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Version,Version.Builder
public interface VersionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.StringgetDescription()The description of the version.com.google.protobuf.ByteStringgetDescriptionBytes()The description of the version.StringgetDisplayName()Required.com.google.protobuf.ByteStringgetDisplayNameBytes()Required.StringgetName()Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>.com.google.protobuf.ByteStringgetNameBytes()Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>.NluSettingsgetNluSettings()Output only.NluSettingsOrBuildergetNluSettingsOrBuilder()Output only.Version.StategetState()Output only.intgetStateValue()Output only.booleanhasCreateTime()Output only.booleanhasNluSettings()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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;- Returns:
- The name.
-
getNameBytes
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;- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()
Required. The human-readable name of the version. Limit of 64 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The displayName.
-
getDisplayNameBytes
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];- Returns:
- The bytes for displayName.
-
getDescription
String getDescription()
The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 3;- Returns:
- The description.
-
getDescriptionBytes
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;- Returns:
- The bytes for description.
-
hasNluSettings
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];- Returns:
- Whether the nluSettings field is set.
-
getNluSettings
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];- Returns:
- The nluSettings.
-
getNluSettingsOrBuilder
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];
-
hasCreateTime
boolean hasCreateTime()
Output only. Create time of the version.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Output only. Create time of the version.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time of the version.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStateValue
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];- Returns:
- The enum numeric value on the wire for state.
-
getState
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];- Returns:
- The state.
-
-