Interface CreateEnvironmentRequestOrBuilder (4.49.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the environment field is set.