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 Type
    Method
    Description
    com.google.protobuf.Timestamp
    Output only.
    com.google.protobuf.TimestampOrBuilder
    Output only.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    Output only.
    int
    Output only.
    int
    Output only.
    boolean
    Output only.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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.v2.Version.VersionStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for status.
    • 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.v2.Version.VersionStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The status.