Class Environment.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
- com.google.cloud.dialogflow.cx.v3beta1.Environment.Builder
-
- All Implemented Interfaces:
EnvironmentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Environment
public static final class Environment.Builder extends com.google.protobuf.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 typegoogle.cloud.dialogflow.cx.v3beta1.Environment
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Environment.BuilderaddAllVersionConfigs(Iterable<? extends Environment.VersionConfig> values)A list of configurations for flow versions.Environment.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Environment.BuilderaddVersionConfigs(int index, Environment.VersionConfig value)A list of configurations for flow versions.Environment.BuilderaddVersionConfigs(int index, Environment.VersionConfig.Builder builderForValue)A list of configurations for flow versions.Environment.BuilderaddVersionConfigs(Environment.VersionConfig value)A list of configurations for flow versions.Environment.BuilderaddVersionConfigs(Environment.VersionConfig.Builder builderForValue)A list of configurations for flow versions.Environment.VersionConfig.BuilderaddVersionConfigsBuilder()A list of configurations for flow versions.Environment.VersionConfig.BuilderaddVersionConfigsBuilder(int index)A list of configurations for flow versions.Environmentbuild()EnvironmentbuildPartial()Environment.Builderclear()Environment.BuilderclearDescription()The human-readable description of the environment.Environment.BuilderclearDisplayName()Required.Environment.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Environment.BuilderclearName()The name of the environment.Environment.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Environment.BuilderclearTestCasesConfig()The test cases config for continuous tests of this environment.Environment.BuilderclearUpdateTime()Output only.Environment.BuilderclearVersionConfigs()A list of configurations for flow versions.Environment.BuilderclearWebhookConfig()The webhook configuration for this environment.Environment.Builderclone()EnvironmentgetDefaultInstanceForType()StringgetDescription()The human-readable description of the environment.com.google.protobuf.ByteStringgetDescriptionBytes()The human-readable description of the environment.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()Required.com.google.protobuf.ByteStringgetDisplayNameBytes()Required.StringgetName()The name of the environment.com.google.protobuf.ByteStringgetNameBytes()The name of the environment.Environment.TestCasesConfiggetTestCasesConfig()The test cases config for continuous tests of this environment.Environment.TestCasesConfig.BuildergetTestCasesConfigBuilder()The test cases config for continuous tests of this environment.Environment.TestCasesConfigOrBuildergetTestCasesConfigOrBuilder()The test cases config for continuous tests of this environment.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.Environment.VersionConfiggetVersionConfigs(int index)A list of configurations for flow versions.Environment.VersionConfig.BuildergetVersionConfigsBuilder(int index)A list of configurations for flow versions.List<Environment.VersionConfig.Builder>getVersionConfigsBuilderList()A list of configurations for flow versions.intgetVersionConfigsCount()A list of configurations for flow versions.List<Environment.VersionConfig>getVersionConfigsList()A list of configurations for flow versions.Environment.VersionConfigOrBuildergetVersionConfigsOrBuilder(int index)A list of configurations for flow versions.List<? extends Environment.VersionConfigOrBuilder>getVersionConfigsOrBuilderList()A list of configurations for flow versions.Environment.WebhookConfiggetWebhookConfig()The webhook configuration for this environment.Environment.WebhookConfig.BuildergetWebhookConfigBuilder()The webhook configuration for this environment.Environment.WebhookConfigOrBuildergetWebhookConfigOrBuilder()The webhook configuration for this environment.booleanhasTestCasesConfig()The test cases config for continuous tests of this environment.booleanhasUpdateTime()Output only.booleanhasWebhookConfig()The webhook configuration for this environment.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Environment.BuildermergeFrom(Environment other)Environment.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Environment.BuildermergeFrom(com.google.protobuf.Message other)Environment.BuildermergeTestCasesConfig(Environment.TestCasesConfig value)The test cases config for continuous tests of this environment.Environment.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Environment.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.Environment.BuildermergeWebhookConfig(Environment.WebhookConfig value)The webhook configuration for this environment.Environment.BuilderremoveVersionConfigs(int index)A list of configurations for flow versions.Environment.BuildersetDescription(String value)The human-readable description of the environment.Environment.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)The human-readable description of the environment.Environment.BuildersetDisplayName(String value)Required.Environment.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)Required.Environment.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Environment.BuildersetName(String value)The name of the environment.Environment.BuildersetNameBytes(com.google.protobuf.ByteString value)The name of the environment.Environment.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Environment.BuildersetTestCasesConfig(Environment.TestCasesConfig value)The test cases config for continuous tests of this environment.Environment.BuildersetTestCasesConfig(Environment.TestCasesConfig.Builder builderForValue)The test cases config for continuous tests of this environment.Environment.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Environment.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.Environment.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Environment.BuildersetVersionConfigs(int index, Environment.VersionConfig value)A list of configurations for flow versions.Environment.BuildersetVersionConfigs(int index, Environment.VersionConfig.Builder builderForValue)A list of configurations for flow versions.Environment.BuildersetWebhookConfig(Environment.WebhookConfig value)The webhook configuration for this environment.Environment.BuildersetWebhookConfig(Environment.WebhookConfig.Builder builderForValue)The webhook configuration for this environment.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
clear
public Environment.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
getDefaultInstanceForType
public Environment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Environment build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Environment buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Environment.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
setField
public Environment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
clearField
public Environment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
clearOneof
public Environment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
setRepeatedField
public Environment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
addRepeatedField
public Environment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
mergeFrom
public Environment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Environment.Builder>
-
mergeFrom
public Environment.Builder mergeFrom(Environment other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
mergeFrom
public Environment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Environment.Builder>- Throws:
IOException
-
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;- Specified by:
getNamein interfaceEnvironmentOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the environment. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>`.
string name = 1;- Specified by:
getNameBytesin interfaceEnvironmentOrBuilder- Returns:
- The bytes for name.
-
setName
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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setNameBytes
public Environment.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the environment. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>`.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getDisplayNamein interfaceEnvironmentOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.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];- Specified by:
getDisplayNameBytesin interfaceEnvironmentOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
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];- Parameters:
value- The displayName to set.- Returns:
- 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];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public Environment.Builder setDisplayNameBytes(com.google.protobuf.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];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getDescriptionin interfaceEnvironmentOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 3;- Specified by:
getDescriptionBytesin interfaceEnvironmentOrBuilder- Returns:
- The bytes for description.
-
setDescription
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;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Environment.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 3;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getVersionConfigsList
public 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`][Agent.start_flow] in the agent. Otherwise, an error will be returned.
repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;- Specified by:
getVersionConfigsListin interfaceEnvironmentOrBuilder
-
getVersionConfigsCount
public int getVersionConfigsCount()
A list of configurations for flow versions. You should include version configs for all flows that are reachable from [`Start Flow`][Agent.start_flow] in the agent. Otherwise, an error will be returned.
repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;- Specified by:
getVersionConfigsCountin interfaceEnvironmentOrBuilder
-
getVersionConfigs
public 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`][Agent.start_flow] in the agent. Otherwise, an error will be returned.
repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;- Specified by:
getVersionConfigsin interfaceEnvironmentOrBuilder
-
setVersionConfigs
public Environment.Builder setVersionConfigs(int index, Environment.VersionConfig value)
A list of configurations for flow versions. You should include version configs for all flows that are reachable from [`Start Flow`][Agent.start_flow] in the agent. Otherwise, an error will be returned.
repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
-
setVersionConfigs
public Environment.Builder setVersionConfigs(int index, Environment.VersionConfig.Builder builderForValue)
A list of configurations for flow versions. You should include version configs for all flows that are reachable from [`Start Flow`][Agent.start_flow] in the agent. Otherwise, an error will be returned.
repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
-
addVersionConfigs
public Environment.Builder addVersionConfigs(Environment.VersionConfig value)
A list of configurations for flow versions. You should include version configs for all flows that are reachable from [`Start Flow`][Agent.start_flow] in the agent. Otherwise, an error will be returned.
repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
-
addVersionConfigs
public Environment.Builder addVersionConfigs(int index, Environment.VersionConfig value)
A list of configurations for flow versions. You should include version configs for all flows that are reachable from [`Start Flow`][Agent.start_flow] in the agent. Otherwise, an error will be returned.
repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
-
addVersionConfigs
public Environment.Builder addVersionConfigs(Environment.VersionConfig.Builder builderForValue)
A list of configurations for flow versions. You should include version configs for all flows that are reachable from [`Start Flow`][Agent.start_flow] in the agent. Otherwise, an error will be returned.
repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
-
addVersionConfigs
public Environment.Builder addVersionConfigs(int index, Environment.VersionConfig.Builder builderForValue)
A list of configurations for flow versions. You should include version configs for all flows that are reachable from [`Start Flow`][Agent.start_flow] in the agent. Otherwise, an error will be returned.
repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
-
addAllVersionConfigs
public Environment.Builder addAllVersionConfigs(Iterable<? extends Environment.VersionConfig> values)
A list of configurations for flow versions. You should include version configs for all flows that are reachable from [`Start Flow`][Agent.start_flow] in the agent. Otherwise, an error will be returned.
repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
-
clearVersionConfigs
public Environment.Builder clearVersionConfigs()
A list of configurations for flow versions. You should include version configs for all flows that are reachable from [`Start Flow`][Agent.start_flow] in the agent. Otherwise, an error will be returned.
repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
-
removeVersionConfigs
public Environment.Builder removeVersionConfigs(int index)
A list of configurations for flow versions. You should include version configs for all flows that are reachable from [`Start Flow`][Agent.start_flow] in the agent. Otherwise, an error will be returned.
repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
-
getVersionConfigsBuilder
public Environment.VersionConfig.Builder getVersionConfigsBuilder(int index)
A list of configurations for flow versions. You should include version configs for all flows that are reachable from [`Start Flow`][Agent.start_flow] in the agent. Otherwise, an error will be returned.
repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
-
getVersionConfigsOrBuilder
public 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`][Agent.start_flow] in the agent. Otherwise, an error will be returned.
repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;- Specified by:
getVersionConfigsOrBuilderin interfaceEnvironmentOrBuilder
-
getVersionConfigsOrBuilderList
public 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`][Agent.start_flow] in the agent. Otherwise, an error will be returned.
repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;- Specified by:
getVersionConfigsOrBuilderListin interfaceEnvironmentOrBuilder
-
addVersionConfigsBuilder
public Environment.VersionConfig.Builder addVersionConfigsBuilder()
A list of configurations for flow versions. You should include version configs for all flows that are reachable from [`Start Flow`][Agent.start_flow] in the agent. Otherwise, an error will be returned.
repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
-
addVersionConfigsBuilder
public Environment.VersionConfig.Builder addVersionConfigsBuilder(int index)
A list of configurations for flow versions. You should include version configs for all flows that are reachable from [`Start Flow`][Agent.start_flow] in the agent. Otherwise, an error will be returned.
repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
-
getVersionConfigsBuilderList
public List<Environment.VersionConfig.Builder> getVersionConfigsBuilderList()
A list of configurations for flow versions. You should include version configs for all flows that are reachable from [`Start Flow`][Agent.start_flow] in the agent. Otherwise, an error will be returned.
repeated .google.cloud.dialogflow.cx.v3beta1.Environment.VersionConfig version_configs = 6;
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Update time of this environment.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceEnvironmentOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Update time of this environment.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceEnvironmentOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
public Environment.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Update time of this environment.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Environment.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Update time of this environment.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public Environment.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Update time of this environment.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public Environment.Builder clearUpdateTime()
Output only. Update time of this environment.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Update time of this environment.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Update time of this environment.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceEnvironmentOrBuilder
-
hasTestCasesConfig
public boolean hasTestCasesConfig()
The test cases config for continuous tests of this environment.
.google.cloud.dialogflow.cx.v3beta1.Environment.TestCasesConfig test_cases_config = 7;- Specified by:
hasTestCasesConfigin interfaceEnvironmentOrBuilder- Returns:
- Whether the testCasesConfig field is set.
-
getTestCasesConfig
public Environment.TestCasesConfig getTestCasesConfig()
The test cases config for continuous tests of this environment.
.google.cloud.dialogflow.cx.v3beta1.Environment.TestCasesConfig test_cases_config = 7;- Specified by:
getTestCasesConfigin interfaceEnvironmentOrBuilder- Returns:
- The testCasesConfig.
-
setTestCasesConfig
public Environment.Builder setTestCasesConfig(Environment.TestCasesConfig value)
The test cases config for continuous tests of this environment.
.google.cloud.dialogflow.cx.v3beta1.Environment.TestCasesConfig test_cases_config = 7;
-
setTestCasesConfig
public Environment.Builder setTestCasesConfig(Environment.TestCasesConfig.Builder builderForValue)
The test cases config for continuous tests of this environment.
.google.cloud.dialogflow.cx.v3beta1.Environment.TestCasesConfig test_cases_config = 7;
-
mergeTestCasesConfig
public Environment.Builder mergeTestCasesConfig(Environment.TestCasesConfig value)
The test cases config for continuous tests of this environment.
.google.cloud.dialogflow.cx.v3beta1.Environment.TestCasesConfig test_cases_config = 7;
-
clearTestCasesConfig
public Environment.Builder clearTestCasesConfig()
The test cases config for continuous tests of this environment.
.google.cloud.dialogflow.cx.v3beta1.Environment.TestCasesConfig test_cases_config = 7;
-
getTestCasesConfigBuilder
public Environment.TestCasesConfig.Builder getTestCasesConfigBuilder()
The test cases config for continuous tests of this environment.
.google.cloud.dialogflow.cx.v3beta1.Environment.TestCasesConfig test_cases_config = 7;
-
getTestCasesConfigOrBuilder
public Environment.TestCasesConfigOrBuilder getTestCasesConfigOrBuilder()
The test cases config for continuous tests of this environment.
.google.cloud.dialogflow.cx.v3beta1.Environment.TestCasesConfig test_cases_config = 7;- Specified by:
getTestCasesConfigOrBuilderin interfaceEnvironmentOrBuilder
-
hasWebhookConfig
public boolean hasWebhookConfig()
The webhook configuration for this environment.
.google.cloud.dialogflow.cx.v3beta1.Environment.WebhookConfig webhook_config = 10;- Specified by:
hasWebhookConfigin interfaceEnvironmentOrBuilder- Returns:
- Whether the webhookConfig field is set.
-
getWebhookConfig
public Environment.WebhookConfig getWebhookConfig()
The webhook configuration for this environment.
.google.cloud.dialogflow.cx.v3beta1.Environment.WebhookConfig webhook_config = 10;- Specified by:
getWebhookConfigin interfaceEnvironmentOrBuilder- Returns:
- The webhookConfig.
-
setWebhookConfig
public Environment.Builder setWebhookConfig(Environment.WebhookConfig value)
The webhook configuration for this environment.
.google.cloud.dialogflow.cx.v3beta1.Environment.WebhookConfig webhook_config = 10;
-
setWebhookConfig
public Environment.Builder setWebhookConfig(Environment.WebhookConfig.Builder builderForValue)
The webhook configuration for this environment.
.google.cloud.dialogflow.cx.v3beta1.Environment.WebhookConfig webhook_config = 10;
-
mergeWebhookConfig
public Environment.Builder mergeWebhookConfig(Environment.WebhookConfig value)
The webhook configuration for this environment.
.google.cloud.dialogflow.cx.v3beta1.Environment.WebhookConfig webhook_config = 10;
-
clearWebhookConfig
public Environment.Builder clearWebhookConfig()
The webhook configuration for this environment.
.google.cloud.dialogflow.cx.v3beta1.Environment.WebhookConfig webhook_config = 10;
-
getWebhookConfigBuilder
public Environment.WebhookConfig.Builder getWebhookConfigBuilder()
The webhook configuration for this environment.
.google.cloud.dialogflow.cx.v3beta1.Environment.WebhookConfig webhook_config = 10;
-
getWebhookConfigOrBuilder
public Environment.WebhookConfigOrBuilder getWebhookConfigOrBuilder()
The webhook configuration for this environment.
.google.cloud.dialogflow.cx.v3beta1.Environment.WebhookConfig webhook_config = 10;- Specified by:
getWebhookConfigOrBuilderin interfaceEnvironmentOrBuilder
-
setUnknownFields
public final Environment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
mergeUnknownFields
public final Environment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
-
-