public static final class DeployJobRun.Builder extends GeneratedMessageV3.Builder<DeployJobRun.Builder> implements DeployJobRunOrBuilder DeployJobRun contains information specific to a deploy JobRun.
Protobuf type google.cloud.deploy.v1.DeployJobRun
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeployJobRun.BuilderImplements
DeployJobRunOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeployJobRun.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
DeployJobRun.Builder |
build()
public DeployJobRun build()| Type | Description |
DeployJobRun |
buildPartial()
public DeployJobRun buildPartial()| Type | Description |
DeployJobRun |
clear()
public DeployJobRun.Builder clear()| 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) = { ... }
| 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];
| 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];
| Type | Description |
DeployJobRun.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DeployJobRun.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
field |
FieldDescriptor |
| Type | Description |
DeployJobRun.Builder |
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];
| Type | Description |
DeployJobRun.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DeployJobRun.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
oneof |
OneofDescriptor |
| Type | Description |
DeployJobRun.Builder |
clone()
public DeployJobRun.Builder clone()| Type | Description |
DeployJobRun.Builder |
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) = { ... }
| 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) = { ... }
| Type | Description |
ByteString |
The bytes for build. |
getDefaultInstanceForType()
public DeployJobRun getDefaultInstanceForType()| Type | Description |
DeployJobRun |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| 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];
| 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];
| 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];
| 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];
| 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];
| 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];
| 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];
| Type | Description |
DeployJobRunMetadataOrBuilder |
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];
| Type | Description |
boolean |
Whether the metadata field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
boolean |
mergeFrom(DeployJobRun other)
public DeployJobRun.Builder mergeFrom(DeployJobRun other)| Name | Description |
other |
DeployJobRun |
| Type | Description |
DeployJobRun.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeployJobRun.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Type | Description |
DeployJobRun.Builder |
| Type | Description |
IOException |
mergeFrom(Message other)
public DeployJobRun.Builder mergeFrom(Message other)| Name | Description |
other |
Message |
| 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];
| Name | Description |
value |
DeployJobRunMetadata |
| Type | Description |
DeployJobRun.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeployJobRun.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| 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) = { ... }
| Name | Description |
value |
StringThe build to set. |
| 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) = { ... }
| Name | Description |
value |
ByteStringThe bytes for build to set. |
| 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];
| Name | Description |
value |
DeployJobRun.FailureCauseThe failureCause to set. |
| 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];
| Name | Description |
value |
intThe enum numeric value on the wire for failureCause to set. |
| 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];
| Name | Description |
value |
StringThe failureMessage to set. |
| 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];
| Name | Description |
value |
ByteStringThe bytes for failureMessage to set. |
| Type | Description |
DeployJobRun.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DeployJobRun.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
DeployJobRun.Builder |
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];
| Name | Description |
value |
DeployJobRunMetadata |
| 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];
| Name | Description |
builderForValue |
DeployJobRunMetadata.Builder |
| Type | Description |
DeployJobRun.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeployJobRun.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Type | Description |
DeployJobRun.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DeployJobRun.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
DeployJobRun.Builder |