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.v1.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 |
|
clearAppVersion()
public Deployment.Builder clearAppVersion()Required. The resource name of the app version to deploy. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}
string app_version = 2 [(.google.api.field_behavior) = REQUIRED, (.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.v1.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. |
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 |
|
getAppVersion()
public String getAppVersion()Required. The resource name of the app version to deploy. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}
string app_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The appVersion. |
getAppVersionBytes()
public ByteString getAppVersionBytes()Required. The resource name of the app version to deploy. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}
string app_version = 2 [(.google.api.field_behavior) = REQUIRED, (.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.v1.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.v1.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.v1.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. |
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 |
|
hasChannelProfile()
public boolean hasChannelProfile()Required. The channel profile used in the deployment.
.google.cloud.ces.v1.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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeChannelProfile(ChannelProfile value)
public Deployment.Builder mergeChannelProfile(ChannelProfile value)Required. The channel profile used in the deployment.
.google.cloud.ces.v1.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 |
|
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 |
|
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 |
|
setAppVersion(String value)
public Deployment.Builder setAppVersion(String value)Required. The resource name of the app version to deploy. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}
string app_version = 2 [(.google.api.field_behavior) = REQUIRED, (.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)Required. The resource name of the app version to deploy. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}
string app_version = 2 [(.google.api.field_behavior) = REQUIRED, (.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.v1.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.v1.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. |
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 |
|