Interface UnitOperationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UnitOperation,UnitOperation.Builder
@Generated
public interface UnitOperationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.booleancontainsLabels(String key) Optional.Deprecated.intOptional.Optional.getAnnotationsOrDefault(String key, String defaultValue) Optional.Optional.booleanOptional.getConditions(int index) Optional.intOptional.Optional.getConditionsOrBuilder(int index) Optional.List<? extends UnitOperationConditionOrBuilder>Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only..google.cloud.saasplatform.saasservicemgmt.v1beta1.Deprovision deprovision = 10 [(.google.api.field_behavior) = OPTIONAL];.google.cloud.saasplatform.saasservicemgmt.v1beta1.Deprovision deprovision = 10 [(.google.api.field_behavior) = OPTIONAL];Optional.com.google.protobuf.ByteStringOptional.Optional.intOptional.getEtag()Output only.com.google.protobuf.ByteStringOutput only.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Optional.com.google.protobuf.ByteStringOptional..google.cloud.saasplatform.saasservicemgmt.v1beta1.Provision provision = 8 [(.google.api.field_behavior) = OPTIONAL];.google.cloud.saasplatform.saasservicemgmt.v1beta1.Provision provision = 8 [(.google.api.field_behavior) = OPTIONAL];Optional.com.google.protobuf.ByteStringOptional.Optional.Optional.getState()Optional.intOptional.getUid()Output only.com.google.protobuf.ByteStringOutput only.getUnit()Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only..google.cloud.saasplatform.saasservicemgmt.v1beta1.Upgrade upgrade = 9 [(.google.api.field_behavior) = OPTIONAL];.google.cloud.saasplatform.saasservicemgmt.v1beta1.Upgrade upgrade = 9 [(.google.api.field_behavior) = OPTIONAL];booleanOutput only.boolean.google.cloud.saasplatform.saasservicemgmt.v1beta1.Deprovision deprovision = 10 [(.google.api.field_behavior) = OPTIONAL];boolean.google.cloud.saasplatform.saasservicemgmt.v1beta1.Provision provision = 8 [(.google.api.field_behavior) = OPTIONAL];booleanOptional.booleanOutput only.boolean.google.cloud.saasplatform.saasservicemgmt.v1beta1.Upgrade upgrade = 9 [(.google.api.field_behavior) = OPTIONAL];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasProvision
boolean hasProvision().google.cloud.saasplatform.saasservicemgmt.v1beta1.Provision provision = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the provision field is set.
-
getProvision
Provision getProvision().google.cloud.saasplatform.saasservicemgmt.v1beta1.Provision provision = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The provision.
-
getProvisionOrBuilder
ProvisionOrBuilder getProvisionOrBuilder().google.cloud.saasplatform.saasservicemgmt.v1beta1.Provision provision = 8 [(.google.api.field_behavior) = OPTIONAL]; -
hasUpgrade
boolean hasUpgrade().google.cloud.saasplatform.saasservicemgmt.v1beta1.Upgrade upgrade = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the upgrade field is set.
-
getUpgrade
Upgrade getUpgrade().google.cloud.saasplatform.saasservicemgmt.v1beta1.Upgrade upgrade = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The upgrade.
-
getUpgradeOrBuilder
UpgradeOrBuilder getUpgradeOrBuilder().google.cloud.saasplatform.saasservicemgmt.v1beta1.Upgrade upgrade = 9 [(.google.api.field_behavior) = OPTIONAL]; -
hasDeprovision
boolean hasDeprovision().google.cloud.saasplatform.saasservicemgmt.v1beta1.Deprovision deprovision = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the deprovision field is set.
-
getDeprovision
Deprovision getDeprovision().google.cloud.saasplatform.saasservicemgmt.v1beta1.Deprovision deprovision = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The deprovision.
-
getDeprovisionOrBuilder
DeprovisionOrBuilder getDeprovisionOrBuilder().google.cloud.saasplatform.saasservicemgmt.v1beta1.Deprovision deprovision = 10 [(.google.api.field_behavior) = OPTIONAL]; -
getName
String getName()Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/unitOperations/{unitOperation}"string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/unitOperations/{unitOperation}"string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The bytes for name.
-
getUnit
String getUnit()Required. Immutable. The Unit a given UnitOperation will act upon.
string unit = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The unit.
-
getUnitBytes
com.google.protobuf.ByteString getUnitBytes()Required. Immutable. The Unit a given UnitOperation will act upon.
string unit = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for unit.
-
getParentUnitOperation
String getParentUnitOperation()Optional. Reference to parent resource: UnitOperation. If an operation needs to create other operations as part of its workflow, each of the child operations should have this field set to the parent. This can be used for tracing. (Optional)
string parent_unit_operation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The parentUnitOperation.
-
getParentUnitOperationBytes
com.google.protobuf.ByteString getParentUnitOperationBytes()Optional. Reference to parent resource: UnitOperation. If an operation needs to create other operations as part of its workflow, each of the child operations should have this field set to the parent. This can be used for tracing. (Optional)
string parent_unit_operation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parentUnitOperation.
-
getRollout
String getRollout()Optional. Specifies which rollout created this Unit Operation. This cannot be modified and is used for filtering purposes only. If a dependent unit and unit operation are created as part of another unit operation, they will use the same rolloutId.
string rollout = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The rollout.
-
getRolloutBytes
com.google.protobuf.ByteString getRolloutBytes()Optional. Specifies which rollout created this Unit Operation. This cannot be modified and is used for filtering purposes only. If a dependent unit and unit operation are created as part of another unit operation, they will use the same rolloutId.
string rollout = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for rollout.
-
getCancel
boolean getCancel()Optional. When true, attempt to cancel the operation. Cancellation may fail if the operation is already executing. (Optional)
bool cancel = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The cancel.
-
getStateValue
int getStateValue()Optional. Output only. UnitOperationState describes the current state of the unit operation.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperation.UnitOperationState state = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
UnitOperation.UnitOperationState getState()Optional. Output only. UnitOperationState describes the current state of the unit operation.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperation.UnitOperationState state = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
getConditionsList
List<UnitOperationCondition> getConditionsList()Optional. Output only. A set of conditions which indicate the various conditions this resource can have.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition conditions = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; -
getConditions
Optional. Output only. A set of conditions which indicate the various conditions this resource can have.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition conditions = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; -
getConditionsCount
int getConditionsCount()Optional. Output only. A set of conditions which indicate the various conditions this resource can have.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition conditions = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; -
getConditionsOrBuilderList
List<? extends UnitOperationConditionOrBuilder> getConditionsOrBuilderList()Optional. Output only. A set of conditions which indicate the various conditions this resource can have.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition conditions = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; -
getConditionsOrBuilder
Optional. Output only. A set of conditions which indicate the various conditions this resource can have.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition conditions = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; -
hasSchedule
boolean hasSchedule()Optional. When to schedule this operation.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.Schedule schedule = 12 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the schedule field is set.
-
getSchedule
Schedule getSchedule()Optional. When to schedule this operation.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.Schedule schedule = 12 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The schedule.
-
getScheduleOrBuilder
ScheduleOrBuilder getScheduleOrBuilder()Optional. When to schedule this operation.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.Schedule schedule = 12 [(.google.api.field_behavior) = OPTIONAL]; -
getEngineState
String getEngineState()Optional. Output only. The engine state for on-going deployment engine operation(s). This field is opaque for external usage.
string engine_state = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The engineState.
-
getEngineStateBytes
com.google.protobuf.ByteString getEngineStateBytes()Optional. Output only. The engine state for on-going deployment engine operation(s). This field is opaque for external usage.
string engine_state = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for engineState.
-
getErrorCategoryValue
int getErrorCategoryValue()Optional. Output only. UnitOperationErrorCategory describe the error category.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationErrorCategory error_category = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for errorCategory.
-
getErrorCategory
UnitOperationErrorCategory getErrorCategory()Optional. Output only. UnitOperationErrorCategory describe the error category.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationErrorCategory error_category = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The errorCategory.
-
getLabelsCount
int getLabelsCount()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]; -
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]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
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]; -
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]; -
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]; -
getAnnotationsCount
int getAnnotationsCount()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]; -
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]; -
getAnnotations
Deprecated.UsegetAnnotationsMap()instead. -
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]; -
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]; -
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]; -
getUid
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) = { ... }- Returns:
- The uid.
-
getUidBytes
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) = { ... }- Returns:
- The bytes for uid.
-
getEtag
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];- Returns:
- The etag.
-
getEtagBytes
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];- Returns:
- The bytes for etag.
-
hasCreateTime
boolean hasCreateTime()Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 10303 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
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];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
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]; -
hasUpdateTime
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];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
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];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
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]; -
getUnitOperationTypeCase
UnitOperation.UnitOperationTypeCase getUnitOperationTypeCase()
-