- 0.64.0 (latest)
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class Environment.Builder extends GeneratedMessageV3.Builder<Environment.Builder> implements EnvironmentOrBuilder
Represents an environment for an agent. You can create multiple versions of your agent and publish them to separate environments. When you edit an agent, you are editing the draft agent. At any point, you can save the draft agent as an agent version, which is an immutable snapshot of your agent. When you save the draft agent, it is published to the default environment. When you create agent versions, you can publish them to custom environments. You can create a variety of custom environments for testing, development, production, etc.
Protobuf type google.cloud.dialogflow.cx.v3.Environment
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Environment.BuilderImplements
EnvironmentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllVersionConfigs(Iterable<? extends Environment.VersionConfig> values)
public Environment.Builder addAllVersionConfigs(Iterable<? extends Environment.VersionConfig> values)
Required. 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.v3.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.cx.v3.Environment.VersionConfig> |
Type | Description |
Environment.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Environment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Environment.Builder |
addVersionConfigs(Environment.VersionConfig value)
public Environment.Builder addVersionConfigs(Environment.VersionConfig value)
Required. 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.v3.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | Environment.VersionConfig |
Type | Description |
Environment.Builder |
addVersionConfigs(Environment.VersionConfig.Builder builderForValue)
public Environment.Builder addVersionConfigs(Environment.VersionConfig.Builder builderForValue)
Required. 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.v3.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | Environment.VersionConfig.Builder |
Type | Description |
Environment.Builder |
addVersionConfigs(int index, Environment.VersionConfig value)
public Environment.Builder addVersionConfigs(int index, Environment.VersionConfig value)
Required. 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.v3.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int |
value | Environment.VersionConfig |
Type | Description |
Environment.Builder |
addVersionConfigs(int index, Environment.VersionConfig.Builder builderForValue)
public Environment.Builder addVersionConfigs(int index, Environment.VersionConfig.Builder builderForValue)
Required. 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.v3.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int |
builderForValue | Environment.VersionConfig.Builder |
Type | Description |
Environment.Builder |
addVersionConfigsBuilder()
public Environment.VersionConfig.Builder addVersionConfigsBuilder()
Required. 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.v3.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Environment.VersionConfig.Builder |
addVersionConfigsBuilder(int index)
public Environment.VersionConfig.Builder addVersionConfigsBuilder(int index)
Required. 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.v3.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int |
Type | Description |
Environment.VersionConfig.Builder |
build()
public Environment build()
Type | Description |
Environment |
buildPartial()
public Environment buildPartial()
Type | Description |
Environment |
clear()
public Environment.Builder clear()
Type | Description |
Environment.Builder |
clearDescription()
public Environment.Builder clearDescription()
The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 3;
Type | Description |
Environment.Builder | This builder for chaining. |
clearDisplayName()
public Environment.Builder clearDisplayName()
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];
Type | Description |
Environment.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Environment.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Environment.Builder |
clearName()
public Environment.Builder clearName()
The name of the environment.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/environments/<Environment ID>
.
string name = 1;
Type | Description |
Environment.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Environment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Environment.Builder |
clearTestCasesConfig()
public Environment.Builder clearTestCasesConfig()
The test cases config for continuous tests of this environment.
.google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig test_cases_config = 7;
Type | Description |
Environment.Builder |
clearUpdateTime()
public Environment.Builder clearUpdateTime()
Output only. Update time of this environment.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Environment.Builder |
clearVersionConfigs()
public Environment.Builder clearVersionConfigs()
Required. 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.v3.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Environment.Builder |
clone()
public Environment.Builder clone()
Type | Description |
Environment.Builder |
getDefaultInstanceForType()
public Environment getDefaultInstanceForType()
Type | Description |
Environment |
getDescription()
public String getDescription()
The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 3;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 3;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public 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];
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public 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];
Type | Description |
ByteString | The bytes for displayName. |
getName()
public String getName()
The name of the environment.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/environments/<Environment ID>
.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The name of the environment.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/environments/<Environment ID>
.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getTestCasesConfig()
public Environment.TestCasesConfig getTestCasesConfig()
The test cases config for continuous tests of this environment.
.google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig test_cases_config = 7;
Type | Description |
Environment.TestCasesConfig | The testCasesConfig. |
getTestCasesConfigBuilder()
public Environment.TestCasesConfig.Builder getTestCasesConfigBuilder()
The test cases config for continuous tests of this environment.
.google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig test_cases_config = 7;
Type | Description |
Environment.TestCasesConfig.Builder |
getTestCasesConfigOrBuilder()
public Environment.TestCasesConfigOrBuilder getTestCasesConfigOrBuilder()
The test cases config for continuous tests of this environment.
.google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig test_cases_config = 7;
Type | Description |
Environment.TestCasesConfigOrBuilder |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Update time of this environment.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. Update time of this environment.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Update time of this environment.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getVersionConfigs(int index)
public Environment.VersionConfig getVersionConfigs(int index)
Required. 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.v3.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int |
Type | Description |
Environment.VersionConfig |
getVersionConfigsBuilder(int index)
public Environment.VersionConfig.Builder getVersionConfigsBuilder(int index)
Required. 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.v3.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int |
Type | Description |
Environment.VersionConfig.Builder |
getVersionConfigsBuilderList()
public List<Environment.VersionConfig.Builder> getVersionConfigsBuilderList()
Required. 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.v3.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
List<Builder> |
getVersionConfigsCount()
public int getVersionConfigsCount()
Required. 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.v3.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int |
getVersionConfigsList()
public List<Environment.VersionConfig> getVersionConfigsList()
Required. 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.v3.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
List<VersionConfig> |
getVersionConfigsOrBuilder(int index)
public Environment.VersionConfigOrBuilder getVersionConfigsOrBuilder(int index)
Required. 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.v3.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int |
Type | Description |
Environment.VersionConfigOrBuilder |
getVersionConfigsOrBuilderList()
public List<? extends Environment.VersionConfigOrBuilder> getVersionConfigsOrBuilderList()
Required. 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.v3.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3.Environment.VersionConfigOrBuilder> |
hasTestCasesConfig()
public boolean hasTestCasesConfig()
The test cases config for continuous tests of this environment.
.google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig test_cases_config = 7;
Type | Description |
boolean | Whether the testCasesConfig field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Update time of this environment.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Environment other)
public Environment.Builder mergeFrom(Environment other)
Name | Description |
other | Environment |
Type | Description |
Environment.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Environment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Environment.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Environment.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Environment.Builder |
mergeTestCasesConfig(Environment.TestCasesConfig value)
public Environment.Builder mergeTestCasesConfig(Environment.TestCasesConfig value)
The test cases config for continuous tests of this environment.
.google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig test_cases_config = 7;
Name | Description |
value | Environment.TestCasesConfig |
Type | Description |
Environment.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Environment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Environment.Builder |
mergeUpdateTime(Timestamp value)
public Environment.Builder mergeUpdateTime(Timestamp value)
Output only. Update time of this environment.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Environment.Builder |
removeVersionConfigs(int index)
public Environment.Builder removeVersionConfigs(int index)
Required. 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.v3.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int |
Type | Description |
Environment.Builder |
setDescription(String value)
public Environment.Builder setDescription(String value)
The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 3;
Name | Description |
value | String The description to set. |
Type | Description |
Environment.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public Environment.Builder setDescriptionBytes(ByteString value)
The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 3;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
Environment.Builder | This builder for chaining. |
setDisplayName(String value)
public Environment.Builder setDisplayName(String value)
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];
Name | Description |
value | String The displayName to set. |
Type | Description |
Environment.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Environment.Builder setDisplayNameBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
Environment.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Environment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Environment.Builder |
setName(String value)
public Environment.Builder setName(String value)
The name of the environment.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/environments/<Environment ID>
.
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
Environment.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Environment.Builder setNameBytes(ByteString value)
The name of the environment.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/environments/<Environment ID>
.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Environment.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Environment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Environment.Builder |
setTestCasesConfig(Environment.TestCasesConfig value)
public Environment.Builder setTestCasesConfig(Environment.TestCasesConfig value)
The test cases config for continuous tests of this environment.
.google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig test_cases_config = 7;
Name | Description |
value | Environment.TestCasesConfig |
Type | Description |
Environment.Builder |
setTestCasesConfig(Environment.TestCasesConfig.Builder builderForValue)
public Environment.Builder setTestCasesConfig(Environment.TestCasesConfig.Builder builderForValue)
The test cases config for continuous tests of this environment.
.google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig test_cases_config = 7;
Name | Description |
builderForValue | Environment.TestCasesConfig.Builder |
Type | Description |
Environment.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Environment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Environment.Builder |
setUpdateTime(Timestamp value)
public Environment.Builder setUpdateTime(Timestamp value)
Output only. Update time of this environment.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Environment.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Environment.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Update time of this environment.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Environment.Builder |
setVersionConfigs(int index, Environment.VersionConfig value)
public Environment.Builder setVersionConfigs(int index, Environment.VersionConfig value)
Required. 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.v3.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int |
value | Environment.VersionConfig |
Type | Description |
Environment.Builder |
setVersionConfigs(int index, Environment.VersionConfig.Builder builderForValue)
public Environment.Builder setVersionConfigs(int index, Environment.VersionConfig.Builder builderForValue)
Required. 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.v3.Environment.VersionConfig version_configs = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int |
builderForValue | Environment.VersionConfig.Builder |
Type | Description |
Environment.Builder |