Package com.google.cloud.deploy.v1
Class VerifyJobRun.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VerifyJobRun.Builder>
com.google.cloud.deploy.v1.VerifyJobRun.Builder
- All Implemented Interfaces:
VerifyJobRunOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VerifyJobRun
public static final class VerifyJobRun.Builder
extends com.google.protobuf.GeneratedMessage.Builder<VerifyJobRun.Builder>
implements VerifyJobRunOrBuilder
VerifyJobRun contains information specific to a verify `JobRun`.Protobuf type
google.cloud.deploy.v1.VerifyJobRun-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.getBuild()Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(VerifyJobRun other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setArtifactUri(String value) Output only.setArtifactUriBytes(com.google.protobuf.ByteString value) Output only.Output only.setBuildBytes(com.google.protobuf.ByteString value) Output only.setEventLogPath(String value) Output only.setEventLogPathBytes(com.google.protobuf.ByteString value) Output only.Output only.setFailureCauseValue(int value) Output only.setFailureMessage(String value) Output only.setFailureMessageBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<VerifyJobRun.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<VerifyJobRun.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<VerifyJobRun.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VerifyJobRun.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<VerifyJobRun.Builder>
-
mergeFrom
public VerifyJobRun.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VerifyJobRun.Builder>- Throws:
IOException
-
getBuild
Output only. The resource name of the Cloud Build `Build` object that is used to verify. Format is `projects/{project}/locations/{location}/builds/{build}`.string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getBuildin interfaceVerifyJobRunOrBuilder- Returns:
- The build.
-
getBuildBytes
public com.google.protobuf.ByteString getBuildBytes()Output only. The resource name of the Cloud Build `Build` object that is used to verify. Format is `projects/{project}/locations/{location}/builds/{build}`.string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getBuildBytesin interfaceVerifyJobRunOrBuilder- Returns:
- The bytes for build.
-
setBuild
Output only. The resource name of the Cloud Build `Build` object that is used to verify. Format is `projects/{project}/locations/{location}/builds/{build}`.string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The build to set.- Returns:
- This builder for chaining.
-
clearBuild
Output only. The resource name of the Cloud Build `Build` object that is used to verify. Format is `projects/{project}/locations/{location}/builds/{build}`.string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setBuildBytes
Output only. The resource name of the Cloud Build `Build` object that is used to verify. Format is `projects/{project}/locations/{location}/builds/{build}`.string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for build to set.- Returns:
- This builder for chaining.
-
getArtifactUri
Output only. URI of a directory containing the verify artifacts. This contains the Skaffold event log.
string artifact_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArtifactUriin interfaceVerifyJobRunOrBuilder- Returns:
- The artifactUri.
-
getArtifactUriBytes
public com.google.protobuf.ByteString getArtifactUriBytes()Output only. URI of a directory containing the verify artifacts. This contains the Skaffold event log.
string artifact_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArtifactUriBytesin interfaceVerifyJobRunOrBuilder- Returns:
- The bytes for artifactUri.
-
setArtifactUri
Output only. URI of a directory containing the verify artifacts. This contains the Skaffold event log.
string artifact_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The artifactUri to set.- Returns:
- This builder for chaining.
-
clearArtifactUri
Output only. URI of a directory containing the verify artifacts. This contains the Skaffold event log.
string artifact_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setArtifactUriBytes
Output only. URI of a directory containing the verify artifacts. This contains the Skaffold event log.
string artifact_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for artifactUri to set.- Returns:
- This builder for chaining.
-
getEventLogPath
Output only. File path of the Skaffold event log relative to the artifact URI.
string event_log_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEventLogPathin interfaceVerifyJobRunOrBuilder- Returns:
- The eventLogPath.
-
getEventLogPathBytes
public com.google.protobuf.ByteString getEventLogPathBytes()Output only. File path of the Skaffold event log relative to the artifact URI.
string event_log_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEventLogPathBytesin interfaceVerifyJobRunOrBuilder- Returns:
- The bytes for eventLogPath.
-
setEventLogPath
Output only. File path of the Skaffold event log relative to the artifact URI.
string event_log_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The eventLogPath to set.- Returns:
- This builder for chaining.
-
clearEventLogPath
Output only. File path of the Skaffold event log relative to the artifact URI.
string event_log_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setEventLogPathBytes
Output only. File path of the Skaffold event log relative to the artifact URI.
string event_log_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for eventLogPath to set.- Returns:
- This builder for chaining.
-
getFailureCauseValue
public int getFailureCauseValue()Output only. The reason the verify failed. This will always be unspecified while the verify is in progress or if it succeeded.
.google.cloud.deploy.v1.VerifyJobRun.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFailureCauseValuein interfaceVerifyJobRunOrBuilder- Returns:
- The enum numeric value on the wire for failureCause.
-
setFailureCauseValue
Output only. The reason the verify failed. This will always be unspecified while the verify is in progress or if it succeeded.
.google.cloud.deploy.v1.VerifyJobRun.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for failureCause to set.- Returns:
- This builder for chaining.
-
getFailureCause
Output only. The reason the verify failed. This will always be unspecified while the verify is in progress or if it succeeded.
.google.cloud.deploy.v1.VerifyJobRun.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFailureCausein interfaceVerifyJobRunOrBuilder- Returns:
- The failureCause.
-
setFailureCause
Output only. The reason the verify failed. This will always be unspecified while the verify is in progress or if it succeeded.
.google.cloud.deploy.v1.VerifyJobRun.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The failureCause to set.- Returns:
- This builder for chaining.
-
clearFailureCause
Output only. The reason the verify failed. This will always be unspecified while the verify is in progress or if it succeeded.
.google.cloud.deploy.v1.VerifyJobRun.FailureCause failure_cause = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getFailureMessage
Output only. Additional information about the verify failure, if available.
string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFailureMessagein interfaceVerifyJobRunOrBuilder- Returns:
- The failureMessage.
-
getFailureMessageBytes
public com.google.protobuf.ByteString getFailureMessageBytes()Output only. Additional information about the verify failure, if available.
string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFailureMessageBytesin interfaceVerifyJobRunOrBuilder- Returns:
- The bytes for failureMessage.
-
setFailureMessage
Output only. Additional information about the verify failure, if available.
string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The failureMessage to set.- Returns:
- This builder for chaining.
-
clearFailureMessage
Output only. Additional information about the verify failure, if available.
string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setFailureMessageBytes
Output only. Additional information about the verify failure, if available.
string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for failureMessage to set.- Returns:
- This builder for chaining.
-