Class ResourceMaintenance (0.2.0)

public final class ResourceMaintenance extends GeneratedMessageV3 implements ResourceMaintenanceOrBuilder

ResourceMaintenance is a resource that represents a maintenance operation on a resource.

Protobuf type google.cloud.maintenance.api.v1beta.ResourceMaintenance

Static Fields

ANNOTATIONS_FIELD_NUMBER

public static final int ANNOTATIONS_FIELD_NUMBER
Field Value
Type Description
int

CONTROLS_FIELD_NUMBER

public static final int CONTROLS_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

ETAG_FIELD_NUMBER

public static final int ETAG_FIELD_NUMBER
Field Value
Type Description
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
Type Description
int

MAINTENANCE_CANCEL_TIME_FIELD_NUMBER

public static final int MAINTENANCE_CANCEL_TIME_FIELD_NUMBER
Field Value
Type Description
int

MAINTENANCE_END_TIME_FIELD_NUMBER

public static final int MAINTENANCE_END_TIME_FIELD_NUMBER
Field Value
Type Description
int

MAINTENANCE_FIELD_NUMBER

public static final int MAINTENANCE_FIELD_NUMBER
Field Value
Type Description
int

MAINTENANCE_SCHEDULED_END_TIME_FIELD_NUMBER

public static final int MAINTENANCE_SCHEDULED_END_TIME_FIELD_NUMBER
Field Value
Type Description
int

MAINTENANCE_SCHEDULED_START_TIME_FIELD_NUMBER

public static final int MAINTENANCE_SCHEDULED_START_TIME_FIELD_NUMBER
Field Value
Type Description
int

MAINTENANCE_START_TIME_FIELD_NUMBER

public static final int MAINTENANCE_START_TIME_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

UID_FIELD_NUMBER

public static final int UID_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

USER_CONTROLLABLE_FIELD_NUMBER

public static final int USER_CONTROLLABLE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ResourceMaintenance getDefaultInstance()
Returns
Type Description
ResourceMaintenance

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ResourceMaintenance.Builder newBuilder()
Returns
Type Description
ResourceMaintenance.Builder

newBuilder(ResourceMaintenance prototype)

public static ResourceMaintenance.Builder newBuilder(ResourceMaintenance prototype)
Parameter
Name Description
prototype ResourceMaintenance
Returns
Type Description
ResourceMaintenance.Builder

parseDelimitedFrom(InputStream input)

public static ResourceMaintenance parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ResourceMaintenance
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourceMaintenance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceMaintenance
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ResourceMaintenance parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ResourceMaintenance
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ResourceMaintenance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceMaintenance
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ResourceMaintenance parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ResourceMaintenance
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ResourceMaintenance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceMaintenance
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ResourceMaintenance parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ResourceMaintenance
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourceMaintenance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceMaintenance
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ResourceMaintenance parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ResourceMaintenance
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourceMaintenance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceMaintenance
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ResourceMaintenance parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ResourceMaintenance
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ResourceMaintenance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceMaintenance
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ResourceMaintenance> parser()
Returns
Type Description
Parser<ResourceMaintenance>

Methods

containsAnnotations(String key)

public 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 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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAnnotations() (deprecated)

public Map<String,String> getAnnotations()

Use #getAnnotationsMap() instead.

Returns
Type Description
Map<String,String>

getAnnotationsCount()

public 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 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 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 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 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 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 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 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 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 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 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

getDefaultInstanceForType()

public ResourceMaintenance getDefaultInstanceForType()
Returns
Type Description
ResourceMaintenance

getEtag()

public 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 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 Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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.

getParserForType()

public Parser<ResourceMaintenance> getParserForType()
Returns
Type Description
Parser<ResourceMaintenance>
Overrides

getResource()

public 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 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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ResourceMaintenance.Builder newBuilderForType()
Returns
Type Description
ResourceMaintenance.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ResourceMaintenance.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ResourceMaintenance.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ResourceMaintenance.Builder toBuilder()
Returns
Type Description
ResourceMaintenance.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException