Class Strategy.Builder

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

public static final class Strategy.Builder extends com.google.protobuf.GeneratedMessage.Builder<Strategy.Builder> implements StrategyOrBuilder
 Strategy contains deployment strategy information.
 
Protobuf type google.cloud.deploy.v1.Strategy
  • 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<Strategy.Builder>
    • clear

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

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

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

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

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

      public Strategy.Builder mergeFrom(Strategy other)
    • isInitialized

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

      public Strategy.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<Strategy.Builder>
      Throws:
      IOException
    • getDeploymentStrategyCase

      public Strategy.DeploymentStrategyCase getDeploymentStrategyCase()
      Specified by:
      getDeploymentStrategyCase in interface StrategyOrBuilder
    • clearDeploymentStrategy

      public Strategy.Builder clearDeploymentStrategy()
    • hasStandard

      public boolean hasStandard()
       Optional. Standard deployment strategy executes a single deploy and
       allows verifying the deployment.
       
      .google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasStandard in interface StrategyOrBuilder
      Returns:
      Whether the standard field is set.
    • getStandard

      public Standard getStandard()
       Optional. Standard deployment strategy executes a single deploy and
       allows verifying the deployment.
       
      .google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStandard in interface StrategyOrBuilder
      Returns:
      The standard.
    • setStandard

      public Strategy.Builder setStandard(Standard value)
       Optional. Standard deployment strategy executes a single deploy and
       allows verifying the deployment.
       
      .google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL];
    • setStandard

      public Strategy.Builder setStandard(Standard.Builder builderForValue)
       Optional. Standard deployment strategy executes a single deploy and
       allows verifying the deployment.
       
      .google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL];
    • mergeStandard

      public Strategy.Builder mergeStandard(Standard value)
       Optional. Standard deployment strategy executes a single deploy and
       allows verifying the deployment.
       
      .google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL];
    • clearStandard

      public Strategy.Builder clearStandard()
       Optional. Standard deployment strategy executes a single deploy and
       allows verifying the deployment.
       
      .google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getStandardBuilder

      public Standard.Builder getStandardBuilder()
       Optional. Standard deployment strategy executes a single deploy and
       allows verifying the deployment.
       
      .google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getStandardOrBuilder

      public StandardOrBuilder getStandardOrBuilder()
       Optional. Standard deployment strategy executes a single deploy and
       allows verifying the deployment.
       
      .google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStandardOrBuilder in interface StrategyOrBuilder
    • hasCanary

      public boolean hasCanary()
       Optional. Canary deployment strategy provides progressive percentage
       based deployments to a Target.
       
      .google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasCanary in interface StrategyOrBuilder
      Returns:
      Whether the canary field is set.
    • getCanary

      public Canary getCanary()
       Optional. Canary deployment strategy provides progressive percentage
       based deployments to a Target.
       
      .google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCanary in interface StrategyOrBuilder
      Returns:
      The canary.
    • setCanary

      public Strategy.Builder setCanary(Canary value)
       Optional. Canary deployment strategy provides progressive percentage
       based deployments to a Target.
       
      .google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setCanary

      public Strategy.Builder setCanary(Canary.Builder builderForValue)
       Optional. Canary deployment strategy provides progressive percentage
       based deployments to a Target.
       
      .google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeCanary

      public Strategy.Builder mergeCanary(Canary value)
       Optional. Canary deployment strategy provides progressive percentage
       based deployments to a Target.
       
      .google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearCanary

      public Strategy.Builder clearCanary()
       Optional. Canary deployment strategy provides progressive percentage
       based deployments to a Target.
       
      .google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getCanaryBuilder

      public Canary.Builder getCanaryBuilder()
       Optional. Canary deployment strategy provides progressive percentage
       based deployments to a Target.
       
      .google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getCanaryOrBuilder

      public CanaryOrBuilder getCanaryOrBuilder()
       Optional. Canary deployment strategy provides progressive percentage
       based deployments to a Target.
       
      .google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCanaryOrBuilder in interface StrategyOrBuilder