Class 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.GeneratedMessageV3.Builder<Strategy.Builder>
    implements StrategyOrBuilder
     Strategy contains deployment strategy information.
     
    Protobuf type google.cloud.deploy.v1.Strategy
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public Strategy.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Strategy.Builder>
      • setField

        public Strategy.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                         Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Strategy.Builder>
      • clearField

        public Strategy.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Strategy.Builder>
      • clearOneof

        public Strategy.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Strategy.Builder>
      • setRepeatedField

        public Strategy.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 int index,
                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Strategy.Builder>
      • addRepeatedField

        public Strategy.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Strategy.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • hasStandard

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

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

        public Strategy.Builder setStandard​(Standard value)
         Standard deployment strategy executes a single deploy and allows
         verifying the deployment.
         
        .google.cloud.deploy.v1.Standard standard = 1;
      • setStandard

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

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

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

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

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

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

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

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

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

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

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

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

        public CanaryOrBuilder getCanaryOrBuilder()
         Canary deployment strategy provides progressive percentage based
         deployments to a Target.
         
        .google.cloud.deploy.v1.Canary canary = 2;
        Specified by:
        getCanaryOrBuilder in interface StrategyOrBuilder
      • setUnknownFields

        public final Strategy.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Strategy.Builder>
      • mergeUnknownFields

        public final Strategy.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Strategy.Builder>