Class Cluster.MaintenanceEvent (0.50.0)

publicstaticfinalclass Cluster.MaintenanceEventextendsGeneratedMessageV3implementsCluster.MaintenanceEventOrBuilder

A Maintenance Event is an operation that could cause temporary disruptions to the cluster workloads, including Google-driven or user-initiated cluster upgrades, user-initiated cluster configuration changes that require restarting nodes, etc.

Protobuf type google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

CREATE_TIME_FIELD_NUMBER

publicstaticfinalintCREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

END_TIME_FIELD_NUMBER

publicstaticfinalintEND_TIME_FIELD_NUMBER
Field Value
Type Description
int

OPERATION_FIELD_NUMBER

publicstaticfinalintOPERATION_FIELD_NUMBER
Field Value
Type Description
int

SCHEDULE_FIELD_NUMBER

publicstaticfinalintSCHEDULE_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

publicstaticfinalintSTART_TIME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

publicstaticfinalintSTATE_FIELD_NUMBER
Field Value
Type Description
int

TARGET_VERSION_FIELD_NUMBER

publicstaticfinalintTARGET_VERSION_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

publicstaticfinalintTYPE_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

publicstaticfinalintUPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

UUID_FIELD_NUMBER

publicstaticfinalintUUID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticCluster.MaintenanceEventgetDefaultInstance()
Returns
Type Description
Cluster.MaintenanceEvent

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticCluster.MaintenanceEvent.BuildernewBuilder()
Returns
Type Description
Cluster.MaintenanceEvent.Builder

newBuilder(Cluster.MaintenanceEvent prototype)

publicstaticCluster.MaintenanceEvent.BuildernewBuilder(Cluster.MaintenanceEventprototype)
Parameter
Name Description
prototype Cluster.MaintenanceEvent
Returns
Type Description
Cluster.MaintenanceEvent.Builder

parseDelimitedFrom(InputStream input)

publicstaticCluster.MaintenanceEventparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Cluster.MaintenanceEvent
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticCluster.MaintenanceEventparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.MaintenanceEvent
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticCluster.MaintenanceEventparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
Cluster.MaintenanceEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticCluster.MaintenanceEventparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.MaintenanceEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticCluster.MaintenanceEventparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
Cluster.MaintenanceEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticCluster.MaintenanceEventparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.MaintenanceEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticCluster.MaintenanceEventparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Cluster.MaintenanceEvent
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticCluster.MaintenanceEventparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.MaintenanceEvent
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticCluster.MaintenanceEventparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Cluster.MaintenanceEvent
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticCluster.MaintenanceEventparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.MaintenanceEvent
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticCluster.MaintenanceEventparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Cluster.MaintenanceEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticCluster.MaintenanceEventparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.MaintenanceEvent
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<Cluster.MaintenanceEvent>parser()
Returns
Type Description
Parser<MaintenanceEvent>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCreateTime()

publicTimestampgetCreateTime()

Output only. The time when the maintenance event request was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

publicTimestampOrBuildergetCreateTimeOrBuilder()

Output only. The time when the maintenance event request was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

publicCluster.MaintenanceEventgetDefaultInstanceForType()
Returns
Type Description
Cluster.MaintenanceEvent

getEndTime()

publicTimestampgetEndTime()

Output only. The time when the maintenance event ended, either successfully or not. If the maintenance event is split into multiple maintenance windows, end_time is only updated when the whole flow ends.

.google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

publicTimestampOrBuildergetEndTimeOrBuilder()

Output only. The time when the maintenance event ended, either successfully or not. If the maintenance event is split into multiple maintenance windows, end_time is only updated when the whole flow ends.

.google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getOperation()

publicStringgetOperation()

Output only. The operation for running the maintenance event. Specified in the format projects/*/locations/*/operations/*. If the maintenance event is split into multiple operations (e.g. due to maintenance windows), the latest one is recorded.

string operation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The operation.

getOperationBytes()

publicByteStringgetOperationBytes()

Output only. The operation for running the maintenance event. Specified in the format projects/*/locations/*/operations/*. If the maintenance event is split into multiple operations (e.g. due to maintenance windows), the latest one is recorded.

string operation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for operation.

getParserForType()

publicParser<Cluster.MaintenanceEvent>getParserForType()
Returns
Type Description
Parser<MaintenanceEvent>
Overrides

getSchedule()

publicCluster.MaintenanceEvent.SchedulegetSchedule()

Output only. The schedule of the maintenance event.

.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule schedule = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Cluster.MaintenanceEvent.Schedule

The schedule.

getScheduleValue()

publicintgetScheduleValue()

Output only. The schedule of the maintenance event.

.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule schedule = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for schedule.

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

publicTimestampgetStartTime()

Output only. The time when the maintenance event started.

.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

publicTimestampOrBuildergetStartTimeOrBuilder()

Output only. The time when the maintenance event started.

.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getState()

publicCluster.MaintenanceEvent.StategetState()

Output only. The state of the maintenance event.

.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Cluster.MaintenanceEvent.State

The state.

getStateValue()

publicintgetStateValue()

Output only. The state of the maintenance event.

.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getTargetVersion()

publicStringgetTargetVersion()

Output only. The target version of the cluster.

string target_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The targetVersion.

getTargetVersionBytes()

publicByteStringgetTargetVersionBytes()

Output only. The target version of the cluster.

string target_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for targetVersion.

getType()

publicCluster.MaintenanceEvent.TypegetType()

Output only. The type of the maintenance event.

.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Cluster.MaintenanceEvent.Type

The type.

getTypeValue()

publicintgetTypeValue()

Output only. The type of the maintenance event.

.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for type.

getUpdateTime()

publicTimestampgetUpdateTime()

Output only. The time when the maintenance event message was updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

publicTimestampOrBuildergetUpdateTimeOrBuilder()

Output only. The time when the maintenance event message was updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getUuid()

publicStringgetUuid()

Output only. UUID of the maintenance event.

string uuid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The uuid.

getUuidBytes()

publicByteStringgetUuidBytes()

Output only. UUID of the maintenance event.

string uuid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for uuid.

hasCreateTime()

publicbooleanhasCreateTime()

Output only. The time when the maintenance event request was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasEndTime()

publicbooleanhasEndTime()

Output only. The time when the maintenance event ended, either successfully or not. If the maintenance event is split into multiple maintenance windows, end_time is only updated when the whole flow ends.

.google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

publicbooleanhasStartTime()

Output only. The time when the maintenance event started.

.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the startTime field is set.

hasUpdateTime()

publicbooleanhasUpdateTime()

Output only. The time when the maintenance event message was updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicCluster.MaintenanceEvent.BuildernewBuilderForType()
Returns
Type Description
Cluster.MaintenanceEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedCluster.MaintenanceEvent.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Cluster.MaintenanceEvent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicCluster.MaintenanceEvent.BuildertoBuilder()
Returns
Type Description
Cluster.MaintenanceEvent.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.