Interface CreateVersionRequestOrBuilder (4.57.0)

public interface CreateVersionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The agent to create a version for. Supported formats:

  • projects/<Project ID>/agent
  • projects/<Project ID>/locations/<Location ID>/agent

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The agent to create a version for. Supported formats:

  • projects/<Project ID>/agent
  • projects/<Project ID>/locations/<Location ID>/agent

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getVersion()

public abstract Version getVersion()

Required. The version to create.

.google.cloud.dialogflow.v2beta1.Version version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Version

The version.

getVersionOrBuilder()

public abstract VersionOrBuilder getVersionOrBuilder()

Required. The version to create.

.google.cloud.dialogflow.v2beta1.Version version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
VersionOrBuilder

hasVersion()

public abstract boolean hasVersion()

Required. The version to create.

.google.cloud.dialogflow.v2beta1.Version version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the version field is set.