Class Metadata.Builder

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

public static final class Metadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<Metadata.Builder> implements MetadataOrBuilder
 Metadata includes information associated with a `Rollout`.
 
Protobuf type google.cloud.deploy.v1.Metadata
  • 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<Metadata.Builder>
    • clear

      public Metadata.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<Metadata.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<Metadata.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public Metadata.Builder mergeFrom(Metadata other)
    • isInitialized

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

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

      public boolean hasCloudRun()
       Output only. The name of the Cloud Run Service that is associated with a
       `Rollout`.
       
      .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCloudRun in interface MetadataOrBuilder
      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
       `Rollout`.
       
      .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCloudRun in interface MetadataOrBuilder
      Returns:
      The cloudRun.
    • setCloudRun

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

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

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

      public Metadata.Builder clearCloudRun()
       Output only. The name of the Cloud Run Service that is associated with a
       `Rollout`.
       
      .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
       `Rollout`.
       
      .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
       `Rollout`.
       
      .google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCloudRunOrBuilder in interface MetadataOrBuilder
    • hasAutomation

      public boolean hasAutomation()
       Output only. AutomationRolloutMetadata contains the information about the
       interactions between Automation service and this rollout.
       
      .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasAutomation in interface MetadataOrBuilder
      Returns:
      Whether the automation field is set.
    • getAutomation

      public AutomationRolloutMetadata getAutomation()
       Output only. AutomationRolloutMetadata contains the information about the
       interactions between Automation service and this rollout.
       
      .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAutomation in interface MetadataOrBuilder
      Returns:
      The automation.
    • setAutomation

      public Metadata.Builder setAutomation(AutomationRolloutMetadata value)
       Output only. AutomationRolloutMetadata contains the information about the
       interactions between Automation service and this rollout.
       
      .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setAutomation

      public Metadata.Builder setAutomation(AutomationRolloutMetadata.Builder builderForValue)
       Output only. AutomationRolloutMetadata contains the information about the
       interactions between Automation service and this rollout.
       
      .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeAutomation

      public Metadata.Builder mergeAutomation(AutomationRolloutMetadata value)
       Output only. AutomationRolloutMetadata contains the information about the
       interactions between Automation service and this rollout.
       
      .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearAutomation

      public Metadata.Builder clearAutomation()
       Output only. AutomationRolloutMetadata contains the information about the
       interactions between Automation service and this rollout.
       
      .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getAutomationBuilder

      public AutomationRolloutMetadata.Builder getAutomationBuilder()
       Output only. AutomationRolloutMetadata contains the information about the
       interactions between Automation service and this rollout.
       
      .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getAutomationOrBuilder

      public AutomationRolloutMetadataOrBuilder getAutomationOrBuilder()
       Output only. AutomationRolloutMetadata contains the information about the
       interactions between Automation service and this rollout.
       
      .google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAutomationOrBuilder in interface MetadataOrBuilder
    • hasCustom

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

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

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

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

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

      public Metadata.Builder clearCustom()
       Output only. Custom metadata provided by user-defined `Rollout` operations.
       
      .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 `Rollout` operations.
       
      .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 `Rollout` operations.
       
      .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomOrBuilder in interface MetadataOrBuilder