Interface EnvironmentOrBuilder (0.39.0)

public interface EnvironmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDescription()

public abstract String getDescription()

The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected.

string description = 3;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected.

string description = 3;

Returns
Type Description
ByteString

The bytes for description.

getDisplayName()

public abstract String getDisplayName()

Required. The human-readable name of the environment (unique in an agent). Limit of 64 characters.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Required. The human-readable name of the environment (unique in an agent). Limit of 64 characters.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public abstract String getName()

The name of the environment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of the environment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getTestCasesConfig()

public abstract Environment.TestCasesConfig getTestCasesConfig()

The test cases config for continuous tests of this environment.

.google.cloud.dialogflow.cx.v3beta1.Environment.TestCasesConfig test_cases_config = 7;

Returns
Type Description
Environment.TestCasesConfig

The testCasesConfig.

getTestCasesConfigOrBuilder()

public abstract Environment.TestCasesConfigOrBuilder getTestCasesConfigOrBuilder()

The test cases config for continuous tests of this environment.

.google.cloud.dialogflow.cx.v3beta1.Environment.TestCasesConfig test_cases_config = 7;

Returns
Type Description
Environment.TestCasesConfigOrBuilder

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. Update time of this environment.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Update time of this environment.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getVersionConfigs(int index)

public abstract Environment.VersionConfig getVersionConfigs(int index)

A list of configurations for flow versions. You should include version configs for all flows that are reachable from Start Flow in the agent. Otherwise, an error will be returned.

repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;

Parameter
Name Description
index int
Returns
Type Description
Environment.VersionConfig

getVersionConfigsCount()

public abstract int getVersionConfigsCount()

A list of configurations for flow versions. You should include version configs for all flows that are reachable from Start Flow in the agent. Otherwise, an error will be returned.

repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;

Returns
Type Description
int

getVersionConfigsList()

public abstract List<Environment.VersionConfig> getVersionConfigsList()

A list of configurations for flow versions. You should include version configs for all flows that are reachable from Start Flow in the agent. Otherwise, an error will be returned.

repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;

Returns
Type Description
List<VersionConfig>

getVersionConfigsOrBuilder(int index)

public abstract Environment.VersionConfigOrBuilder getVersionConfigsOrBuilder(int index)

A list of configurations for flow versions. You should include version configs for all flows that are reachable from Start Flow in the agent. Otherwise, an error will be returned.

repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;

Parameter
Name Description
index int
Returns
Type Description
Environment.VersionConfigOrBuilder

getVersionConfigsOrBuilderList()

public abstract List<? extends Environment.VersionConfigOrBuilder> getVersionConfigsOrBuilderList()

A list of configurations for flow versions. You should include version configs for all flows that are reachable from Start Flow in the agent. Otherwise, an error will be returned.

repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfigOrBuilder>

getWebhookConfig()

public abstract Environment.WebhookConfig getWebhookConfig()

The webhook configuration for this environment.

.google.cloud.dialogflow.cx.v3beta1.Environment.WebhookConfig webhook_config = 10;

Returns
Type Description
Environment.WebhookConfig

The webhookConfig.

getWebhookConfigOrBuilder()

public abstract Environment.WebhookConfigOrBuilder getWebhookConfigOrBuilder()

The webhook configuration for this environment.

.google.cloud.dialogflow.cx.v3beta1.Environment.WebhookConfig webhook_config = 10;

Returns
Type Description
Environment.WebhookConfigOrBuilder

hasTestCasesConfig()

public abstract boolean hasTestCasesConfig()

The test cases config for continuous tests of this environment.

.google.cloud.dialogflow.cx.v3beta1.Environment.TestCasesConfig test_cases_config = 7;

Returns
Type Description
boolean

Whether the testCasesConfig field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. Update time of this environment.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

hasWebhookConfig()

public abstract boolean hasWebhookConfig()

The webhook configuration for this environment.

.google.cloud.dialogflow.cx.v3beta1.Environment.WebhookConfig webhook_config = 10;

Returns
Type Description
boolean

Whether the webhookConfig field is set.