Interface VersionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Version,Version.Builder
@Generated
public interface VersionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.The description of the version.com.google.protobuf.ByteStringThe description of the version.Required.com.google.protobuf.ByteStringRequired.getName()Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>.com.google.protobuf.ByteStringFormat: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>.Output only.Output only.getState()Output only.intOutput only.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>. 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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>. 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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.Version.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-