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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<VerifyJobRun.Builder>
    • clear

      public VerifyJobRun.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<VerifyJobRun.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<VerifyJobRun.Builder>
    • getDefaultInstanceForType

      public VerifyJobRun getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public VerifyJobRun build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public VerifyJobRun buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public VerifyJobRun.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<VerifyJobRun.Builder>
    • mergeFrom

      public VerifyJobRun.Builder mergeFrom(VerifyJobRun other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<VerifyJobRun.Builder>
      Throws:
      IOException
    • getBuild

      public String 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:
      getBuild in interface VerifyJobRunOrBuilder
      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:
      getBuildBytes in interface VerifyJobRunOrBuilder
      Returns:
      The bytes for build.
    • setBuild

      public VerifyJobRun.Builder setBuild(String value)
       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

      public VerifyJobRun.Builder 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

      public VerifyJobRun.Builder setBuildBytes(com.google.protobuf.ByteString value)
       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

      public String 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:
      getArtifactUri in interface VerifyJobRunOrBuilder
      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:
      getArtifactUriBytes in interface VerifyJobRunOrBuilder
      Returns:
      The bytes for artifactUri.
    • setArtifactUri

      public VerifyJobRun.Builder setArtifactUri(String value)
       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

      public VerifyJobRun.Builder 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

      public VerifyJobRun.Builder setArtifactUriBytes(com.google.protobuf.ByteString value)
       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

      public String 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:
      getEventLogPath in interface VerifyJobRunOrBuilder
      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:
      getEventLogPathBytes in interface VerifyJobRunOrBuilder
      Returns:
      The bytes for eventLogPath.
    • setEventLogPath

      public VerifyJobRun.Builder setEventLogPath(String value)
       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

      public VerifyJobRun.Builder 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

      public VerifyJobRun.Builder setEventLogPathBytes(com.google.protobuf.ByteString value)
       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:
      getFailureCauseValue in interface VerifyJobRunOrBuilder
      Returns:
      The enum numeric value on the wire for failureCause.
    • setFailureCauseValue

      public VerifyJobRun.Builder setFailureCauseValue(int value)
       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

      public VerifyJobRun.FailureCause 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:
      getFailureCause in interface VerifyJobRunOrBuilder
      Returns:
      The failureCause.
    • setFailureCause

      public VerifyJobRun.Builder setFailureCause(VerifyJobRun.FailureCause value)
       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

      public VerifyJobRun.Builder 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

      public String getFailureMessage()
       Output only. Additional information about the verify failure, if available.
       
      string failure_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFailureMessage in interface VerifyJobRunOrBuilder
      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:
      getFailureMessageBytes in interface VerifyJobRunOrBuilder
      Returns:
      The bytes for failureMessage.
    • setFailureMessage

      public VerifyJobRun.Builder setFailureMessage(String value)
       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

      public VerifyJobRun.Builder 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

      public VerifyJobRun.Builder setFailureMessageBytes(com.google.protobuf.ByteString value)
       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.