Class RolloutConfig.RolloutStep.Builder

    • 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<RolloutConfig.RolloutStep.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<RolloutConfig.RolloutStep.Builder>
      • getDefaultInstanceForType

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

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

        public RolloutConfig.RolloutStep buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public RolloutConfig.RolloutStep.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<RolloutConfig.RolloutStep.Builder>
      • isInitialized

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

        public RolloutConfig.RolloutStep.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<RolloutConfig.RolloutStep.Builder>
        Throws:
        IOException
      • setDisplayName

        public RolloutConfig.RolloutStep.Builder setDisplayName​(String value)
         The name of the rollout step;
         
        string display_name = 1;
        Parameters:
        value - The displayName to set.
        Returns:
        This builder for chaining.
      • clearDisplayName

        public RolloutConfig.RolloutStep.Builder clearDisplayName()
         The name of the rollout step;
         
        string display_name = 1;
        Returns:
        This builder for chaining.
      • setDisplayNameBytes

        public RolloutConfig.RolloutStep.Builder setDisplayNameBytes​(com.google.protobuf.ByteString value)
         The name of the rollout step;
         
        string display_name = 1;
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • getTrafficPercent

        public int getTrafficPercent()
         The percentage of traffic allocated to the flow version of this rollout
         step. (0%, 100%].
         
        int32 traffic_percent = 2;
        Specified by:
        getTrafficPercent in interface RolloutConfig.RolloutStepOrBuilder
        Returns:
        The trafficPercent.
      • setTrafficPercent

        public RolloutConfig.RolloutStep.Builder setTrafficPercent​(int value)
         The percentage of traffic allocated to the flow version of this rollout
         step. (0%, 100%].
         
        int32 traffic_percent = 2;
        Parameters:
        value - The trafficPercent to set.
        Returns:
        This builder for chaining.
      • clearTrafficPercent

        public RolloutConfig.RolloutStep.Builder clearTrafficPercent()
         The percentage of traffic allocated to the flow version of this rollout
         step. (0%, 100%].
         
        int32 traffic_percent = 2;
        Returns:
        This builder for chaining.
      • hasMinDuration

        public boolean hasMinDuration()
         The minimum time that this step should last. Should be longer than 1
         hour. If not set, the default minimum duration for each step will be 1
         hour.
         
        .google.protobuf.Duration min_duration = 3;
        Specified by:
        hasMinDuration in interface RolloutConfig.RolloutStepOrBuilder
        Returns:
        Whether the minDuration field is set.
      • getMinDuration

        public com.google.protobuf.Duration getMinDuration()
         The minimum time that this step should last. Should be longer than 1
         hour. If not set, the default minimum duration for each step will be 1
         hour.
         
        .google.protobuf.Duration min_duration = 3;
        Specified by:
        getMinDuration in interface RolloutConfig.RolloutStepOrBuilder
        Returns:
        The minDuration.
      • setMinDuration

        public RolloutConfig.RolloutStep.Builder setMinDuration​(com.google.protobuf.Duration value)
         The minimum time that this step should last. Should be longer than 1
         hour. If not set, the default minimum duration for each step will be 1
         hour.
         
        .google.protobuf.Duration min_duration = 3;
      • setMinDuration

        public RolloutConfig.RolloutStep.Builder setMinDuration​(com.google.protobuf.Duration.Builder builderForValue)
         The minimum time that this step should last. Should be longer than 1
         hour. If not set, the default minimum duration for each step will be 1
         hour.
         
        .google.protobuf.Duration min_duration = 3;
      • mergeMinDuration

        public RolloutConfig.RolloutStep.Builder mergeMinDuration​(com.google.protobuf.Duration value)
         The minimum time that this step should last. Should be longer than 1
         hour. If not set, the default minimum duration for each step will be 1
         hour.
         
        .google.protobuf.Duration min_duration = 3;
      • clearMinDuration

        public RolloutConfig.RolloutStep.Builder clearMinDuration()
         The minimum time that this step should last. Should be longer than 1
         hour. If not set, the default minimum duration for each step will be 1
         hour.
         
        .google.protobuf.Duration min_duration = 3;
      • getMinDurationBuilder

        public com.google.protobuf.Duration.Builder getMinDurationBuilder()
         The minimum time that this step should last. Should be longer than 1
         hour. If not set, the default minimum duration for each step will be 1
         hour.
         
        .google.protobuf.Duration min_duration = 3;
      • getMinDurationOrBuilder

        public com.google.protobuf.DurationOrBuilder getMinDurationOrBuilder()
         The minimum time that this step should last. Should be longer than 1
         hour. If not set, the default minimum duration for each step will be 1
         hour.
         
        .google.protobuf.Duration min_duration = 3;
        Specified by:
        getMinDurationOrBuilder in interface RolloutConfig.RolloutStepOrBuilder
      • setUnknownFields

        public final RolloutConfig.RolloutStep.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<RolloutConfig.RolloutStep.Builder>
      • mergeUnknownFields

        public final RolloutConfig.RolloutStep.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<RolloutConfig.RolloutStep.Builder>