Class ResourceMaintenance
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.maintenance.api.v1.ResourceMaintenance
- All Implemented Interfaces:
ResourceMaintenanceOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class ResourceMaintenance
extends com.google.protobuf.GeneratedMessage
implements ResourceMaintenanceOrBuilder
ResourceMaintenance is a resource that represents a maintenance operation on a resource.Protobuf type
google.cloud.maintenance.api.v1.ResourceMaintenance- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classResourceMaintenance is a resource that represents a maintenance operation on a resource.static final classMaintenance is the maintenance details of a resource's maintenance.static interfacestatic final classResource contains information about the resource affected by maintenance.static interfacestatic enumState is the state of a resource maintenance.Nested 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 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.getControls(int index) Output only.intOutput only.Output only.getControlsOrBuilder(int index) Output only.List<? extends MaintenanceControlOrBuilder>Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static ResourceMaintenancestatic final com.google.protobuf.Descriptors.DescriptorgetEtag()Output only.com.google.protobuf.ByteStringOutput only.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getName()Identifier.com.google.protobuf.ByteStringIdentifier.com.google.protobuf.Parser<ResourceMaintenance>Output only.Output only.intgetState()Output only.intOutput only.getUid()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.inthashCode()booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic ResourceMaintenance.Builderstatic ResourceMaintenance.BuildernewBuilder(ResourceMaintenance prototype) protected ResourceMaintenance.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ResourceMaintenanceparseDelimitedFrom(InputStream input) static ResourceMaintenanceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResourceMaintenanceparseFrom(byte[] data) static ResourceMaintenanceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResourceMaintenanceparseFrom(com.google.protobuf.ByteString data) static ResourceMaintenanceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResourceMaintenanceparseFrom(com.google.protobuf.CodedInputStream input) static ResourceMaintenanceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResourceMaintenanceparseFrom(InputStream input) static ResourceMaintenanceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResourceMaintenanceparseFrom(ByteBuffer data) static ResourceMaintenanceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ResourceMaintenance>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
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER- See Also:
-
MAINTENANCE_FIELD_NUMBER
public static final int MAINTENANCE_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_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:
-
MAINTENANCE_START_TIME_FIELD_NUMBER
public static final int MAINTENANCE_START_TIME_FIELD_NUMBER- See Also:
-
MAINTENANCE_END_TIME_FIELD_NUMBER
public static final int MAINTENANCE_END_TIME_FIELD_NUMBER- See Also:
-
MAINTENANCE_CANCEL_TIME_FIELD_NUMBER
public static final int MAINTENANCE_CANCEL_TIME_FIELD_NUMBER- See Also:
-
MAINTENANCE_SCHEDULED_START_TIME_FIELD_NUMBER
public static final int MAINTENANCE_SCHEDULED_START_TIME_FIELD_NUMBER- See Also:
-
MAINTENANCE_SCHEDULED_END_TIME_FIELD_NUMBER
public static final int MAINTENANCE_SCHEDULED_END_TIME_FIELD_NUMBER- See Also:
-
USER_CONTROLLABLE_FIELD_NUMBER
public static final int USER_CONTROLLABLE_FIELD_NUMBER- See Also:
-
CONTROLS_FIELD_NUMBER
public static final int CONTROLS_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:
-
-
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
-
getName
Identifier. The name of the resource_maintenance resource. Format: `"projects/{project}/locations/{location}/resourceMaintenance/{resource-maintenance-id}"`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceResourceMaintenanceOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. The name of the resource_maintenance resource. Format: `"projects/{project}/locations/{location}/resourceMaintenance/{resource-maintenance-id}"`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceResourceMaintenanceOrBuilder- Returns:
- The bytes for name.
-
hasResource
public boolean hasResource()Output only. The resource spec of the resource maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.Resource resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasResourcein interfaceResourceMaintenanceOrBuilder- Returns:
- Whether the resource field is set.
-
getResource
Output only. The resource spec of the resource maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.Resource resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResourcein interfaceResourceMaintenanceOrBuilder- Returns:
- The resource.
-
getResourceOrBuilder
Output only. The resource spec of the resource maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.Resource resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResourceOrBuilderin interfaceResourceMaintenanceOrBuilder
-
hasMaintenance
public boolean hasMaintenance()Output only. The details of the maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.Maintenance maintenance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasMaintenancein interfaceResourceMaintenanceOrBuilder- Returns:
- Whether the maintenance field is set.
-
getMaintenance
Output only. The details of the maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.Maintenance maintenance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenancein interfaceResourceMaintenanceOrBuilder- Returns:
- The maintenance.
-
getMaintenanceOrBuilder
Output only. The details of the maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.Maintenance maintenance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceOrBuilderin interfaceResourceMaintenanceOrBuilder
-
getStateValue
public int getStateValue()Output only. The state of the resource maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceResourceMaintenanceOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
Output only. The state of the resource maintenance.
.google.cloud.maintenance.api.v1.ResourceMaintenance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceResourceMaintenanceOrBuilder- Returns:
- The state.
-
hasCreateTime
public boolean hasCreateTime()Output only. The create time of the resource maintenance.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceResourceMaintenanceOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The create time of the resource maintenance.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceResourceMaintenanceOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The create time of the resource maintenance.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceResourceMaintenanceOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The update time of the resource maintenance.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceResourceMaintenanceOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The update time of the resource maintenance.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceResourceMaintenanceOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The update time of the resource maintenance.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceResourceMaintenanceOrBuilder
-
hasMaintenanceStartTime
public boolean hasMaintenanceStartTime()Output only. The time when the resource maintenance has started.
.google.protobuf.Timestamp maintenance_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasMaintenanceStartTimein interfaceResourceMaintenanceOrBuilder- Returns:
- Whether the maintenanceStartTime field is set.
-
getMaintenanceStartTime
public com.google.protobuf.Timestamp getMaintenanceStartTime()Output only. The time when the resource maintenance has started.
.google.protobuf.Timestamp maintenance_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceStartTimein interfaceResourceMaintenanceOrBuilder- Returns:
- The maintenanceStartTime.
-
getMaintenanceStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getMaintenanceStartTimeOrBuilder()Output only. The time when the resource maintenance has started.
.google.protobuf.Timestamp maintenance_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceStartTimeOrBuilderin interfaceResourceMaintenanceOrBuilder
-
hasMaintenanceEndTime
public boolean hasMaintenanceEndTime()Output only. The time when the resource maintenance has completed.
.google.protobuf.Timestamp maintenance_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasMaintenanceEndTimein interfaceResourceMaintenanceOrBuilder- Returns:
- Whether the maintenanceEndTime field is set.
-
getMaintenanceEndTime
public com.google.protobuf.Timestamp getMaintenanceEndTime()Output only. The time when the resource maintenance has completed.
.google.protobuf.Timestamp maintenance_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceEndTimein interfaceResourceMaintenanceOrBuilder- Returns:
- The maintenanceEndTime.
-
getMaintenanceEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getMaintenanceEndTimeOrBuilder()Output only. The time when the resource maintenance has completed.
.google.protobuf.Timestamp maintenance_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceEndTimeOrBuilderin interfaceResourceMaintenanceOrBuilder
-
hasMaintenanceCancelTime
public boolean hasMaintenanceCancelTime()Output only. The time when the resource maintenance was cancelled.
.google.protobuf.Timestamp maintenance_cancel_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasMaintenanceCancelTimein interfaceResourceMaintenanceOrBuilder- Returns:
- Whether the maintenanceCancelTime field is set.
-
getMaintenanceCancelTime
public com.google.protobuf.Timestamp getMaintenanceCancelTime()Output only. The time when the resource maintenance was cancelled.
.google.protobuf.Timestamp maintenance_cancel_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceCancelTimein interfaceResourceMaintenanceOrBuilder- Returns:
- The maintenanceCancelTime.
-
getMaintenanceCancelTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getMaintenanceCancelTimeOrBuilder()Output only. The time when the resource maintenance was cancelled.
.google.protobuf.Timestamp maintenance_cancel_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceCancelTimeOrBuilderin interfaceResourceMaintenanceOrBuilder
-
hasMaintenanceScheduledStartTime
public boolean hasMaintenanceScheduledStartTime()Output only. The time when the maintenance on the resource was scheduled to start.
.google.protobuf.Timestamp maintenance_scheduled_start_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasMaintenanceScheduledStartTimein interfaceResourceMaintenanceOrBuilder- Returns:
- Whether the maintenanceScheduledStartTime field is set.
-
getMaintenanceScheduledStartTime
public com.google.protobuf.Timestamp getMaintenanceScheduledStartTime()Output only. The time when the maintenance on the resource was scheduled to start.
.google.protobuf.Timestamp maintenance_scheduled_start_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceScheduledStartTimein interfaceResourceMaintenanceOrBuilder- Returns:
- The maintenanceScheduledStartTime.
-
getMaintenanceScheduledStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getMaintenanceScheduledStartTimeOrBuilder()Output only. The time when the maintenance on the resource was scheduled to start.
.google.protobuf.Timestamp maintenance_scheduled_start_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceScheduledStartTimeOrBuilderin interfaceResourceMaintenanceOrBuilder
-
hasMaintenanceScheduledEndTime
public boolean hasMaintenanceScheduledEndTime()Output only. The time when the maintenance on the resource was scheduled to end.
.google.protobuf.Timestamp maintenance_scheduled_end_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasMaintenanceScheduledEndTimein interfaceResourceMaintenanceOrBuilder- Returns:
- Whether the maintenanceScheduledEndTime field is set.
-
getMaintenanceScheduledEndTime
public com.google.protobuf.Timestamp getMaintenanceScheduledEndTime()Output only. The time when the maintenance on the resource was scheduled to end.
.google.protobuf.Timestamp maintenance_scheduled_end_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceScheduledEndTimein interfaceResourceMaintenanceOrBuilder- Returns:
- The maintenanceScheduledEndTime.
-
getMaintenanceScheduledEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getMaintenanceScheduledEndTimeOrBuilder()Output only. The time when the maintenance on the resource was scheduled to end.
.google.protobuf.Timestamp maintenance_scheduled_end_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaintenanceScheduledEndTimeOrBuilderin interfaceResourceMaintenanceOrBuilder
-
getUserControllable
public boolean getUserControllable()Output only. Indicates whether the user has some control over that maintenance, either proactively before maintenance was scheduled with maintenance policy or with reactive controls after it was scheduled (see controls field)
bool user_controllable = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUserControllablein interfaceResourceMaintenanceOrBuilder- Returns:
- The userControllable.
-
getControlsList
Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getControlsListin interfaceResourceMaintenanceOrBuilder
-
getControlsOrBuilderList
Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getControlsOrBuilderListin interfaceResourceMaintenanceOrBuilder
-
getControlsCount
public int getControlsCount()Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getControlsCountin interfaceResourceMaintenanceOrBuilder
-
getControls
Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getControlsin interfaceResourceMaintenanceOrBuilder
-
getControlsOrBuilder
Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getControlsOrBuilderin interfaceResourceMaintenanceOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:ResourceMaintenanceOrBuilderOptional. 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 interfaceResourceMaintenanceOrBuilder
-
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 interfaceResourceMaintenanceOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceResourceMaintenanceOrBuilder
-
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 interfaceResourceMaintenanceOrBuilder
-
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 interfaceResourceMaintenanceOrBuilder
-
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 interfaceResourceMaintenanceOrBuilder
-
getAnnotationsCount
public int getAnnotationsCount()Description copied from interface:ResourceMaintenanceOrBuilderOptional. 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 interfaceResourceMaintenanceOrBuilder
-
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 interfaceResourceMaintenanceOrBuilder
-
getAnnotations
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceResourceMaintenanceOrBuilder
-
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 interfaceResourceMaintenanceOrBuilder
-
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 interfaceResourceMaintenanceOrBuilder
-
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 interfaceResourceMaintenanceOrBuilder
-
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 interfaceResourceMaintenanceOrBuilder- 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 interfaceResourceMaintenanceOrBuilder- 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 interfaceResourceMaintenanceOrBuilder- 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 interfaceResourceMaintenanceOrBuilder- Returns:
- The bytes for etag.
-
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 ResourceMaintenance parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResourceMaintenance parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResourceMaintenance parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResourceMaintenance parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResourceMaintenance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResourceMaintenance parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ResourceMaintenance parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ResourceMaintenance parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ResourceMaintenance parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ResourceMaintenance 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 ResourceMaintenance.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
-