public static final class DeployJobRun.Builder extends GeneratedMessage.Builder<DeployJobRun.Builder> implements DeployJobRunOrBuilder DeployJobRun contains information specific to a deploy JobRun.
Protobuf type google.cloud.deploy.v1.DeployJobRun
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeployJobRun.BuilderImplements
DeployJobRunOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeployJobRun build()| Returns | |
|---|---|
| Type | Description |
DeployJobRun |
|
buildPartial()
public DeployJobRun buildPartial()| Returns | |
|---|---|
| Type | Description |
DeployJobRun |
|
clear()
public DeployJobRun.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeployJobRun.Builder |
|
clearArtifact()
public DeployJobRun.Builder clearArtifact()Output only. The artifact of a deploy job run, if available.
.google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DeployJobRun.Builder |
|
clearBuild()
public DeployJobRun.Builder clearBuild() Output only. The resource name of the Cloud Build Build object that is
used to deploy. Format is
projects/{project}/locations/{location}/builds/{build}.
string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DeployJobRun.Builder |
This builder for chaining. |
clearFailureCause()
public DeployJobRun.Builder clearFailureCause()Output only. The reason the deploy failed. This will always be unspecified while the deploy is in progress or if it succeeded.
.google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DeployJobRun.Builder |
This builder for chaining. |
clearFailureMessage()
public DeployJobRun.Builder clearFailureMessage()Output only. Additional information about the deploy failure, if available.
string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DeployJobRun.Builder |
This builder for chaining. |
clearMetadata()
public DeployJobRun.Builder clearMetadata()Output only. Metadata containing information about the deploy job run.
.google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DeployJobRun.Builder |
|
getArtifact()
public DeployArtifact getArtifact()Output only. The artifact of a deploy job run, if available.
.google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DeployArtifact |
The artifact. |
getArtifactBuilder()
public DeployArtifact.Builder getArtifactBuilder()Output only. The artifact of a deploy job run, if available.
.google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DeployArtifact.Builder |
|
getArtifactOrBuilder()
public DeployArtifactOrBuilder getArtifactOrBuilder()Output only. The artifact of a deploy job run, if available.
.google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DeployArtifactOrBuilder |
|
getBuild()
public String getBuild() Output only. The resource name of the Cloud Build Build object that is
used to deploy. Format is
projects/{project}/locations/{location}/builds/{build}.
string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The build. |
getBuildBytes()
public ByteString getBuildBytes() Output only. The resource name of the Cloud Build Build object that is
used to deploy. Format is
projects/{project}/locations/{location}/builds/{build}.
string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for build. |
getDefaultInstanceForType()
public DeployJobRun getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeployJobRun |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFailureCause()
public DeployJobRun.FailureCause getFailureCause()Output only. The reason the deploy failed. This will always be unspecified while the deploy is in progress or if it succeeded.
.google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DeployJobRun.FailureCause |
The failureCause. |
getFailureCauseValue()
public int getFailureCauseValue()Output only. The reason the deploy failed. This will always be unspecified while the deploy is in progress or if it succeeded.
.google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for failureCause. |
getFailureMessage()
public String getFailureMessage()Output only. Additional information about the deploy failure, if available.
string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The failureMessage. |
getFailureMessageBytes()
public ByteString getFailureMessageBytes()Output only. Additional information about the deploy failure, if available.
string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for failureMessage. |
getMetadata()
public DeployJobRunMetadata getMetadata()Output only. Metadata containing information about the deploy job run.
.google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DeployJobRunMetadata |
The metadata. |
getMetadataBuilder()
public DeployJobRunMetadata.Builder getMetadataBuilder()Output only. Metadata containing information about the deploy job run.
.google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DeployJobRunMetadata.Builder |
|
getMetadataOrBuilder()
public DeployJobRunMetadataOrBuilder getMetadataOrBuilder()Output only. Metadata containing information about the deploy job run.
.google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DeployJobRunMetadataOrBuilder |
|
hasArtifact()
public boolean hasArtifact()Output only. The artifact of a deploy job run, if available.
.google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the artifact field is set. |
hasMetadata()
public boolean hasMetadata()Output only. Metadata containing information about the deploy job run.
.google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the metadata field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeArtifact(DeployArtifact value)
public DeployJobRun.Builder mergeArtifact(DeployArtifact value)Output only. The artifact of a deploy job run, if available.
.google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DeployArtifact |
| Returns | |
|---|---|
| Type | Description |
DeployJobRun.Builder |
|
mergeFrom(DeployJobRun other)
public DeployJobRun.Builder mergeFrom(DeployJobRun other)| Parameter | |
|---|---|
| Name | Description |
other |
DeployJobRun |
| Returns | |
|---|---|
| Type | Description |
DeployJobRun.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeployJobRun.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeployJobRun.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeployJobRun.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeployJobRun.Builder |
|
mergeMetadata(DeployJobRunMetadata value)
public DeployJobRun.Builder mergeMetadata(DeployJobRunMetadata value)Output only. Metadata containing information about the deploy job run.
.google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DeployJobRunMetadata |
| Returns | |
|---|---|
| Type | Description |
DeployJobRun.Builder |
|
setArtifact(DeployArtifact value)
public DeployJobRun.Builder setArtifact(DeployArtifact value)Output only. The artifact of a deploy job run, if available.
.google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DeployArtifact |
| Returns | |
|---|---|
| Type | Description |
DeployJobRun.Builder |
|
setArtifact(DeployArtifact.Builder builderForValue)
public DeployJobRun.Builder setArtifact(DeployArtifact.Builder builderForValue)Output only. The artifact of a deploy job run, if available.
.google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DeployArtifact.Builder |
| Returns | |
|---|---|
| Type | Description |
DeployJobRun.Builder |
|
setBuild(String value)
public DeployJobRun.Builder setBuild(String value) Output only. The resource name of the Cloud Build Build object that is
used to deploy. Format is
projects/{project}/locations/{location}/builds/{build}.
string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe build to set. |
| Returns | |
|---|---|
| Type | Description |
DeployJobRun.Builder |
This builder for chaining. |
setBuildBytes(ByteString value)
public DeployJobRun.Builder setBuildBytes(ByteString value) Output only. The resource name of the Cloud Build Build object that is
used to deploy. Format is
projects/{project}/locations/{location}/builds/{build}.
string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for build to set. |
| Returns | |
|---|---|
| Type | Description |
DeployJobRun.Builder |
This builder for chaining. |
setFailureCause(DeployJobRun.FailureCause value)
public DeployJobRun.Builder setFailureCause(DeployJobRun.FailureCause value)Output only. The reason the deploy failed. This will always be unspecified while the deploy is in progress or if it succeeded.
.google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DeployJobRun.FailureCauseThe failureCause to set. |
| Returns | |
|---|---|
| Type | Description |
DeployJobRun.Builder |
This builder for chaining. |
setFailureCauseValue(int value)
public DeployJobRun.Builder setFailureCauseValue(int value)Output only. The reason the deploy failed. This will always be unspecified while the deploy is in progress or if it succeeded.
.google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for failureCause to set. |
| Returns | |
|---|---|
| Type | Description |
DeployJobRun.Builder |
This builder for chaining. |
setFailureMessage(String value)
public DeployJobRun.Builder setFailureMessage(String value)Output only. Additional information about the deploy failure, if available.
string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe failureMessage to set. |
| Returns | |
|---|---|
| Type | Description |
DeployJobRun.Builder |
This builder for chaining. |
setFailureMessageBytes(ByteString value)
public DeployJobRun.Builder setFailureMessageBytes(ByteString value)Output only. Additional information about the deploy failure, if available.
string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for failureMessage to set. |
| Returns | |
|---|---|
| Type | Description |
DeployJobRun.Builder |
This builder for chaining. |
setMetadata(DeployJobRunMetadata value)
public DeployJobRun.Builder setMetadata(DeployJobRunMetadata value)Output only. Metadata containing information about the deploy job run.
.google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DeployJobRunMetadata |
| Returns | |
|---|---|
| Type | Description |
DeployJobRun.Builder |
|
setMetadata(DeployJobRunMetadata.Builder builderForValue)
public DeployJobRun.Builder setMetadata(DeployJobRunMetadata.Builder builderForValue)Output only. Metadata containing information about the deploy job run.
.google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DeployJobRunMetadata.Builder |
| Returns | |
|---|---|
| Type | Description |
DeployJobRun.Builder |
|