Interface VersionOrBuilder (4.52.0)

See more code actions.
public interface VersionOrBuilder extends MessageOrBuilder
MessageOrBuilder
public abstract 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
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract 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];

Returns
Type Description
TimestampOrBuilder

getDescription()

public abstract String getDescription()

Optional. The developer-provided description of this version.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Optional. The developer-provided description of this version.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getName()

public abstract 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
Type Description
String

The name.

getNameBytes()

public abstract 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
Type Description
ByteString

The bytes for name.

getStatus()

public abstract 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.v2.Version.VersionStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Version.VersionStatus

The status.

getStatusValue()

public abstract 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
Type Description
int

The enum numeric value on the wire for status.

getVersionNumber()

public abstract 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
Type Description
int

The versionNumber.

hasCreateTime()

public abstract 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
Type Description
boolean

Whether the createTime field is set.