Class V1beta2Apps.DeploymentStrategy.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.DeploymentStrategy.Builder>
io.kubernetes.client.proto.V1beta2Apps.DeploymentStrategy.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1beta2Apps.DeploymentStrategyOrBuilder, Cloneable
Enclosing class:
V1beta2Apps.DeploymentStrategy

public static final class V1beta2Apps.DeploymentStrategy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.DeploymentStrategy.Builder> implements V1beta2Apps.DeploymentStrategyOrBuilder
 DeploymentStrategy describes how to replace existing pods with new ones.
 
Protobuf type k8s.io.api.apps.v1beta2.DeploymentStrategy
  • Method Details

    • 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<V1beta2Apps.DeploymentStrategy.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<V1beta2Apps.DeploymentStrategy.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<V1beta2Apps.DeploymentStrategy.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public V1beta2Apps.DeploymentStrategy buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<V1beta2Apps.DeploymentStrategy.Builder>
    • setField

      public V1beta2Apps.DeploymentStrategy.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<V1beta2Apps.DeploymentStrategy.Builder>
    • clearField

      public V1beta2Apps.DeploymentStrategy.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<V1beta2Apps.DeploymentStrategy.Builder>
    • clearOneof

      public V1beta2Apps.DeploymentStrategy.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<V1beta2Apps.DeploymentStrategy.Builder>
    • setRepeatedField

      public V1beta2Apps.DeploymentStrategy.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<V1beta2Apps.DeploymentStrategy.Builder>
    • addRepeatedField

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

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

    • isInitialized

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

      public V1beta2Apps.DeploymentStrategy.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<V1beta2Apps.DeploymentStrategy.Builder>
      Throws:
      IOException
    • hasType

      public boolean hasType()
       Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
       +optional
       
      optional string type = 1;
      Specified by:
      hasType in interface V1beta2Apps.DeploymentStrategyOrBuilder
    • getType

      public String getType()
       Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
       +optional
       
      optional string type = 1;
      Specified by:
      getType in interface V1beta2Apps.DeploymentStrategyOrBuilder
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
       +optional
       
      optional string type = 1;
      Specified by:
      getTypeBytes in interface V1beta2Apps.DeploymentStrategyOrBuilder
    • setType

       Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
       +optional
       
      optional string type = 1;
    • clearType

       Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
       +optional
       
      optional string type = 1;
    • setTypeBytes

      public V1beta2Apps.DeploymentStrategy.Builder setTypeBytes(com.google.protobuf.ByteString value)
       Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
       +optional
       
      optional string type = 1;
    • hasRollingUpdate

      public boolean hasRollingUpdate()
       Rolling update config params. Present only if DeploymentStrategyType =
       RollingUpdate.
       ---
       TODO: Update this to follow our convention for oneOf, whatever we decide it
       to be.
       +optional
       
      optional .k8s.io.api.apps.v1beta2.RollingUpdateDeployment rollingUpdate = 2;
      Specified by:
      hasRollingUpdate in interface V1beta2Apps.DeploymentStrategyOrBuilder
    • getRollingUpdate

      public V1beta2Apps.RollingUpdateDeployment getRollingUpdate()
       Rolling update config params. Present only if DeploymentStrategyType =
       RollingUpdate.
       ---
       TODO: Update this to follow our convention for oneOf, whatever we decide it
       to be.
       +optional
       
      optional .k8s.io.api.apps.v1beta2.RollingUpdateDeployment rollingUpdate = 2;
      Specified by:
      getRollingUpdate in interface V1beta2Apps.DeploymentStrategyOrBuilder
    • setRollingUpdate

       Rolling update config params. Present only if DeploymentStrategyType =
       RollingUpdate.
       ---
       TODO: Update this to follow our convention for oneOf, whatever we decide it
       to be.
       +optional
       
      optional .k8s.io.api.apps.v1beta2.RollingUpdateDeployment rollingUpdate = 2;
    • setRollingUpdate

       Rolling update config params. Present only if DeploymentStrategyType =
       RollingUpdate.
       ---
       TODO: Update this to follow our convention for oneOf, whatever we decide it
       to be.
       +optional
       
      optional .k8s.io.api.apps.v1beta2.RollingUpdateDeployment rollingUpdate = 2;
    • mergeRollingUpdate

       Rolling update config params. Present only if DeploymentStrategyType =
       RollingUpdate.
       ---
       TODO: Update this to follow our convention for oneOf, whatever we decide it
       to be.
       +optional
       
      optional .k8s.io.api.apps.v1beta2.RollingUpdateDeployment rollingUpdate = 2;
    • clearRollingUpdate

      public V1beta2Apps.DeploymentStrategy.Builder clearRollingUpdate()
       Rolling update config params. Present only if DeploymentStrategyType =
       RollingUpdate.
       ---
       TODO: Update this to follow our convention for oneOf, whatever we decide it
       to be.
       +optional
       
      optional .k8s.io.api.apps.v1beta2.RollingUpdateDeployment rollingUpdate = 2;
    • getRollingUpdateBuilder

      public V1beta2Apps.RollingUpdateDeployment.Builder getRollingUpdateBuilder()
       Rolling update config params. Present only if DeploymentStrategyType =
       RollingUpdate.
       ---
       TODO: Update this to follow our convention for oneOf, whatever we decide it
       to be.
       +optional
       
      optional .k8s.io.api.apps.v1beta2.RollingUpdateDeployment rollingUpdate = 2;
    • getRollingUpdateOrBuilder

      public V1beta2Apps.RollingUpdateDeploymentOrBuilder getRollingUpdateOrBuilder()
       Rolling update config params. Present only if DeploymentStrategyType =
       RollingUpdate.
       ---
       TODO: Update this to follow our convention for oneOf, whatever we decide it
       to be.
       +optional
       
      optional .k8s.io.api.apps.v1beta2.RollingUpdateDeployment rollingUpdate = 2;
      Specified by:
      getRollingUpdateOrBuilder in interface V1beta2Apps.DeploymentStrategyOrBuilder
    • setUnknownFields

      public final V1beta2Apps.DeploymentStrategy.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<V1beta2Apps.DeploymentStrategy.Builder>
    • mergeUnknownFields

      public final V1beta2Apps.DeploymentStrategy.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<V1beta2Apps.DeploymentStrategy.Builder>