public static final class DeployJobRun.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DeployJobRun.Builder> implements DeployJobRunOrBuilder
DeployJobRun contains information specific to a deploy `JobRun`.Protobuf type
google.cloud.deploy.v1.DeployJobRungetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DeployJobRun.Builder>public DeployJobRun.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DeployJobRun.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DeployJobRun.Builder>public DeployJobRun getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DeployJobRun build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DeployJobRun buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DeployJobRun.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DeployJobRun.Builder>public DeployJobRun.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<DeployJobRun.Builder>public DeployJobRun.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DeployJobRun.Builder>public DeployJobRun.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DeployJobRun.Builder>public DeployJobRun.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DeployJobRun.Builder>public DeployJobRun.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DeployJobRun.Builder>public DeployJobRun.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeployJobRun.Builder>public DeployJobRun.Builder mergeFrom(DeployJobRun other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DeployJobRun.Builder>public DeployJobRun.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeployJobRun.Builder>IOExceptionpublic 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) = { ... }
getBuild in interface DeployJobRunOrBuilderpublic com.google.protobuf.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) = { ... }
getBuildBytes in interface DeployJobRunOrBuilderpublic 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) = { ... }
value - The build to set.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) = { ... }
public DeployJobRun.Builder setBuildBytes(com.google.protobuf.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) = { ... }
value - The bytes for build to set.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];
getFailureCauseValue in interface DeployJobRunOrBuilderpublic 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];
value - The enum numeric value on the wire for failureCause to set.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];
getFailureCause in interface DeployJobRunOrBuilderpublic 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];
value - The failureCause to set.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];
public String getFailureMessage()
Output only. Additional information about the deploy failure, if available.
string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getFailureMessage in interface DeployJobRunOrBuilderpublic com.google.protobuf.ByteString getFailureMessageBytes()
Output only. Additional information about the deploy failure, if available.
string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getFailureMessageBytes in interface DeployJobRunOrBuilderpublic 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];value - The failureMessage to set.public DeployJobRun.Builder clearFailureMessage()
Output only. Additional information about the deploy failure, if available.
string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];public DeployJobRun.Builder setFailureMessageBytes(com.google.protobuf.ByteString value)
Output only. Additional information about the deploy failure, if available.
string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for failureMessage to set.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];
hasMetadata in interface DeployJobRunOrBuilderpublic 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];
getMetadata in interface DeployJobRunOrBuilderpublic 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];
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];
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];
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];
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];
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];
getMetadataOrBuilder in interface DeployJobRunOrBuilderpublic 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];
hasArtifact in interface DeployJobRunOrBuilderpublic 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];
getArtifact in interface DeployJobRunOrBuilderpublic 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];
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];
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];
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];
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];
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];
getArtifactOrBuilder in interface DeployJobRunOrBuilderpublic final DeployJobRun.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeployJobRun.Builder>public final DeployJobRun.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeployJobRun.Builder>Copyright © 2024 Google LLC. All rights reserved.