Interface CreateVersionRequestOrBuilder (4.8.5)

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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getVersion()

public abstract Version getVersion()

Required. The version to create.

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

Returns
TypeDescription
Version

The version.

getVersionOrBuilder()

public abstract VersionOrBuilder getVersionOrBuilder()

Required. The version to create.

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

Returns
TypeDescription
VersionOrBuilder

hasVersion()

public abstract boolean hasVersion()

Required. The version to create.

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

Returns
TypeDescription
boolean

Whether the version field is set.