Interface Cluster.MaintenanceEventOrBuilder (0.38.0)

publicstaticinterface Cluster.MaintenanceEventOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

publicabstractTimestampgetCreateTime()

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()

publicabstractTimestampOrBuildergetCreateTimeOrBuilder()

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

getEndTime()

publicabstractTimestampgetEndTime()

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()

publicabstractTimestampOrBuildergetEndTimeOrBuilder()

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()

publicabstractStringgetOperation()

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()

publicabstractByteStringgetOperationBytes()

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.

getSchedule()

publicabstractCluster.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()

publicabstractintgetScheduleValue()

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.

getStartTime()

publicabstractTimestampgetStartTime()

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()

publicabstractTimestampOrBuildergetStartTimeOrBuilder()

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()

publicabstractCluster.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()

publicabstractintgetStateValue()

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()

publicabstractStringgetTargetVersion()

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()

publicabstractByteStringgetTargetVersionBytes()

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()

publicabstractCluster.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()

publicabstractintgetTypeValue()

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()

publicabstractTimestampgetUpdateTime()

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()

publicabstractTimestampOrBuildergetUpdateTimeOrBuilder()

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()

publicabstractStringgetUuid()

Output only. UUID of the maintenance event.

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

Returns
Type Description
String

The uuid.

getUuidBytes()

publicabstractByteStringgetUuidBytes()

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()

publicabstractbooleanhasCreateTime()

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()

publicabstractbooleanhasEndTime()

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()

publicabstractbooleanhasStartTime()

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()

publicabstractbooleanhasUpdateTime()

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.

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.