public static final class DeploymentOperationMetadata.Builder extends GeneratedMessage.Builder<DeploymentOperationMetadata.Builder> implements DeploymentOperationMetadataOrBuilderEphemeral metadata depicting the state of the deployment operation.
Protobuf type google.cloud.designcenter.v1.DeploymentOperationMetadata
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeploymentOperationMetadata.BuilderImplements
DeploymentOperationMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllResources(Iterable<? extends Resource> values)
public DeploymentOperationMetadata.Builder addAllResources(Iterable<? extends Resource> values)Details of the [Resources][]s in the deployment.
repeated .google.cloud.designcenter.v1.Resource resources = 8;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.designcenter.v1.Resource> |
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
|
addResources(Resource value)
public DeploymentOperationMetadata.Builder addResources(Resource value)Details of the [Resources][]s in the deployment.
repeated .google.cloud.designcenter.v1.Resource resources = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
Resource |
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
|
addResources(Resource.Builder builderForValue)
public DeploymentOperationMetadata.Builder addResources(Resource.Builder builderForValue)Details of the [Resources][]s in the deployment.
repeated .google.cloud.designcenter.v1.Resource resources = 8;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Resource.Builder |
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
|
addResources(int index, Resource value)
public DeploymentOperationMetadata.Builder addResources(int index, Resource value)Details of the [Resources][]s in the deployment.
repeated .google.cloud.designcenter.v1.Resource resources = 8;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Resource |
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
|
addResources(int index, Resource.Builder builderForValue)
public DeploymentOperationMetadata.Builder addResources(int index, Resource.Builder builderForValue)Details of the [Resources][]s in the deployment.
repeated .google.cloud.designcenter.v1.Resource resources = 8;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Resource.Builder |
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
|
addResourcesBuilder()
public Resource.Builder addResourcesBuilder()Details of the [Resources][]s in the deployment.
repeated .google.cloud.designcenter.v1.Resource resources = 8;
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
addResourcesBuilder(int index)
public Resource.Builder addResourcesBuilder(int index)Details of the [Resources][]s in the deployment.
repeated .google.cloud.designcenter.v1.Resource resources = 8;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
build()
public DeploymentOperationMetadata build()| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata |
|
buildPartial()
public DeploymentOperationMetadata buildPartial()| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata |
|
clear()
public DeploymentOperationMetadata.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
|
clearDeployment()
public DeploymentOperationMetadata.Builder clearDeployment()Output only. The name of the deployment associated with the application.
string deployment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
This builder for chaining. |
clearDeploymentBuild()
public DeploymentOperationMetadata.Builder clearDeploymentBuild()Output only. Cloud Build instance UUID associated with this deployment.
string deployment_build = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
This builder for chaining. |
clearDeploymentLogs()
public DeploymentOperationMetadata.Builder clearDeploymentLogs() Output only. Location of the deployment operation logs in
gs://{bucket}/{object} format.
string deployment_logs = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
This builder for chaining. |
clearDeploymentStep()
public DeploymentOperationMetadata.Builder clearDeploymentStep()Output only. The current step of the deployment. This will mimic the DeploymentStep enum in the deployment proto.
string deployment_step = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
This builder for chaining. |
clearPreviousAttempt()
public DeploymentOperationMetadata.Builder clearPreviousAttempt()Previous deployment attempt metadata.
.google.cloud.designcenter.v1.DeploymentAttemptMetadata previous_attempt = 9;
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
|
clearResources()
public DeploymentOperationMetadata.Builder clearResources()Details of the [Resources][]s in the deployment.
repeated .google.cloud.designcenter.v1.Resource resources = 8;
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
|
getDefaultInstanceForType()
public DeploymentOperationMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata |
|
getDeployment()
public String getDeployment()Output only. The name of the deployment associated with the application.
string deployment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The deployment. |
getDeploymentBuild()
public String getDeploymentBuild()Output only. Cloud Build instance UUID associated with this deployment.
string deployment_build = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The deploymentBuild. |
getDeploymentBuildBytes()
public ByteString getDeploymentBuildBytes()Output only. Cloud Build instance UUID associated with this deployment.
string deployment_build = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for deploymentBuild. |
getDeploymentBytes()
public ByteString getDeploymentBytes()Output only. The name of the deployment associated with the application.
string deployment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for deployment. |
getDeploymentLogs()
public String getDeploymentLogs() Output only. Location of the deployment operation logs in
gs://{bucket}/{object} format.
string deployment_logs = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The deploymentLogs. |
getDeploymentLogsBytes()
public ByteString getDeploymentLogsBytes() Output only. Location of the deployment operation logs in
gs://{bucket}/{object} format.
string deployment_logs = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for deploymentLogs. |
getDeploymentStep()
public String getDeploymentStep()Output only. The current step of the deployment. This will mimic the DeploymentStep enum in the deployment proto.
string deployment_step = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The deploymentStep. |
getDeploymentStepBytes()
public ByteString getDeploymentStepBytes()Output only. The current step of the deployment. This will mimic the DeploymentStep enum in the deployment proto.
string deployment_step = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for deploymentStep. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPreviousAttempt()
public DeploymentAttemptMetadata getPreviousAttempt()Previous deployment attempt metadata.
.google.cloud.designcenter.v1.DeploymentAttemptMetadata previous_attempt = 9;
| Returns | |
|---|---|
| Type | Description |
DeploymentAttemptMetadata |
The previousAttempt. |
getPreviousAttemptBuilder()
public DeploymentAttemptMetadata.Builder getPreviousAttemptBuilder()Previous deployment attempt metadata.
.google.cloud.designcenter.v1.DeploymentAttemptMetadata previous_attempt = 9;
| Returns | |
|---|---|
| Type | Description |
DeploymentAttemptMetadata.Builder |
|
getPreviousAttemptOrBuilder()
public DeploymentAttemptMetadataOrBuilder getPreviousAttemptOrBuilder()Previous deployment attempt metadata.
.google.cloud.designcenter.v1.DeploymentAttemptMetadata previous_attempt = 9;
| Returns | |
|---|---|
| Type | Description |
DeploymentAttemptMetadataOrBuilder |
|
getResources(int index)
public Resource getResources(int index)Details of the [Resources][]s in the deployment.
repeated .google.cloud.designcenter.v1.Resource resources = 8;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Resource |
|
getResourcesBuilder(int index)
public Resource.Builder getResourcesBuilder(int index)Details of the [Resources][]s in the deployment.
repeated .google.cloud.designcenter.v1.Resource resources = 8;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
getResourcesBuilderList()
public List<Resource.Builder> getResourcesBuilderList()Details of the [Resources][]s in the deployment.
repeated .google.cloud.designcenter.v1.Resource resources = 8;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getResourcesCount()
public int getResourcesCount()Details of the [Resources][]s in the deployment.
repeated .google.cloud.designcenter.v1.Resource resources = 8;
| Returns | |
|---|---|
| Type | Description |
int |
|
getResourcesList()
public List<Resource> getResourcesList()Details of the [Resources][]s in the deployment.
repeated .google.cloud.designcenter.v1.Resource resources = 8;
| Returns | |
|---|---|
| Type | Description |
List<Resource> |
|
getResourcesOrBuilder(int index)
public ResourceOrBuilder getResourcesOrBuilder(int index)Details of the [Resources][]s in the deployment.
repeated .google.cloud.designcenter.v1.Resource resources = 8;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ResourceOrBuilder |
|
getResourcesOrBuilderList()
public List<? extends ResourceOrBuilder> getResourcesOrBuilderList()Details of the [Resources][]s in the deployment.
repeated .google.cloud.designcenter.v1.Resource resources = 8;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.designcenter.v1.ResourceOrBuilder> |
|
hasPreviousAttempt()
public boolean hasPreviousAttempt()Previous deployment attempt metadata.
.google.cloud.designcenter.v1.DeploymentAttemptMetadata previous_attempt = 9;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the previousAttempt field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DeploymentOperationMetadata other)
public DeploymentOperationMetadata.Builder mergeFrom(DeploymentOperationMetadata other)| Parameter | |
|---|---|
| Name | Description |
other |
DeploymentOperationMetadata |
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeploymentOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeploymentOperationMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
|
mergePreviousAttempt(DeploymentAttemptMetadata value)
public DeploymentOperationMetadata.Builder mergePreviousAttempt(DeploymentAttemptMetadata value)Previous deployment attempt metadata.
.google.cloud.designcenter.v1.DeploymentAttemptMetadata previous_attempt = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
DeploymentAttemptMetadata |
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
|
removeResources(int index)
public DeploymentOperationMetadata.Builder removeResources(int index)Details of the [Resources][]s in the deployment.
repeated .google.cloud.designcenter.v1.Resource resources = 8;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
|
setDeployment(String value)
public DeploymentOperationMetadata.Builder setDeployment(String value)Output only. The name of the deployment associated with the application.
string deployment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe deployment to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
This builder for chaining. |
setDeploymentBuild(String value)
public DeploymentOperationMetadata.Builder setDeploymentBuild(String value)Output only. Cloud Build instance UUID associated with this deployment.
string deployment_build = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe deploymentBuild to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
This builder for chaining. |
setDeploymentBuildBytes(ByteString value)
public DeploymentOperationMetadata.Builder setDeploymentBuildBytes(ByteString value)Output only. Cloud Build instance UUID associated with this deployment.
string deployment_build = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for deploymentBuild to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
This builder for chaining. |
setDeploymentBytes(ByteString value)
public DeploymentOperationMetadata.Builder setDeploymentBytes(ByteString value)Output only. The name of the deployment associated with the application.
string deployment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for deployment to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
This builder for chaining. |
setDeploymentLogs(String value)
public DeploymentOperationMetadata.Builder setDeploymentLogs(String value) Output only. Location of the deployment operation logs in
gs://{bucket}/{object} format.
string deployment_logs = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe deploymentLogs to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
This builder for chaining. |
setDeploymentLogsBytes(ByteString value)
public DeploymentOperationMetadata.Builder setDeploymentLogsBytes(ByteString value) Output only. Location of the deployment operation logs in
gs://{bucket}/{object} format.
string deployment_logs = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for deploymentLogs to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
This builder for chaining. |
setDeploymentStep(String value)
public DeploymentOperationMetadata.Builder setDeploymentStep(String value)Output only. The current step of the deployment. This will mimic the DeploymentStep enum in the deployment proto.
string deployment_step = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe deploymentStep to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
This builder for chaining. |
setDeploymentStepBytes(ByteString value)
public DeploymentOperationMetadata.Builder setDeploymentStepBytes(ByteString value)Output only. The current step of the deployment. This will mimic the DeploymentStep enum in the deployment proto.
string deployment_step = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for deploymentStep to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
This builder for chaining. |
setPreviousAttempt(DeploymentAttemptMetadata value)
public DeploymentOperationMetadata.Builder setPreviousAttempt(DeploymentAttemptMetadata value)Previous deployment attempt metadata.
.google.cloud.designcenter.v1.DeploymentAttemptMetadata previous_attempt = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
DeploymentAttemptMetadata |
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
|
setPreviousAttempt(DeploymentAttemptMetadata.Builder builderForValue)
public DeploymentOperationMetadata.Builder setPreviousAttempt(DeploymentAttemptMetadata.Builder builderForValue)Previous deployment attempt metadata.
.google.cloud.designcenter.v1.DeploymentAttemptMetadata previous_attempt = 9;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DeploymentAttemptMetadata.Builder |
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
|
setResources(int index, Resource value)
public DeploymentOperationMetadata.Builder setResources(int index, Resource value)Details of the [Resources][]s in the deployment.
repeated .google.cloud.designcenter.v1.Resource resources = 8;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Resource |
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
|
setResources(int index, Resource.Builder builderForValue)
public DeploymentOperationMetadata.Builder setResources(int index, Resource.Builder builderForValue)Details of the [Resources][]s in the deployment.
repeated .google.cloud.designcenter.v1.Resource resources = 8;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Resource.Builder |
| Returns | |
|---|---|
| Type | Description |
DeploymentOperationMetadata.Builder |
|