public interface ResourceMaintenanceOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsAnnotations(String key)
public abstract boolean containsAnnotations(String key)
Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects.
More info: https://kubernetes.io/docs/user-guide/annotations
map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
containsLabels(String key)
public abstract boolean containsLabels(String key)
Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getAnnotations() (deprecated)
public abstract Map<String,String> getAnnotations()
Use #getAnnotationsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getAnnotationsCount()
public abstract 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];
Returns | |
---|---|
Type | Description |
int |
getAnnotationsMap()
public abstract Map<String,String> getAnnotationsMap()
Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects.
More info: https://kubernetes.io/docs/user-guide/annotations
map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Map<String,String> |
getAnnotationsOrDefault(String key, String defaultValue)
public abstract String getAnnotationsOrDefault(String key, String defaultValue)
Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects.
More info: https://kubernetes.io/docs/user-guide/annotations
map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getAnnotationsOrThrow(String key)
public abstract String getAnnotationsOrThrow(String key)
Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects.
More info: https://kubernetes.io/docs/user-guide/annotations
map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getControls(int index)
public abstract MaintenanceControl getControls(int index)
Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
MaintenanceControl |
getControlsCount()
public abstract int getControlsCount()
Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
getControlsList()
public abstract List<MaintenanceControl> getControlsList()
Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<MaintenanceControl> |
getControlsOrBuilder(int index)
public abstract MaintenanceControlOrBuilder getControlsOrBuilder(int index)
Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
MaintenanceControlOrBuilder |
getControlsOrBuilderList()
public abstract List<? extends MaintenanceControlOrBuilder> getControlsOrBuilderList()
Output only. The controls of the maintenance.
repeated .google.cloud.maintenance.api.v1beta.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.maintenance.api.v1beta.MaintenanceControlOrBuilder> |
getCreateTime()
public abstract Timestamp getCreateTime()
Output only. The create time of the resource maintenance.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The create time of the resource maintenance.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getEtag()
public abstract 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 | |
---|---|
Type | Description |
String |
The etag. |
getEtagBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString |
The bytes for etag. |
getLabels() (deprecated)
public abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public abstract 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];
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public abstract Map<String,String> getLabelsMap()
Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public abstract String getLabelsOrDefault(String key, String defaultValue)
Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)
Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getMaintenance()
public abstract ResourceMaintenance.Maintenance getMaintenance()
Output only. The details of the maintenance.
.google.cloud.maintenance.api.v1beta.ResourceMaintenance.Maintenance maintenance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ResourceMaintenance.Maintenance |
The maintenance. |
getMaintenanceCancelTime()
public abstract 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];
Returns | |
---|---|
Type | Description |
Timestamp |
The maintenanceCancelTime. |
getMaintenanceCancelTimeOrBuilder()
public abstract 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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getMaintenanceEndTime()
public abstract 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];
Returns | |
---|---|
Type | Description |
Timestamp |
The maintenanceEndTime. |
getMaintenanceEndTimeOrBuilder()
public abstract 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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getMaintenanceOrBuilder()
public abstract ResourceMaintenance.MaintenanceOrBuilder getMaintenanceOrBuilder()
Output only. The details of the maintenance.
.google.cloud.maintenance.api.v1beta.ResourceMaintenance.Maintenance maintenance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ResourceMaintenance.MaintenanceOrBuilder |
getMaintenanceScheduledEndTime()
public abstract 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];
Returns | |
---|---|
Type | Description |
Timestamp |
The maintenanceScheduledEndTime. |
getMaintenanceScheduledEndTimeOrBuilder()
public abstract 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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getMaintenanceScheduledStartTime()
public abstract 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];
Returns | |
---|---|
Type | Description |
Timestamp |
The maintenanceScheduledStartTime. |
getMaintenanceScheduledStartTimeOrBuilder()
public abstract 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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getMaintenanceStartTime()
public abstract 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];
Returns | |
---|---|
Type | Description |
Timestamp |
The maintenanceStartTime. |
getMaintenanceStartTimeOrBuilder()
public abstract 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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getName()
public abstract String 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];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract 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];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getResource()
public abstract ResourceMaintenance.Resource getResource()
Output only. The resource spec of the resource maintenance.
.google.cloud.maintenance.api.v1beta.ResourceMaintenance.Resource resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ResourceMaintenance.Resource |
The resource. |
getResourceOrBuilder()
public abstract ResourceMaintenance.ResourceOrBuilder getResourceOrBuilder()
Output only. The resource spec of the resource maintenance.
.google.cloud.maintenance.api.v1beta.ResourceMaintenance.Resource resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ResourceMaintenance.ResourceOrBuilder |
getState()
public abstract ResourceMaintenance.State getState()
Output only. The state of the resource maintenance.
.google.cloud.maintenance.api.v1beta.ResourceMaintenance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ResourceMaintenance.State |
The state. |
getStateValue()
public abstract int getStateValue()
Output only. The state of the resource maintenance.
.google.cloud.maintenance.api.v1beta.ResourceMaintenance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
getUid()
public abstract 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 | |
---|---|
Type | Description |
String |
The uid. |
getUidBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString |
The bytes for uid. |
getUpdateTime()
public abstract Timestamp getUpdateTime()
Output only. The update time of the resource maintenance.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The update time of the resource maintenance.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getUserControllable()
public abstract 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];
Returns | |
---|---|
Type | Description |
boolean |
The userControllable. |
hasCreateTime()
public abstract boolean hasCreateTime()
Output only. The create time of the resource maintenance.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasMaintenance()
public abstract boolean hasMaintenance()
Output only. The details of the maintenance.
.google.cloud.maintenance.api.v1beta.ResourceMaintenance.Maintenance maintenance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the maintenance field is set. |
hasMaintenanceCancelTime()
public abstract 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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the maintenanceCancelTime field is set. |
hasMaintenanceEndTime()
public abstract 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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the maintenanceEndTime field is set. |
hasMaintenanceScheduledEndTime()
public abstract 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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the maintenanceScheduledEndTime field is set. |
hasMaintenanceScheduledStartTime()
public abstract 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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the maintenanceScheduledStartTime field is set. |
hasMaintenanceStartTime()
public abstract 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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the maintenanceStartTime field is set. |
hasResource()
public abstract boolean hasResource()
Output only. The resource spec of the resource maintenance.
.google.cloud.maintenance.api.v1beta.ResourceMaintenance.Resource resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the resource field is set. |
hasUpdateTime()
public abstract boolean hasUpdateTime()
Output only. The update time of the resource maintenance.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |