Interface CreateEnvironmentRequestOrBuilder (4.7.0)

public interface CreateEnvironmentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnvironment()

public abstract Environment getEnvironment()

Required. The environment to create.

.google.cloud.dialogflow.v2.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Environment

The environment.

getEnvironmentId()

public abstract String getEnvironmentId()

Required. The unique id of the new environment.

string environment_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The environmentId.

getEnvironmentIdBytes()

public abstract ByteString getEnvironmentIdBytes()

Required. The unique id of the new environment.

string environment_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for environmentId.

getEnvironmentOrBuilder()

public abstract EnvironmentOrBuilder getEnvironmentOrBuilder()

Required. The environment to create.

.google.cloud.dialogflow.v2.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
EnvironmentOrBuilder

getParent()

public abstract String getParent()

Required. The agent to create an environment 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 an environment 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.

hasEnvironment()

public abstract boolean hasEnvironment()

Required. The environment to create.

.google.cloud.dialogflow.v2.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the environment field is set.