Class DeployJobRunMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DeployJobRunMetadata.Builder>
com.google.cloud.deploy.v1.DeployJobRunMetadata.Builder
All Implemented Interfaces:
DeployJobRunMetadataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DeployJobRunMetadata

public static final class DeployJobRunMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<DeployJobRunMetadata.Builder> implements DeployJobRunMetadataOrBuilder
 DeployJobRunMetadata surfaces information associated with a `DeployJobRun` to
 the user.
 
Protobuf type google.cloud.deploy.v1.DeployJobRunMetadata
  • 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<DeployJobRunMetadata.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<DeployJobRunMetadata.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<DeployJobRunMetadata.Builder>
    • getDefaultInstanceForType

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

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

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

      public DeployJobRunMetadata.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<DeployJobRunMetadata.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DeployJobRunMetadata.Builder>
    • mergeFrom

      public DeployJobRunMetadata.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<DeployJobRunMetadata.Builder>
      Throws:
      IOException
    • hasCloudRun

      public boolean hasCloudRun()
       Output only. The name of the Cloud Run Service that is associated with a
       `DeployJobRun`.
       
      .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCloudRun in interface DeployJobRunMetadataOrBuilder
      Returns:
      Whether the cloudRun field is set.
    • getCloudRun

      public CloudRunMetadata getCloudRun()
       Output only. The name of the Cloud Run Service that is associated with a
       `DeployJobRun`.
       
      .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCloudRun in interface DeployJobRunMetadataOrBuilder
      Returns:
      The cloudRun.
    • setCloudRun

      public DeployJobRunMetadata.Builder setCloudRun(CloudRunMetadata value)
       Output only. The name of the Cloud Run Service that is associated with a
       `DeployJobRun`.
       
      .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCloudRun

      public DeployJobRunMetadata.Builder setCloudRun(CloudRunMetadata.Builder builderForValue)
       Output only. The name of the Cloud Run Service that is associated with a
       `DeployJobRun`.
       
      .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCloudRun

      public DeployJobRunMetadata.Builder mergeCloudRun(CloudRunMetadata value)
       Output only. The name of the Cloud Run Service that is associated with a
       `DeployJobRun`.
       
      .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCloudRun

      public DeployJobRunMetadata.Builder clearCloudRun()
       Output only. The name of the Cloud Run Service that is associated with a
       `DeployJobRun`.
       
      .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCloudRunBuilder

      public CloudRunMetadata.Builder getCloudRunBuilder()
       Output only. The name of the Cloud Run Service that is associated with a
       `DeployJobRun`.
       
      .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCloudRunOrBuilder

      public CloudRunMetadataOrBuilder getCloudRunOrBuilder()
       Output only. The name of the Cloud Run Service that is associated with a
       `DeployJobRun`.
       
      .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCloudRunOrBuilder in interface DeployJobRunMetadataOrBuilder
    • hasCustomTarget

      public boolean hasCustomTarget()
       Output only. Custom Target metadata associated with a `DeployJobRun`.
       
      .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCustomTarget in interface DeployJobRunMetadataOrBuilder
      Returns:
      Whether the customTarget field is set.
    • getCustomTarget

      public CustomTargetDeployMetadata getCustomTarget()
       Output only. Custom Target metadata associated with a `DeployJobRun`.
       
      .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomTarget in interface DeployJobRunMetadataOrBuilder
      Returns:
      The customTarget.
    • setCustomTarget

       Output only. Custom Target metadata associated with a `DeployJobRun`.
       
      .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCustomTarget

      public DeployJobRunMetadata.Builder setCustomTarget(CustomTargetDeployMetadata.Builder builderForValue)
       Output only. Custom Target metadata associated with a `DeployJobRun`.
       
      .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCustomTarget

      public DeployJobRunMetadata.Builder mergeCustomTarget(CustomTargetDeployMetadata value)
       Output only. Custom Target metadata associated with a `DeployJobRun`.
       
      .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCustomTarget

      public DeployJobRunMetadata.Builder clearCustomTarget()
       Output only. Custom Target metadata associated with a `DeployJobRun`.
       
      .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCustomTargetBuilder

      public CustomTargetDeployMetadata.Builder getCustomTargetBuilder()
       Output only. Custom Target metadata associated with a `DeployJobRun`.
       
      .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCustomTargetOrBuilder

      public CustomTargetDeployMetadataOrBuilder getCustomTargetOrBuilder()
       Output only. Custom Target metadata associated with a `DeployJobRun`.
       
      .google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomTargetOrBuilder in interface DeployJobRunMetadataOrBuilder
    • hasCustom

      public boolean hasCustom()
       Output only. Custom metadata provided by user-defined deploy operation.
       
      .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCustom in interface DeployJobRunMetadataOrBuilder
      Returns:
      Whether the custom field is set.
    • getCustom

      public CustomMetadata getCustom()
       Output only. Custom metadata provided by user-defined deploy operation.
       
      .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustom in interface DeployJobRunMetadataOrBuilder
      Returns:
      The custom.
    • setCustom

      public DeployJobRunMetadata.Builder setCustom(CustomMetadata value)
       Output only. Custom metadata provided by user-defined deploy operation.
       
      .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCustom

      public DeployJobRunMetadata.Builder setCustom(CustomMetadata.Builder builderForValue)
       Output only. Custom metadata provided by user-defined deploy operation.
       
      .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCustom

      public DeployJobRunMetadata.Builder mergeCustom(CustomMetadata value)
       Output only. Custom metadata provided by user-defined deploy operation.
       
      .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCustom

      public DeployJobRunMetadata.Builder clearCustom()
       Output only. Custom metadata provided by user-defined deploy operation.
       
      .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCustomBuilder

      public CustomMetadata.Builder getCustomBuilder()
       Output only. Custom metadata provided by user-defined deploy operation.
       
      .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCustomOrBuilder

      public CustomMetadataOrBuilder getCustomOrBuilder()
       Output only. Custom metadata provided by user-defined deploy operation.
       
      .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomOrBuilder in interface DeployJobRunMetadataOrBuilder