Class RolloutKind.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RolloutKind.Builder>
com.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind.Builder
All Implemented Interfaces:
RolloutKindOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
RolloutKind

public static final class RolloutKind.Builder extends com.google.protobuf.GeneratedMessage.Builder<RolloutKind.Builder> implements RolloutKindOrBuilder
 An object that describes various settings of Rollout execution. Includes
 built-in policies across GCP and GDC, and customizable policies.
 
Protobuf type google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<RolloutKind.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<RolloutKind.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RolloutKind.Builder>
    • clear

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

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

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

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

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

      public RolloutKind.Builder mergeFrom(RolloutKind other)
    • isInitialized

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

      public RolloutKind.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<RolloutKind.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. The resource name (full URI of the resource) following the
       standard naming scheme:
      
       "projects/{project}/locations/{location}/rolloutKinds/{rollout_kind_id}"
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface RolloutKindOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name (full URI of the resource) following the
       standard naming scheme:
      
       "projects/{project}/locations/{location}/rolloutKinds/{rollout_kind_id}"
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface RolloutKindOrBuilder
      Returns:
      The bytes for name.
    • setName

      public RolloutKind.Builder setName(String value)
       Identifier. The resource name (full URI of the resource) following the
       standard naming scheme:
      
       "projects/{project}/locations/{location}/rolloutKinds/{rollout_kind_id}"
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public RolloutKind.Builder clearName()
       Identifier. The resource name (full URI of the resource) following the
       standard naming scheme:
      
       "projects/{project}/locations/{location}/rolloutKinds/{rollout_kind_id}"
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public RolloutKind.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The resource name (full URI of the resource) following the
       standard naming scheme:
      
       "projects/{project}/locations/{location}/rolloutKinds/{rollout_kind_id}"
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getUnitKind

      public String getUnitKind()
       Required. Immutable. UnitKind that this rollout kind corresponds to.
       Rollouts stemming from this rollout kind will target the units of this unit
       kind. In other words, this defines the population of target units to be
       upgraded by rollouts.
       
      string unit_kind = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getUnitKind in interface RolloutKindOrBuilder
      Returns:
      The unitKind.
    • getUnitKindBytes

      public com.google.protobuf.ByteString getUnitKindBytes()
       Required. Immutable. UnitKind that this rollout kind corresponds to.
       Rollouts stemming from this rollout kind will target the units of this unit
       kind. In other words, this defines the population of target units to be
       upgraded by rollouts.
       
      string unit_kind = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getUnitKindBytes in interface RolloutKindOrBuilder
      Returns:
      The bytes for unitKind.
    • setUnitKind

      public RolloutKind.Builder setUnitKind(String value)
       Required. Immutable. UnitKind that this rollout kind corresponds to.
       Rollouts stemming from this rollout kind will target the units of this unit
       kind. In other words, this defines the population of target units to be
       upgraded by rollouts.
       
      string unit_kind = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The unitKind to set.
      Returns:
      This builder for chaining.
    • clearUnitKind

      public RolloutKind.Builder clearUnitKind()
       Required. Immutable. UnitKind that this rollout kind corresponds to.
       Rollouts stemming from this rollout kind will target the units of this unit
       kind. In other words, this defines the population of target units to be
       upgraded by rollouts.
       
      string unit_kind = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setUnitKindBytes

      public RolloutKind.Builder setUnitKindBytes(com.google.protobuf.ByteString value)
       Required. Immutable. UnitKind that this rollout kind corresponds to.
       Rollouts stemming from this rollout kind will target the units of this unit
       kind. In other words, this defines the population of target units to be
       upgraded by rollouts.
       
      string unit_kind = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for unitKind to set.
      Returns:
      This builder for chaining.
    • getRolloutOrchestrationStrategy

      public String getRolloutOrchestrationStrategy()
       Optional. The strategy used for executing a Rollout. This is a required
       field.
      
       There are two supported values strategies which are used to control
       - "Google.Cloud.Simple.AllAtOnce"
       - "Google.Cloud.Simple.OneLocationAtATime"
      
       A rollout with one of these simple strategies will rollout across
       all locations defined in the associated UnitKind's Saas Locations.
       
      string rollout_orchestration_strategy = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRolloutOrchestrationStrategy in interface RolloutKindOrBuilder
      Returns:
      The rolloutOrchestrationStrategy.
    • getRolloutOrchestrationStrategyBytes

      public com.google.protobuf.ByteString getRolloutOrchestrationStrategyBytes()
       Optional. The strategy used for executing a Rollout. This is a required
       field.
      
       There are two supported values strategies which are used to control
       - "Google.Cloud.Simple.AllAtOnce"
       - "Google.Cloud.Simple.OneLocationAtATime"
      
       A rollout with one of these simple strategies will rollout across
       all locations defined in the associated UnitKind's Saas Locations.
       
      string rollout_orchestration_strategy = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRolloutOrchestrationStrategyBytes in interface RolloutKindOrBuilder
      Returns:
      The bytes for rolloutOrchestrationStrategy.
    • setRolloutOrchestrationStrategy

      public RolloutKind.Builder setRolloutOrchestrationStrategy(String value)
       Optional. The strategy used for executing a Rollout. This is a required
       field.
      
       There are two supported values strategies which are used to control
       - "Google.Cloud.Simple.AllAtOnce"
       - "Google.Cloud.Simple.OneLocationAtATime"
      
       A rollout with one of these simple strategies will rollout across
       all locations defined in the associated UnitKind's Saas Locations.
       
      string rollout_orchestration_strategy = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The rolloutOrchestrationStrategy to set.
      Returns:
      This builder for chaining.
    • clearRolloutOrchestrationStrategy

      public RolloutKind.Builder clearRolloutOrchestrationStrategy()
       Optional. The strategy used for executing a Rollout. This is a required
       field.
      
       There are two supported values strategies which are used to control
       - "Google.Cloud.Simple.AllAtOnce"
       - "Google.Cloud.Simple.OneLocationAtATime"
      
       A rollout with one of these simple strategies will rollout across
       all locations defined in the associated UnitKind's Saas Locations.
       
      string rollout_orchestration_strategy = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setRolloutOrchestrationStrategyBytes

      public RolloutKind.Builder setRolloutOrchestrationStrategyBytes(com.google.protobuf.ByteString value)
       Optional. The strategy used for executing a Rollout. This is a required
       field.
      
       There are two supported values strategies which are used to control
       - "Google.Cloud.Simple.AllAtOnce"
       - "Google.Cloud.Simple.OneLocationAtATime"
      
       A rollout with one of these simple strategies will rollout across
       all locations defined in the associated UnitKind's Saas Locations.
       
      string rollout_orchestration_strategy = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for rolloutOrchestrationStrategy to set.
      Returns:
      This builder for chaining.
    • getUnitFilter

      public String getUnitFilter()
       Optional. CEL(https://github.com/google/cel-spec) formatted filter string
       against Unit. The filter will be applied to determine the eligible unit
       population. This filter can only reduce, but not expand the scope of the
       rollout.
       
      string unit_filter = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUnitFilter in interface RolloutKindOrBuilder
      Returns:
      The unitFilter.
    • getUnitFilterBytes

      public com.google.protobuf.ByteString getUnitFilterBytes()
       Optional. CEL(https://github.com/google/cel-spec) formatted filter string
       against Unit. The filter will be applied to determine the eligible unit
       population. This filter can only reduce, but not expand the scope of the
       rollout.
       
      string unit_filter = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUnitFilterBytes in interface RolloutKindOrBuilder
      Returns:
      The bytes for unitFilter.
    • setUnitFilter

      public RolloutKind.Builder setUnitFilter(String value)
       Optional. CEL(https://github.com/google/cel-spec) formatted filter string
       against Unit. The filter will be applied to determine the eligible unit
       population. This filter can only reduce, but not expand the scope of the
       rollout.
       
      string unit_filter = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The unitFilter to set.
      Returns:
      This builder for chaining.
    • clearUnitFilter

      public RolloutKind.Builder clearUnitFilter()
       Optional. CEL(https://github.com/google/cel-spec) formatted filter string
       against Unit. The filter will be applied to determine the eligible unit
       population. This filter can only reduce, but not expand the scope of the
       rollout.
       
      string unit_filter = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setUnitFilterBytes

      public RolloutKind.Builder setUnitFilterBytes(com.google.protobuf.ByteString value)
       Optional. CEL(https://github.com/google/cel-spec) formatted filter string
       against Unit. The filter will be applied to determine the eligible unit
       population. This filter can only reduce, but not expand the scope of the
       rollout.
       
      string unit_filter = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for unitFilter to set.
      Returns:
      This builder for chaining.
    • getUpdateUnitKindStrategyValue

      public int getUpdateUnitKindStrategyValue()
       Optional. The config for updating the unit kind. By default, the unit kind
       will be updated on the rollout start.
       
      .google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind.UpdateUnitKindStrategy update_unit_kind_strategy = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateUnitKindStrategyValue in interface RolloutKindOrBuilder
      Returns:
      The enum numeric value on the wire for updateUnitKindStrategy.
    • setUpdateUnitKindStrategyValue

      public RolloutKind.Builder setUpdateUnitKindStrategyValue(int value)
       Optional. The config for updating the unit kind. By default, the unit kind
       will be updated on the rollout start.
       
      .google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind.UpdateUnitKindStrategy update_unit_kind_strategy = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for updateUnitKindStrategy to set.
      Returns:
      This builder for chaining.
    • getUpdateUnitKindStrategy

      public RolloutKind.UpdateUnitKindStrategy getUpdateUnitKindStrategy()
       Optional. The config for updating the unit kind. By default, the unit kind
       will be updated on the rollout start.
       
      .google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind.UpdateUnitKindStrategy update_unit_kind_strategy = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateUnitKindStrategy in interface RolloutKindOrBuilder
      Returns:
      The updateUnitKindStrategy.
    • setUpdateUnitKindStrategy

      public RolloutKind.Builder setUpdateUnitKindStrategy(RolloutKind.UpdateUnitKindStrategy value)
       Optional. The config for updating the unit kind. By default, the unit kind
       will be updated on the rollout start.
       
      .google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind.UpdateUnitKindStrategy update_unit_kind_strategy = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The updateUnitKindStrategy to set.
      Returns:
      This builder for chaining.
    • clearUpdateUnitKindStrategy

      public RolloutKind.Builder clearUpdateUnitKindStrategy()
       Optional. The config for updating the unit kind. By default, the unit kind
       will be updated on the rollout start.
       
      .google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind.UpdateUnitKindStrategy update_unit_kind_strategy = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasErrorBudget

      public boolean hasErrorBudget()
       Optional. The configuration for error budget. If the number of failed units
       exceeds max(allowed_count, allowed_ratio * total_units), the rollout will
       be paused. If not set, all units will be attempted to be updated regardless
       of the number of failures encountered.
       
      optional .google.cloud.saasplatform.saasservicemgmt.v1beta1.ErrorBudget error_budget = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasErrorBudget in interface RolloutKindOrBuilder
      Returns:
      Whether the errorBudget field is set.
    • getErrorBudget

      public ErrorBudget getErrorBudget()
       Optional. The configuration for error budget. If the number of failed units
       exceeds max(allowed_count, allowed_ratio * total_units), the rollout will
       be paused. If not set, all units will be attempted to be updated regardless
       of the number of failures encountered.
       
      optional .google.cloud.saasplatform.saasservicemgmt.v1beta1.ErrorBudget error_budget = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getErrorBudget in interface RolloutKindOrBuilder
      Returns:
      The errorBudget.
    • setErrorBudget

      public RolloutKind.Builder setErrorBudget(ErrorBudget value)
       Optional. The configuration for error budget. If the number of failed units
       exceeds max(allowed_count, allowed_ratio * total_units), the rollout will
       be paused. If not set, all units will be attempted to be updated regardless
       of the number of failures encountered.
       
      optional .google.cloud.saasplatform.saasservicemgmt.v1beta1.ErrorBudget error_budget = 7 [(.google.api.field_behavior) = OPTIONAL];
    • setErrorBudget

      public RolloutKind.Builder setErrorBudget(ErrorBudget.Builder builderForValue)
       Optional. The configuration for error budget. If the number of failed units
       exceeds max(allowed_count, allowed_ratio * total_units), the rollout will
       be paused. If not set, all units will be attempted to be updated regardless
       of the number of failures encountered.
       
      optional .google.cloud.saasplatform.saasservicemgmt.v1beta1.ErrorBudget error_budget = 7 [(.google.api.field_behavior) = OPTIONAL];
    • mergeErrorBudget

      public RolloutKind.Builder mergeErrorBudget(ErrorBudget value)
       Optional. The configuration for error budget. If the number of failed units
       exceeds max(allowed_count, allowed_ratio * total_units), the rollout will
       be paused. If not set, all units will be attempted to be updated regardless
       of the number of failures encountered.
       
      optional .google.cloud.saasplatform.saasservicemgmt.v1beta1.ErrorBudget error_budget = 7 [(.google.api.field_behavior) = OPTIONAL];
    • clearErrorBudget

      public RolloutKind.Builder clearErrorBudget()
       Optional. The configuration for error budget. If the number of failed units
       exceeds max(allowed_count, allowed_ratio * total_units), the rollout will
       be paused. If not set, all units will be attempted to be updated regardless
       of the number of failures encountered.
       
      optional .google.cloud.saasplatform.saasservicemgmt.v1beta1.ErrorBudget error_budget = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getErrorBudgetBuilder

      public ErrorBudget.Builder getErrorBudgetBuilder()
       Optional. The configuration for error budget. If the number of failed units
       exceeds max(allowed_count, allowed_ratio * total_units), the rollout will
       be paused. If not set, all units will be attempted to be updated regardless
       of the number of failures encountered.
       
      optional .google.cloud.saasplatform.saasservicemgmt.v1beta1.ErrorBudget error_budget = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getErrorBudgetOrBuilder

      public ErrorBudgetOrBuilder getErrorBudgetOrBuilder()
       Optional. The configuration for error budget. If the number of failed units
       exceeds max(allowed_count, allowed_ratio * total_units), the rollout will
       be paused. If not set, all units will be attempted to be updated regardless
       of the number of failures encountered.
       
      optional .google.cloud.saasplatform.saasservicemgmt.v1beta1.ErrorBudget error_budget = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getErrorBudgetOrBuilder in interface RolloutKindOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: RolloutKindOrBuilder
       Optional. The labels on the resource, which can be used for categorization.
       similar to Kubernetes resource labels.
       
      map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface RolloutKindOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. The labels on the resource, which can be used for categorization.
       similar to Kubernetes resource labels.
       
      map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface RolloutKindOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface RolloutKindOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. The labels on the resource, which can be used for categorization.
       similar to Kubernetes resource labels.
       
      map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface RolloutKindOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. The labels on the resource, which can be used for categorization.
       similar to Kubernetes resource labels.
       
      map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface RolloutKindOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. The labels on the resource, which can be used for categorization.
       similar to Kubernetes resource labels.
       
      map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface RolloutKindOrBuilder
    • clearLabels

      public RolloutKind.Builder clearLabels()
    • removeLabels

      public RolloutKind.Builder removeLabels(String key)
       Optional. The labels on the resource, which can be used for categorization.
       similar to Kubernetes resource labels.
       
      map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public RolloutKind.Builder putLabels(String key, String value)
       Optional. The labels on the resource, which can be used for categorization.
       similar to Kubernetes resource labels.
       
      map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public RolloutKind.Builder putAllLabels(Map<String,String> values)
       Optional. The labels on the resource, which can be used for categorization.
       similar to Kubernetes resource labels.
       
      map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];
    • getAnnotationsCount

      public int getAnnotationsCount()
      Description copied from interface: RolloutKindOrBuilder
       Optional. Annotations is an unstructured key-value map stored with a
       resource that may be set by external tools to store and retrieve arbitrary
       metadata. They are not queryable and should be preserved when modifying
       objects.
      
       More info: https://kubernetes.io/docs/user-guide/annotations
       
      map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsCount in interface RolloutKindOrBuilder
    • containsAnnotations

      public boolean containsAnnotations(String key)
       Optional. Annotations is an unstructured key-value map stored with a
       resource that may be set by external tools to store and retrieve arbitrary
       metadata. They are not queryable and should be preserved when modifying
       objects.
      
       More info: https://kubernetes.io/docs/user-guide/annotations
       
      map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsAnnotations in interface RolloutKindOrBuilder
    • getAnnotations

      @Deprecated public Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
      Specified by:
      getAnnotations in interface RolloutKindOrBuilder
    • getAnnotationsMap

      public Map<String,String> getAnnotationsMap()
       Optional. Annotations is an unstructured key-value map stored with a
       resource that may be set by external tools to store and retrieve arbitrary
       metadata. They are not queryable and should be preserved when modifying
       objects.
      
       More info: https://kubernetes.io/docs/user-guide/annotations
       
      map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsMap in interface RolloutKindOrBuilder
    • getAnnotationsOrDefault

      public String getAnnotationsOrDefault(String key, String defaultValue)
       Optional. Annotations is an unstructured key-value map stored with a
       resource that may be set by external tools to store and retrieve arbitrary
       metadata. They are not queryable and should be preserved when modifying
       objects.
      
       More info: https://kubernetes.io/docs/user-guide/annotations
       
      map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsOrDefault in interface RolloutKindOrBuilder
    • getAnnotationsOrThrow

      public String getAnnotationsOrThrow(String key)
       Optional. Annotations is an unstructured key-value map stored with a
       resource that may be set by external tools to store and retrieve arbitrary
       metadata. They are not queryable and should be preserved when modifying
       objects.
      
       More info: https://kubernetes.io/docs/user-guide/annotations
       
      map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsOrThrow in interface RolloutKindOrBuilder
    • clearAnnotations

      public RolloutKind.Builder clearAnnotations()
    • removeAnnotations

      public RolloutKind.Builder removeAnnotations(String key)
       Optional. Annotations is an unstructured key-value map stored with a
       resource that may be set by external tools to store and retrieve arbitrary
       metadata. They are not queryable and should be preserved when modifying
       objects.
      
       More info: https://kubernetes.io/docs/user-guide/annotations
       
      map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableAnnotations

      @Deprecated public Map<String,String> getMutableAnnotations()
      Deprecated.
      Use alternate mutation accessors instead.
    • putAnnotations

      public RolloutKind.Builder putAnnotations(String key, String value)
       Optional. Annotations is an unstructured key-value map stored with a
       resource that may be set by external tools to store and retrieve arbitrary
       metadata. They are not queryable and should be preserved when modifying
       objects.
      
       More info: https://kubernetes.io/docs/user-guide/annotations
       
      map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];
    • putAllAnnotations

      public RolloutKind.Builder putAllAnnotations(Map<String,String> values)
       Optional. Annotations is an unstructured key-value map stored with a
       resource that may be set by external tools to store and retrieve arbitrary
       metadata. They are not queryable and should be preserved when modifying
       objects.
      
       More info: https://kubernetes.io/docs/user-guide/annotations
       
      map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];
    • getUid

      public String getUid()
       Output only. The unique identifier of the resource. UID is unique in the
       time and space for this resource within the scope of the service. It is
       typically generated by the server on successful creation of a resource
       and must not be changed. UID is used to uniquely identify resources
       with resource name reuses. This should be a UUID4.
       
      string uid = 10201 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Specified by:
      getUid in interface RolloutKindOrBuilder
      Returns:
      The uid.
    • getUidBytes

      public com.google.protobuf.ByteString getUidBytes()
       Output only. The unique identifier of the resource. UID is unique in the
       time and space for this resource within the scope of the service. It is
       typically generated by the server on successful creation of a resource
       and must not be changed. UID is used to uniquely identify resources
       with resource name reuses. This should be a UUID4.
       
      string uid = 10201 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Specified by:
      getUidBytes in interface RolloutKindOrBuilder
      Returns:
      The bytes for uid.
    • setUid

      public RolloutKind.Builder setUid(String value)
       Output only. The unique identifier of the resource. UID is unique in the
       time and space for this resource within the scope of the service. It is
       typically generated by the server on successful creation of a resource
       and must not be changed. UID is used to uniquely identify resources
       with resource name reuses. This should be a UUID4.
       
      string uid = 10201 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Parameters:
      value - The uid to set.
      Returns:
      This builder for chaining.
    • clearUid

      public RolloutKind.Builder clearUid()
       Output only. The unique identifier of the resource. UID is unique in the
       time and space for this resource within the scope of the service. It is
       typically generated by the server on successful creation of a resource
       and must not be changed. UID is used to uniquely identify resources
       with resource name reuses. This should be a UUID4.
       
      string uid = 10201 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Returns:
      This builder for chaining.
    • setUidBytes

      public RolloutKind.Builder setUidBytes(com.google.protobuf.ByteString value)
       Output only. The unique identifier of the resource. UID is unique in the
       time and space for this resource within the scope of the service. It is
       typically generated by the server on successful creation of a resource
       and must not be changed. UID is used to uniquely identify resources
       with resource name reuses. This should be a UUID4.
       
      string uid = 10201 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Parameters:
      value - The bytes for uid to set.
      Returns:
      This builder for chaining.
    • getEtag

      public String getEtag()
       Output only. An opaque value that uniquely identifies a version or
       generation of a resource. It can be used to confirm that the client
       and server agree on the ordering of a resource being written.
       
      string etag = 10202 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEtag in interface RolloutKindOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       Output only. An opaque value that uniquely identifies a version or
       generation of a resource. It can be used to confirm that the client
       and server agree on the ordering of a resource being written.
       
      string etag = 10202 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEtagBytes in interface RolloutKindOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public RolloutKind.Builder setEtag(String value)
       Output only. An opaque value that uniquely identifies a version or
       generation of a resource. It can be used to confirm that the client
       and server agree on the ordering of a resource being written.
       
      string etag = 10202 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public RolloutKind.Builder clearEtag()
       Output only. An opaque value that uniquely identifies a version or
       generation of a resource. It can be used to confirm that the client
       and server agree on the ordering of a resource being written.
       
      string etag = 10202 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setEtagBytes

      public RolloutKind.Builder setEtagBytes(com.google.protobuf.ByteString value)
       Output only. An opaque value that uniquely identifies a version or
       generation of a resource. It can be used to confirm that the client
       and server agree on the ordering of a resource being written.
       
      string etag = 10202 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 10303 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface RolloutKindOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 10303 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface RolloutKindOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public RolloutKind.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 10303 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public RolloutKind.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 10303 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public RolloutKind.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 10303 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public RolloutKind.Builder clearCreateTime()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 10303 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 10303 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 10303 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface RolloutKindOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The timestamp when the resource was last updated. Any
       change to the resource made by users must refresh this value.
       Changes to a resource made by the service should refresh this value.
       
      .google.protobuf.Timestamp update_time = 10304 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface RolloutKindOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The timestamp when the resource was last updated. Any
       change to the resource made by users must refresh this value.
       Changes to a resource made by the service should refresh this value.
       
      .google.protobuf.Timestamp update_time = 10304 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface RolloutKindOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public RolloutKind.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when the resource was last updated. Any
       change to the resource made by users must refresh this value.
       Changes to a resource made by the service should refresh this value.
       
      .google.protobuf.Timestamp update_time = 10304 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public RolloutKind.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp when the resource was last updated. Any
       change to the resource made by users must refresh this value.
       Changes to a resource made by the service should refresh this value.
       
      .google.protobuf.Timestamp update_time = 10304 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public RolloutKind.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when the resource was last updated. Any
       change to the resource made by users must refresh this value.
       Changes to a resource made by the service should refresh this value.
       
      .google.protobuf.Timestamp update_time = 10304 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public RolloutKind.Builder clearUpdateTime()
       Output only. The timestamp when the resource was last updated. Any
       change to the resource made by users must refresh this value.
       Changes to a resource made by the service should refresh this value.
       
      .google.protobuf.Timestamp update_time = 10304 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The timestamp when the resource was last updated. Any
       change to the resource made by users must refresh this value.
       Changes to a resource made by the service should refresh this value.
       
      .google.protobuf.Timestamp update_time = 10304 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The timestamp when the resource was last updated. Any
       change to the resource made by users must refresh this value.
       Changes to a resource made by the service should refresh this value.
       
      .google.protobuf.Timestamp update_time = 10304 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface RolloutKindOrBuilder