Class UnitOperation
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperation
- All Implemented Interfaces:
UnitOperationOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class UnitOperation
extends com.google.protobuf.GeneratedMessage
implements UnitOperationOrBuilder
UnitOperation encapsulates the intent of changing/interacting with the service component represented by the specific Unit. Multiple UnitOperations can be created (requested) and scheduled in the future, however only one will be allowed to execute at a time (that can change in the future for non-mutating operations). UnitOperations allow different actors interacting with the same unit to focus only on the change they have requested. This is a base object that contains the common fields in all unit operations. Next: 19Protobuf type
google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperation- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classUnitOperation encapsulates the intent of changing/interacting with the service component represented by the specific Unit.static enumUnitOperationState describes the current state of the unit operation.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.booleancontainsLabels(String key) Optional.booleanDeprecated.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.static UnitOperation.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];static final com.google.protobuf.Descriptors.DescriptorOptional.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.com.google.protobuf.Parser<UnitOperation>.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.intgetState()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];inthashCode()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];protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic UnitOperation.Builderstatic UnitOperation.BuildernewBuilder(UnitOperation prototype) protected UnitOperation.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static UnitOperationparseDelimitedFrom(InputStream input) static UnitOperationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UnitOperationparseFrom(byte[] data) static UnitOperationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UnitOperationparseFrom(com.google.protobuf.ByteString data) static UnitOperationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UnitOperationparseFrom(com.google.protobuf.CodedInputStream input) static UnitOperationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UnitOperationparseFrom(InputStream input) static UnitOperationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UnitOperationparseFrom(ByteBuffer data) static UnitOperationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<UnitOperation>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PROVISION_FIELD_NUMBER
public static final int PROVISION_FIELD_NUMBER- See Also:
-
UPGRADE_FIELD_NUMBER
public static final int UPGRADE_FIELD_NUMBER- See Also:
-
DEPROVISION_FIELD_NUMBER
public static final int DEPROVISION_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
UNIT_FIELD_NUMBER
public static final int UNIT_FIELD_NUMBER- See Also:
-
PARENT_UNIT_OPERATION_FIELD_NUMBER
public static final int PARENT_UNIT_OPERATION_FIELD_NUMBER- See Also:
-
ROLLOUT_FIELD_NUMBER
public static final int ROLLOUT_FIELD_NUMBER- See Also:
-
CANCEL_FIELD_NUMBER
public static final int CANCEL_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
CONDITIONS_FIELD_NUMBER
public static final int CONDITIONS_FIELD_NUMBER- See Also:
-
SCHEDULE_FIELD_NUMBER
public static final int SCHEDULE_FIELD_NUMBER- See Also:
-
ENGINE_STATE_FIELD_NUMBER
public static final int ENGINE_STATE_FIELD_NUMBER- See Also:
-
ERROR_CATEGORY_FIELD_NUMBER
public static final int ERROR_CATEGORY_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER- See Also:
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER- See Also:
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getUnitOperationTypeCase
- Specified by:
getUnitOperationTypeCasein interfaceUnitOperationOrBuilder
-
hasProvision
public boolean hasProvision().google.cloud.saasplatform.saasservicemgmt.v1beta1.Provision provision = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasProvisionin interfaceUnitOperationOrBuilder- Returns:
- Whether the provision field is set.
-
getProvision
.google.cloud.saasplatform.saasservicemgmt.v1beta1.Provision provision = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getProvisionin interfaceUnitOperationOrBuilder- Returns:
- The provision.
-
getProvisionOrBuilder
.google.cloud.saasplatform.saasservicemgmt.v1beta1.Provision provision = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getProvisionOrBuilderin interfaceUnitOperationOrBuilder
-
hasUpgrade
public boolean hasUpgrade().google.cloud.saasplatform.saasservicemgmt.v1beta1.Upgrade upgrade = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasUpgradein interfaceUnitOperationOrBuilder- Returns:
- Whether the upgrade field is set.
-
getUpgrade
.google.cloud.saasplatform.saasservicemgmt.v1beta1.Upgrade upgrade = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUpgradein interfaceUnitOperationOrBuilder- Returns:
- The upgrade.
-
getUpgradeOrBuilder
.google.cloud.saasplatform.saasservicemgmt.v1beta1.Upgrade upgrade = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUpgradeOrBuilderin interfaceUnitOperationOrBuilder
-
hasDeprovision
public boolean hasDeprovision().google.cloud.saasplatform.saasservicemgmt.v1beta1.Deprovision deprovision = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasDeprovisionin interfaceUnitOperationOrBuilder- Returns:
- Whether the deprovision field is set.
-
getDeprovision
.google.cloud.saasplatform.saasservicemgmt.v1beta1.Deprovision deprovision = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeprovisionin interfaceUnitOperationOrBuilder- Returns:
- The deprovision.
-
getDeprovisionOrBuilder
.google.cloud.saasplatform.saasservicemgmt.v1beta1.Deprovision deprovision = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeprovisionOrBuilderin interfaceUnitOperationOrBuilder
-
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];- Specified by:
getNamein interfaceUnitOperationOrBuilder- 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}/unitOperations/{unitOperation}"string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceUnitOperationOrBuilder- Returns:
- The bytes for name.
-
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) = { ... }- Specified by:
getUnitin interfaceUnitOperationOrBuilder- Returns:
- The unit.
-
getUnitBytes
public 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) = { ... }- Specified by:
getUnitBytesin interfaceUnitOperationOrBuilder- Returns:
- The bytes for unit.
-
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) = { ... }- Specified by:
getParentUnitOperationin interfaceUnitOperationOrBuilder- Returns:
- The parentUnitOperation.
-
getParentUnitOperationBytes
public 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) = { ... }- Specified by:
getParentUnitOperationBytesin interfaceUnitOperationOrBuilder- Returns:
- The bytes for parentUnitOperation.
-
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) = { ... }- Specified by:
getRolloutin interfaceUnitOperationOrBuilder- Returns:
- The rollout.
-
getRolloutBytes
public 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) = { ... }- Specified by:
getRolloutBytesin interfaceUnitOperationOrBuilder- Returns:
- The bytes for rollout.
-
getCancel
public 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];- Specified by:
getCancelin interfaceUnitOperationOrBuilder- Returns:
- The cancel.
-
getStateValue
public 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];- Specified by:
getStateValuein interfaceUnitOperationOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
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];- Specified by:
getStatein interfaceUnitOperationOrBuilder- Returns:
- The state.
-
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];- Specified by:
getConditionsListin interfaceUnitOperationOrBuilder
-
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];- Specified by:
getConditionsOrBuilderListin interfaceUnitOperationOrBuilder
-
getConditionsCount
public 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];- Specified by:
getConditionsCountin interfaceUnitOperationOrBuilder
-
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];- Specified by:
getConditionsin interfaceUnitOperationOrBuilder
-
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];- Specified by:
getConditionsOrBuilderin interfaceUnitOperationOrBuilder
-
hasSchedule
public boolean hasSchedule()Optional. When to schedule this operation.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.Schedule schedule = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasSchedulein interfaceUnitOperationOrBuilder- Returns:
- Whether the schedule field is set.
-
getSchedule
Optional. When to schedule this operation.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.Schedule schedule = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSchedulein interfaceUnitOperationOrBuilder- Returns:
- The schedule.
-
getScheduleOrBuilder
Optional. When to schedule this operation.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.Schedule schedule = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getScheduleOrBuilderin interfaceUnitOperationOrBuilder
-
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];- Specified by:
getEngineStatein interfaceUnitOperationOrBuilder- Returns:
- The engineState.
-
getEngineStateBytes
public 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];- Specified by:
getEngineStateBytesin interfaceUnitOperationOrBuilder- Returns:
- The bytes for engineState.
-
getErrorCategoryValue
public 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];- Specified by:
getErrorCategoryValuein interfaceUnitOperationOrBuilder- Returns:
- The enum numeric value on the wire for errorCategory.
-
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];- Specified by:
getErrorCategoryin interfaceUnitOperationOrBuilder- Returns:
- The errorCategory.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:UnitOperationOrBuilderOptional. 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 interfaceUnitOperationOrBuilder
-
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 interfaceUnitOperationOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceUnitOperationOrBuilder
-
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 interfaceUnitOperationOrBuilder
-
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 interfaceUnitOperationOrBuilder
-
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 interfaceUnitOperationOrBuilder
-
getAnnotationsCount
public int getAnnotationsCount()Description copied from interface:UnitOperationOrBuilderOptional. 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 interfaceUnitOperationOrBuilder
-
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 interfaceUnitOperationOrBuilder
-
getAnnotations
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceUnitOperationOrBuilder
-
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 interfaceUnitOperationOrBuilder
-
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 interfaceUnitOperationOrBuilder
-
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 interfaceUnitOperationOrBuilder
-
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 interfaceUnitOperationOrBuilder- 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 interfaceUnitOperationOrBuilder- Returns:
- The bytes for uid.
-
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 interfaceUnitOperationOrBuilder- 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 interfaceUnitOperationOrBuilder- Returns:
- The bytes for etag.
-
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 interfaceUnitOperationOrBuilder- 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 interfaceUnitOperationOrBuilder- Returns:
- The createTime.
-
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 interfaceUnitOperationOrBuilder
-
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 interfaceUnitOperationOrBuilder- 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 interfaceUnitOperationOrBuilder- Returns:
- The updateTime.
-
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 interfaceUnitOperationOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static UnitOperation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UnitOperation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UnitOperation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UnitOperation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UnitOperation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UnitOperation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static UnitOperation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static UnitOperation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static UnitOperation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static UnitOperation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UnitOperation.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-