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 Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Optional.Output only.Identifier.Optional.clearUid()Output only.Optional.Required.Output only.Optional.booleanOptional.booleancontainsLabels(String key) Optional.Deprecated.intOptional.Optional.getAnnotationsOrDefault(String key, String defaultValue) Optional.Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.getEtag()Output only.com.google.protobuf.ByteStringOutput only.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Deprecated.Deprecated.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Optional.com.google.protobuf.ByteStringOptional.getUid()Output only.com.google.protobuf.ByteStringOutput only.Optional.com.google.protobuf.ByteStringOptional.Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.intOptional.booleanOutput only.booleanOptional.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeErrorBudget(ErrorBudget value) Optional.mergeFrom(RolloutKind other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllAnnotations(Map<String, String> values) Optional.putAllLabels(Map<String, String> values) Optional.putAnnotations(String key, String value) Optional.Optional.removeAnnotations(String key) Optional.removeLabels(String key) Optional.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setErrorBudget(ErrorBudget value) Optional.setErrorBudget(ErrorBudget.Builder builderForValue) Optional.Output only.setEtagBytes(com.google.protobuf.ByteString value) Output only.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.Optional.setRolloutOrchestrationStrategyBytes(com.google.protobuf.ByteString value) Optional.Output only.setUidBytes(com.google.protobuf.ByteString value) Output only.setUnitFilter(String value) Optional.setUnitFilterBytes(com.google.protobuf.ByteString value) Optional.setUnitKind(String value) Required.setUnitKindBytes(com.google.protobuf.ByteString value) Required.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Optional.setUpdateUnitKindStrategyValue(int value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<RolloutKind.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<RolloutKind.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RolloutKind.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RolloutKind.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RolloutKind.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RolloutKind.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RolloutKind.Builder>- Throws:
IOException
-
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:
getNamein interfaceRolloutKindOrBuilder- 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:
getNameBytesin interfaceRolloutKindOrBuilder- Returns:
- The bytes for name.
-
setName
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
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
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
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:
getUnitKindin interfaceRolloutKindOrBuilder- 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:
getUnitKindBytesin interfaceRolloutKindOrBuilder- Returns:
- The bytes for unitKind.
-
setUnitKind
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
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
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
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:
getRolloutOrchestrationStrategyin interfaceRolloutKindOrBuilder- 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:
getRolloutOrchestrationStrategyBytesin interfaceRolloutKindOrBuilder- Returns:
- The bytes for rolloutOrchestrationStrategy.
-
setRolloutOrchestrationStrategy
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
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
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:
getUnitFilterin interfaceRolloutKindOrBuilder- 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:
getUnitFilterBytesin interfaceRolloutKindOrBuilder- Returns:
- The bytes for unitFilter.
-
setUnitFilter
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
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
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:
getUpdateUnitKindStrategyValuein interfaceRolloutKindOrBuilder- Returns:
- The enum numeric value on the wire for updateUnitKindStrategy.
-
setUpdateUnitKindStrategyValue
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
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:
getUpdateUnitKindStrategyin interfaceRolloutKindOrBuilder- Returns:
- The updateUnitKindStrategy.
-
setUpdateUnitKindStrategy
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
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:
hasErrorBudgetin interfaceRolloutKindOrBuilder- Returns:
- Whether the errorBudget field is set.
-
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:
getErrorBudgetin interfaceRolloutKindOrBuilder- Returns:
- The errorBudget.
-
setErrorBudget
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
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
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
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
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
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:
getErrorBudgetOrBuilderin interfaceRolloutKindOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:RolloutKindOrBuilderOptional. 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:
getLabelsCountin interfaceRolloutKindOrBuilder
-
containsLabels
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:
containsLabelsin interfaceRolloutKindOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceRolloutKindOrBuilder
-
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:
getLabelsMapin interfaceRolloutKindOrBuilder
-
getLabelsOrDefault
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:
getLabelsOrDefaultin interfaceRolloutKindOrBuilder
-
getLabelsOrThrow
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:
getLabelsOrThrowin interfaceRolloutKindOrBuilder
-
clearLabels
-
removeLabels
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.Use alternate mutation accessors instead. -
putLabels
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
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:RolloutKindOrBuilderOptional. 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:
getAnnotationsCountin interfaceRolloutKindOrBuilder
-
containsAnnotations
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:
containsAnnotationsin interfaceRolloutKindOrBuilder
-
getAnnotations
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceRolloutKindOrBuilder
-
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:
getAnnotationsMapin interfaceRolloutKindOrBuilder
-
getAnnotationsOrDefault
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:
getAnnotationsOrDefaultin interfaceRolloutKindOrBuilder
-
getAnnotationsOrThrow
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:
getAnnotationsOrThrowin interfaceRolloutKindOrBuilder
-
clearAnnotations
-
removeAnnotations
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.Use alternate mutation accessors instead. -
putAnnotations
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
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
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:
getUidin interfaceRolloutKindOrBuilder- 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:
getUidBytesin interfaceRolloutKindOrBuilder- Returns:
- The bytes for uid.
-
setUid
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
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
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
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:
getEtagin interfaceRolloutKindOrBuilder- 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:
getEtagBytesin interfaceRolloutKindOrBuilder- Returns:
- The bytes for etag.
-
setEtag
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
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
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:
hasCreateTimein interfaceRolloutKindOrBuilder- 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:
getCreateTimein interfaceRolloutKindOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 10303 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 10303 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 10303 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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:
getCreateTimeOrBuilderin interfaceRolloutKindOrBuilder
-
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:
hasUpdateTimein interfaceRolloutKindOrBuilder- 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:
getUpdateTimein interfaceRolloutKindOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
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
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
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
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:
getUpdateTimeOrBuilderin interfaceRolloutKindOrBuilder
-