public static final class Deployment.Builder extends GeneratedMessage.Builder<Deployment.Builder> implements DeploymentOrBuilderA deployment represents an immutable, queryable version of the app. It is used to deploy an app version with a specific channel profile.
Protobuf type google.cloud.ces.v1beta.Deployment
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Deployment.BuilderImplements
DeploymentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Deployment build()| Returns | |
|---|---|
| Type | Description |
Deployment |
|
buildPartial()
public Deployment buildPartial()| Returns | |
|---|---|
| Type | Description |
Deployment |
|
clear()
public Deployment.Builder clear()| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
clearAgentRegistryDeployment()
public Deployment.Builder clearAgentRegistryDeployment()Optional. Configuration for deploying this deployment to Agent Registry. If present, this deployment will be published to Agent Registry.
.google.cloud.ces.v1beta.AgentRegistryDeployment agent_registry_deployment = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
clearAppVersion()
public Deployment.Builder clearAppVersion() Optional. The resource name of the app version to deploy.
Format:
projects/{project}/locations/{location}/apps/{app}/versions/{version}
Use projects/{project}/locations/{location}/apps/{app}/versions/- to use
the draft app.
string app_version = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
This builder for chaining. |
clearChannelProfile()
public Deployment.Builder clearChannelProfile()Required. The channel profile used in the deployment.
.google.cloud.ces.v1beta.ChannelProfile channel_profile = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
clearCreateTime()
public Deployment.Builder clearCreateTime()Output only. Timestamp when this deployment was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
clearDisplayName()
public Deployment.Builder clearDisplayName()Required. Display name of the deployment.
string display_name = 8 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
This builder for chaining. |
clearEtag()
public Deployment.Builder clearEtag()Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
string etag = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
This builder for chaining. |
clearExperimentConfig()
public Deployment.Builder clearExperimentConfig()Optional. Experiment configuration for the deployment.
.google.cloud.ces.v1beta.ExperimentConfig experiment_config = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
clearInstagramCredentials()
public Deployment.Builder clearInstagramCredentials()Optional. Input only. Ephemeral Instagram credentials required when configuring a Instagram channel profile.
.google.cloud.ces.v1beta.InstagramCredentials instagram_credentials = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
clearModality()
public Deployment.Builder clearModality()Optional. The modality of the deployment. Note: Deployment-level modality override is gated behind an allowlist. Contact the CXAS team to enable this field.
.google.cloud.ces.v1beta.Deployment.Modality modality = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
This builder for chaining. |
clearModelSettings()
public Deployment.Builder clearModelSettings()Optional. Model settings for the deployment. Overrides model settings configured at the app/agent levels. Note: Deployment-level model settings override is gated behind an allowlist. Contact the CXAS team to enable this field.
.google.cloud.ces.v1beta.ModelSettings model_settings = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
clearName()
public Deployment.Builder clearName() Identifier. The resource name of the deployment.
Format:
projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
This builder for chaining. |
clearUpdateTime()
public Deployment.Builder clearUpdateTime()Output only. Timestamp when this deployment was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
clearWhatsappCredentials()
public Deployment.Builder clearWhatsappCredentials()Optional. Input only. Ephemeral WhatsApp credentials required when configuring a WhatsApp channel profile.
.google.cloud.ces.v1beta.WhatsAppCredentials whatsapp_credentials = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
getAgentRegistryDeployment()
public AgentRegistryDeployment getAgentRegistryDeployment()Optional. Configuration for deploying this deployment to Agent Registry. If present, this deployment will be published to Agent Registry.
.google.cloud.ces.v1beta.AgentRegistryDeployment agent_registry_deployment = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentRegistryDeployment |
The agentRegistryDeployment. |
getAgentRegistryDeploymentBuilder()
public AgentRegistryDeployment.Builder getAgentRegistryDeploymentBuilder()Optional. Configuration for deploying this deployment to Agent Registry. If present, this deployment will be published to Agent Registry.
.google.cloud.ces.v1beta.AgentRegistryDeployment agent_registry_deployment = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentRegistryDeployment.Builder |
|
getAgentRegistryDeploymentOrBuilder()
public AgentRegistryDeploymentOrBuilder getAgentRegistryDeploymentOrBuilder()Optional. Configuration for deploying this deployment to Agent Registry. If present, this deployment will be published to Agent Registry.
.google.cloud.ces.v1beta.AgentRegistryDeployment agent_registry_deployment = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentRegistryDeploymentOrBuilder |
|
getAppVersion()
public String getAppVersion() Optional. The resource name of the app version to deploy.
Format:
projects/{project}/locations/{location}/apps/{app}/versions/{version}
Use projects/{project}/locations/{location}/apps/{app}/versions/- to use
the draft app.
string app_version = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The appVersion. |
getAppVersionBytes()
public ByteString getAppVersionBytes() Optional. The resource name of the app version to deploy.
Format:
projects/{project}/locations/{location}/apps/{app}/versions/{version}
Use projects/{project}/locations/{location}/apps/{app}/versions/- to use
the draft app.
string app_version = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for appVersion. |
getChannelProfile()
public ChannelProfile getChannelProfile()Required. The channel profile used in the deployment.
.google.cloud.ces.v1beta.ChannelProfile channel_profile = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ChannelProfile |
The channelProfile. |
getChannelProfileBuilder()
public ChannelProfile.Builder getChannelProfileBuilder()Required. The channel profile used in the deployment.
.google.cloud.ces.v1beta.ChannelProfile channel_profile = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ChannelProfile.Builder |
|
getChannelProfileOrBuilder()
public ChannelProfileOrBuilder getChannelProfileOrBuilder()Required. The channel profile used in the deployment.
.google.cloud.ces.v1beta.ChannelProfile channel_profile = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ChannelProfileOrBuilder |
|
getCreateTime()
public Timestamp getCreateTime()Output only. Timestamp when this deployment was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. Timestamp when this deployment was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. Timestamp when this deployment was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public Deployment getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Deployment |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Required. Display name of the deployment.
string display_name = 8 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Required. Display name of the deployment.
string display_name = 8 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getEtag()
public String getEtag()Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
string etag = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The etag. |
getEtagBytes()
public ByteString getEtagBytes()Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
string etag = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for etag. |
getExperimentConfig()
public ExperimentConfig getExperimentConfig()Optional. Experiment configuration for the deployment.
.google.cloud.ces.v1beta.ExperimentConfig experiment_config = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ExperimentConfig |
The experimentConfig. |
getExperimentConfigBuilder()
public ExperimentConfig.Builder getExperimentConfigBuilder()Optional. Experiment configuration for the deployment.
.google.cloud.ces.v1beta.ExperimentConfig experiment_config = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ExperimentConfig.Builder |
|
getExperimentConfigOrBuilder()
public ExperimentConfigOrBuilder getExperimentConfigOrBuilder()Optional. Experiment configuration for the deployment.
.google.cloud.ces.v1beta.ExperimentConfig experiment_config = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ExperimentConfigOrBuilder |
|
getInstagramCredentials()
public InstagramCredentials getInstagramCredentials()Optional. Input only. Ephemeral Instagram credentials required when configuring a Instagram channel profile.
.google.cloud.ces.v1beta.InstagramCredentials instagram_credentials = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
InstagramCredentials |
The instagramCredentials. |
getInstagramCredentialsBuilder()
public InstagramCredentials.Builder getInstagramCredentialsBuilder()Optional. Input only. Ephemeral Instagram credentials required when configuring a Instagram channel profile.
.google.cloud.ces.v1beta.InstagramCredentials instagram_credentials = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
InstagramCredentials.Builder |
|
getInstagramCredentialsOrBuilder()
public InstagramCredentialsOrBuilder getInstagramCredentialsOrBuilder()Optional. Input only. Ephemeral Instagram credentials required when configuring a Instagram channel profile.
.google.cloud.ces.v1beta.InstagramCredentials instagram_credentials = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
InstagramCredentialsOrBuilder |
|
getModality()
public Deployment.Modality getModality()Optional. The modality of the deployment. Note: Deployment-level modality override is gated behind an allowlist. Contact the CXAS team to enable this field.
.google.cloud.ces.v1beta.Deployment.Modality modality = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Deployment.Modality |
The modality. |
getModalityValue()
public int getModalityValue()Optional. The modality of the deployment. Note: Deployment-level modality override is gated behind an allowlist. Contact the CXAS team to enable this field.
.google.cloud.ces.v1beta.Deployment.Modality modality = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for modality. |
getModelSettings()
public ModelSettings getModelSettings()Optional. Model settings for the deployment. Overrides model settings configured at the app/agent levels. Note: Deployment-level model settings override is gated behind an allowlist. Contact the CXAS team to enable this field.
.google.cloud.ces.v1beta.ModelSettings model_settings = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ModelSettings |
The modelSettings. |
getModelSettingsBuilder()
public ModelSettings.Builder getModelSettingsBuilder()Optional. Model settings for the deployment. Overrides model settings configured at the app/agent levels. Note: Deployment-level model settings override is gated behind an allowlist. Contact the CXAS team to enable this field.
.google.cloud.ces.v1beta.ModelSettings model_settings = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ModelSettings.Builder |
|
getModelSettingsOrBuilder()
public ModelSettingsOrBuilder getModelSettingsOrBuilder()Optional. Model settings for the deployment. Overrides model settings configured at the app/agent levels. Note: Deployment-level model settings override is gated behind an allowlist. Contact the CXAS team to enable this field.
.google.cloud.ces.v1beta.ModelSettings model_settings = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ModelSettingsOrBuilder |
|
getName()
public String getName() Identifier. The resource name of the deployment.
Format:
projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. The resource name of the deployment.
Format:
projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getUpdateTime()
public Timestamp getUpdateTime()Output only. Timestamp when this deployment was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. Timestamp when this deployment was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Timestamp when this deployment was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getWhatsappCredentials()
public WhatsAppCredentials getWhatsappCredentials()Optional. Input only. Ephemeral WhatsApp credentials required when configuring a WhatsApp channel profile.
.google.cloud.ces.v1beta.WhatsAppCredentials whatsapp_credentials = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
WhatsAppCredentials |
The whatsappCredentials. |
getWhatsappCredentialsBuilder()
public WhatsAppCredentials.Builder getWhatsappCredentialsBuilder()Optional. Input only. Ephemeral WhatsApp credentials required when configuring a WhatsApp channel profile.
.google.cloud.ces.v1beta.WhatsAppCredentials whatsapp_credentials = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
WhatsAppCredentials.Builder |
|
getWhatsappCredentialsOrBuilder()
public WhatsAppCredentialsOrBuilder getWhatsappCredentialsOrBuilder()Optional. Input only. Ephemeral WhatsApp credentials required when configuring a WhatsApp channel profile.
.google.cloud.ces.v1beta.WhatsAppCredentials whatsapp_credentials = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
WhatsAppCredentialsOrBuilder |
|
hasAgentRegistryDeployment()
public boolean hasAgentRegistryDeployment()Optional. Configuration for deploying this deployment to Agent Registry. If present, this deployment will be published to Agent Registry.
.google.cloud.ces.v1beta.AgentRegistryDeployment agent_registry_deployment = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the agentRegistryDeployment field is set. |
hasChannelProfile()
public boolean hasChannelProfile()Required. The channel profile used in the deployment.
.google.cloud.ces.v1beta.ChannelProfile channel_profile = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the channelProfile field is set. |
hasCreateTime()
public boolean hasCreateTime()Output only. Timestamp when this deployment was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasExperimentConfig()
public boolean hasExperimentConfig()Optional. Experiment configuration for the deployment.
.google.cloud.ces.v1beta.ExperimentConfig experiment_config = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the experimentConfig field is set. |
hasInstagramCredentials()
public boolean hasInstagramCredentials()Optional. Input only. Ephemeral Instagram credentials required when configuring a Instagram channel profile.
.google.cloud.ces.v1beta.InstagramCredentials instagram_credentials = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the instagramCredentials field is set. |
hasModelSettings()
public boolean hasModelSettings()Optional. Model settings for the deployment. Overrides model settings configured at the app/agent levels. Note: Deployment-level model settings override is gated behind an allowlist. Contact the CXAS team to enable this field.
.google.cloud.ces.v1beta.ModelSettings model_settings = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the modelSettings field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. Timestamp when this deployment was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
hasWhatsappCredentials()
public boolean hasWhatsappCredentials()Optional. Input only. Ephemeral WhatsApp credentials required when configuring a WhatsApp channel profile.
.google.cloud.ces.v1beta.WhatsAppCredentials whatsapp_credentials = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the whatsappCredentials field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAgentRegistryDeployment(AgentRegistryDeployment value)
public Deployment.Builder mergeAgentRegistryDeployment(AgentRegistryDeployment value)Optional. Configuration for deploying this deployment to Agent Registry. If present, this deployment will be published to Agent Registry.
.google.cloud.ces.v1beta.AgentRegistryDeployment agent_registry_deployment = 14 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AgentRegistryDeployment |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
mergeChannelProfile(ChannelProfile value)
public Deployment.Builder mergeChannelProfile(ChannelProfile value)Required. The channel profile used in the deployment.
.google.cloud.ces.v1beta.ChannelProfile channel_profile = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ChannelProfile |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
mergeCreateTime(Timestamp value)
public Deployment.Builder mergeCreateTime(Timestamp value)Output only. Timestamp when this deployment was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
mergeExperimentConfig(ExperimentConfig value)
public Deployment.Builder mergeExperimentConfig(ExperimentConfig value)Optional. Experiment configuration for the deployment.
.google.cloud.ces.v1beta.ExperimentConfig experiment_config = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ExperimentConfig |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
mergeFrom(Deployment other)
public Deployment.Builder mergeFrom(Deployment other)| Parameter | |
|---|---|
| Name | Description |
other |
Deployment |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Deployment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Deployment.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
mergeInstagramCredentials(InstagramCredentials value)
public Deployment.Builder mergeInstagramCredentials(InstagramCredentials value)Optional. Input only. Ephemeral Instagram credentials required when configuring a Instagram channel profile.
.google.cloud.ces.v1beta.InstagramCredentials instagram_credentials = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
InstagramCredentials |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
mergeModelSettings(ModelSettings value)
public Deployment.Builder mergeModelSettings(ModelSettings value)Optional. Model settings for the deployment. Overrides model settings configured at the app/agent levels. Note: Deployment-level model settings override is gated behind an allowlist. Contact the CXAS team to enable this field.
.google.cloud.ces.v1beta.ModelSettings model_settings = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ModelSettings |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
mergeUpdateTime(Timestamp value)
public Deployment.Builder mergeUpdateTime(Timestamp value)Output only. Timestamp when this deployment was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
mergeWhatsappCredentials(WhatsAppCredentials value)
public Deployment.Builder mergeWhatsappCredentials(WhatsAppCredentials value)Optional. Input only. Ephemeral WhatsApp credentials required when configuring a WhatsApp channel profile.
.google.cloud.ces.v1beta.WhatsAppCredentials whatsapp_credentials = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
WhatsAppCredentials |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
setAgentRegistryDeployment(AgentRegistryDeployment value)
public Deployment.Builder setAgentRegistryDeployment(AgentRegistryDeployment value)Optional. Configuration for deploying this deployment to Agent Registry. If present, this deployment will be published to Agent Registry.
.google.cloud.ces.v1beta.AgentRegistryDeployment agent_registry_deployment = 14 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AgentRegistryDeployment |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
setAgentRegistryDeployment(AgentRegistryDeployment.Builder builderForValue)
public Deployment.Builder setAgentRegistryDeployment(AgentRegistryDeployment.Builder builderForValue)Optional. Configuration for deploying this deployment to Agent Registry. If present, this deployment will be published to Agent Registry.
.google.cloud.ces.v1beta.AgentRegistryDeployment agent_registry_deployment = 14 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AgentRegistryDeployment.Builder |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
setAppVersion(String value)
public Deployment.Builder setAppVersion(String value) Optional. The resource name of the app version to deploy.
Format:
projects/{project}/locations/{location}/apps/{app}/versions/{version}
Use projects/{project}/locations/{location}/apps/{app}/versions/- to use
the draft app.
string app_version = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe appVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
This builder for chaining. |
setAppVersionBytes(ByteString value)
public Deployment.Builder setAppVersionBytes(ByteString value) Optional. The resource name of the app version to deploy.
Format:
projects/{project}/locations/{location}/apps/{app}/versions/{version}
Use projects/{project}/locations/{location}/apps/{app}/versions/- to use
the draft app.
string app_version = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for appVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
This builder for chaining. |
setChannelProfile(ChannelProfile value)
public Deployment.Builder setChannelProfile(ChannelProfile value)Required. The channel profile used in the deployment.
.google.cloud.ces.v1beta.ChannelProfile channel_profile = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ChannelProfile |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
setChannelProfile(ChannelProfile.Builder builderForValue)
public Deployment.Builder setChannelProfile(ChannelProfile.Builder builderForValue)Required. The channel profile used in the deployment.
.google.cloud.ces.v1beta.ChannelProfile channel_profile = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ChannelProfile.Builder |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
setCreateTime(Timestamp value)
public Deployment.Builder setCreateTime(Timestamp value)Output only. Timestamp when this deployment was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public Deployment.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Timestamp when this deployment was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
setDisplayName(String value)
public Deployment.Builder setDisplayName(String value)Required. Display name of the deployment.
string display_name = 8 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Deployment.Builder setDisplayNameBytes(ByteString value)Required. Display name of the deployment.
string display_name = 8 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
This builder for chaining. |
setEtag(String value)
public Deployment.Builder setEtag(String value)Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
string etag = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe etag to set. |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
This builder for chaining. |
setEtagBytes(ByteString value)
public Deployment.Builder setEtagBytes(ByteString value)Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
string etag = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for etag to set. |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
This builder for chaining. |
setExperimentConfig(ExperimentConfig value)
public Deployment.Builder setExperimentConfig(ExperimentConfig value)Optional. Experiment configuration for the deployment.
.google.cloud.ces.v1beta.ExperimentConfig experiment_config = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ExperimentConfig |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
setExperimentConfig(ExperimentConfig.Builder builderForValue)
public Deployment.Builder setExperimentConfig(ExperimentConfig.Builder builderForValue)Optional. Experiment configuration for the deployment.
.google.cloud.ces.v1beta.ExperimentConfig experiment_config = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ExperimentConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
setInstagramCredentials(InstagramCredentials value)
public Deployment.Builder setInstagramCredentials(InstagramCredentials value)Optional. Input only. Ephemeral Instagram credentials required when configuring a Instagram channel profile.
.google.cloud.ces.v1beta.InstagramCredentials instagram_credentials = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
InstagramCredentials |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
setInstagramCredentials(InstagramCredentials.Builder builderForValue)
public Deployment.Builder setInstagramCredentials(InstagramCredentials.Builder builderForValue)Optional. Input only. Ephemeral Instagram credentials required when configuring a Instagram channel profile.
.google.cloud.ces.v1beta.InstagramCredentials instagram_credentials = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
InstagramCredentials.Builder |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
setModality(Deployment.Modality value)
public Deployment.Builder setModality(Deployment.Modality value)Optional. The modality of the deployment. Note: Deployment-level modality override is gated behind an allowlist. Contact the CXAS team to enable this field.
.google.cloud.ces.v1beta.Deployment.Modality modality = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Deployment.ModalityThe modality to set. |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
This builder for chaining. |
setModalityValue(int value)
public Deployment.Builder setModalityValue(int value)Optional. The modality of the deployment. Note: Deployment-level modality override is gated behind an allowlist. Contact the CXAS team to enable this field.
.google.cloud.ces.v1beta.Deployment.Modality modality = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for modality to set. |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
This builder for chaining. |
setModelSettings(ModelSettings value)
public Deployment.Builder setModelSettings(ModelSettings value)Optional. Model settings for the deployment. Overrides model settings configured at the app/agent levels. Note: Deployment-level model settings override is gated behind an allowlist. Contact the CXAS team to enable this field.
.google.cloud.ces.v1beta.ModelSettings model_settings = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ModelSettings |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
setModelSettings(ModelSettings.Builder builderForValue)
public Deployment.Builder setModelSettings(ModelSettings.Builder builderForValue)Optional. Model settings for the deployment. Overrides model settings configured at the app/agent levels. Note: Deployment-level model settings override is gated behind an allowlist. Contact the CXAS team to enable this field.
.google.cloud.ces.v1beta.ModelSettings model_settings = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ModelSettings.Builder |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
setName(String value)
public Deployment.Builder setName(String value) Identifier. The resource name of the deployment.
Format:
projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Deployment.Builder setNameBytes(ByteString value) Identifier. The resource name of the deployment.
Format:
projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public Deployment.Builder setUpdateTime(Timestamp value)Output only. Timestamp when this deployment was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public Deployment.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Timestamp when this deployment was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
setWhatsappCredentials(WhatsAppCredentials value)
public Deployment.Builder setWhatsappCredentials(WhatsAppCredentials value)Optional. Input only. Ephemeral WhatsApp credentials required when configuring a WhatsApp channel profile.
.google.cloud.ces.v1beta.WhatsAppCredentials whatsapp_credentials = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
WhatsAppCredentials |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
setWhatsappCredentials(WhatsAppCredentials.Builder builderForValue)
public Deployment.Builder setWhatsappCredentials(WhatsAppCredentials.Builder builderForValue)Optional. Input only. Ephemeral WhatsApp credentials required when configuring a WhatsApp channel profile.
.google.cloud.ces.v1beta.WhatsAppCredentials whatsapp_credentials = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
WhatsAppCredentials.Builder |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|