Interface EnvironmentOrBuilder (0.52.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the webhookConfig field is set.