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.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.String
getDescription()
Optional.com.google.protobuf.ByteString
getDescriptionBytes()
Optional.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.Version.VersionStatus
getStatus()
Output only.int
getStatusValue()
Output only.int
getVersionNumber()
Output only.boolean
hasCreateTime()
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()
Output only. The unique identifier of this agent version. Supported formats: - `projects/<Project ID>/agent/versions/<Version ID>` - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version ID>`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The unique identifier of this agent version. Supported formats: - `projects/<Project ID>/agent/versions/<Version ID>` - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version ID>`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for name.
-
getDescription
String getDescription()
Optional. The developer-provided description of this version.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Optional. The developer-provided description of this version.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for description.
-
getVersionNumber
int getVersionNumber()
Output only. The sequential number of this version. This field is read-only which means it cannot be set by create and update methods.
int32 version_number = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The versionNumber.
-
hasCreateTime
boolean hasCreateTime()
Output only. The creation time of this version. This field is read-only, i.e., it cannot be set by create and update methods.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Output only. The creation time of this version. This field is read-only, i.e., it cannot be set by create and update methods.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time of this version. This field is read-only, i.e., it cannot be set by create and update methods.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStatusValue
int getStatusValue()
Output only. The status of this version. This field is read-only and cannot be set by create and update methods.
.google.cloud.dialogflow.v2beta1.Version.VersionStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The enum numeric value on the wire for status.
-
getStatus
Version.VersionStatus getStatus()
Output only. The status of this version. This field is read-only and cannot be set by create and update methods.
.google.cloud.dialogflow.v2beta1.Version.VersionStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The status.
-
-