Class Cluster.MaintenanceEvent.Builder (0.38.0)

public static final class Cluster.MaintenanceEvent.Builder extends GeneratedMessageV3.Builder<Cluster.MaintenanceEvent.Builder> implements Cluster.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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Cluster.MaintenanceEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Cluster.MaintenanceEvent.Builder
Overrides

build()

public Cluster.MaintenanceEvent build()
Returns
TypeDescription
Cluster.MaintenanceEvent

buildPartial()

public Cluster.MaintenanceEvent buildPartial()
Returns
TypeDescription
Cluster.MaintenanceEvent

clear()

public Cluster.MaintenanceEvent.Builder clear()
Returns
TypeDescription
Cluster.MaintenanceEvent.Builder
Overrides

clearCreateTime()

public Cluster.MaintenanceEvent.Builder clearCreateTime()

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

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

Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

clearEndTime()

public Cluster.MaintenanceEvent.Builder clearEndTime()

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
TypeDescription
Cluster.MaintenanceEvent.Builder

clearField(Descriptors.FieldDescriptor field)

public Cluster.MaintenanceEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Cluster.MaintenanceEvent.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Cluster.MaintenanceEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Cluster.MaintenanceEvent.Builder
Overrides

clearOperation()

public Cluster.MaintenanceEvent.Builder clearOperation()

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
TypeDescription
Cluster.MaintenanceEvent.Builder

This builder for chaining.

clearSchedule()

public Cluster.MaintenanceEvent.Builder clearSchedule()

Output only. The schedule of the maintenance event.

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

Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

This builder for chaining.

clearStartTime()

public Cluster.MaintenanceEvent.Builder clearStartTime()

Output only. The time when the maintenance event started.

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

Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

clearState()

public Cluster.MaintenanceEvent.Builder clearState()

Output only. The state of the maintenance event.

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

Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

This builder for chaining.

clearTargetVersion()

public Cluster.MaintenanceEvent.Builder clearTargetVersion()

Output only. The target version of the cluster.

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

Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

This builder for chaining.

clearType()

public Cluster.MaintenanceEvent.Builder clearType()

Output only. The type of the maintenance event.

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

Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

This builder for chaining.

clearUpdateTime()

public Cluster.MaintenanceEvent.Builder clearUpdateTime()

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

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

Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

clearUuid()

public Cluster.MaintenanceEvent.Builder clearUuid()

Output only. UUID of the maintenance event.

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

Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

This builder for chaining.

clone()

public Cluster.MaintenanceEvent.Builder clone()
Returns
TypeDescription
Cluster.MaintenanceEvent.Builder
Overrides

getCreateTime()

public Timestamp getCreateTime()

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

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

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

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

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

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

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

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

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Cluster.MaintenanceEvent getDefaultInstanceForType()
Returns
TypeDescription
Cluster.MaintenanceEvent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

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
TypeDescription
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

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
TypeDescription
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

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
TypeDescription
TimestampOrBuilder

getOperation()

public String getOperation()

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
TypeDescription
String

The operation.

getOperationBytes()

public ByteString getOperationBytes()

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
TypeDescription
ByteString

The bytes for operation.

getSchedule()

public Cluster.MaintenanceEvent.Schedule getSchedule()

Output only. The schedule of the maintenance event.

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

Returns
TypeDescription
Cluster.MaintenanceEvent.Schedule

The schedule.

getScheduleValue()

public int getScheduleValue()

Output only. The schedule of the maintenance event.

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

Returns
TypeDescription
int

The enum numeric value on the wire for schedule.

getStartTime()

public Timestamp getStartTime()

Output only. The time when the maintenance event started.

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

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Output only. The time when the maintenance event started.

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

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. The time when the maintenance event started.

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

Returns
TypeDescription
TimestampOrBuilder

getState()

public Cluster.MaintenanceEvent.State getState()

Output only. The state of the maintenance event.

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

Returns
TypeDescription
Cluster.MaintenanceEvent.State

The state.

getStateValue()

public int getStateValue()

Output only. The state of the maintenance event.

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

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getTargetVersion()

public String getTargetVersion()

Output only. The target version of the cluster.

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

Returns
TypeDescription
String

The targetVersion.

getTargetVersionBytes()

public ByteString getTargetVersionBytes()

Output only. The target version of the cluster.

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

Returns
TypeDescription
ByteString

The bytes for targetVersion.

getType()

public Cluster.MaintenanceEvent.Type getType()

Output only. The type of the maintenance event.

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

Returns
TypeDescription
Cluster.MaintenanceEvent.Type

The type.

getTypeValue()

public int getTypeValue()

Output only. The type of the maintenance event.

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

Returns
TypeDescription
int

The enum numeric value on the wire for type.

getUpdateTime()

public Timestamp getUpdateTime()

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

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

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

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

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

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

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

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

Returns
TypeDescription
TimestampOrBuilder

getUuid()

public String getUuid()

Output only. UUID of the maintenance event.

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

Returns
TypeDescription
String

The uuid.

getUuidBytes()

public ByteString getUuidBytes()

Output only. UUID of the maintenance event.

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

Returns
TypeDescription
ByteString

The bytes for uuid.

hasCreateTime()

public boolean hasCreateTime()

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

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

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasEndTime()

public boolean hasEndTime()

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
TypeDescription
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

Output only. The time when the maintenance event started.

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

Returns
TypeDescription
boolean

Whether the startTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

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

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

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public Cluster.MaintenanceEvent.Builder mergeCreateTime(Timestamp value)

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

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

mergeEndTime(Timestamp value)

public Cluster.MaintenanceEvent.Builder mergeEndTime(Timestamp value)

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];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

mergeFrom(Cluster.MaintenanceEvent other)

public Cluster.MaintenanceEvent.Builder mergeFrom(Cluster.MaintenanceEvent other)
Parameter
NameDescription
otherCluster.MaintenanceEvent
Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Cluster.MaintenanceEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Cluster.MaintenanceEvent.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Cluster.MaintenanceEvent.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Cluster.MaintenanceEvent.Builder
Overrides

mergeStartTime(Timestamp value)

public Cluster.MaintenanceEvent.Builder mergeStartTime(Timestamp value)

Output only. The time when the maintenance event started.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Cluster.MaintenanceEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Cluster.MaintenanceEvent.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Cluster.MaintenanceEvent.Builder mergeUpdateTime(Timestamp value)

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

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

setCreateTime(Timestamp value)

public Cluster.MaintenanceEvent.Builder setCreateTime(Timestamp value)

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

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Cluster.MaintenanceEvent.Builder setCreateTime(Timestamp.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

setEndTime(Timestamp value)

public Cluster.MaintenanceEvent.Builder setEndTime(Timestamp value)

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];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

setEndTime(Timestamp.Builder builderForValue)

public Cluster.MaintenanceEvent.Builder setEndTime(Timestamp.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Cluster.MaintenanceEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Cluster.MaintenanceEvent.Builder
Overrides

setOperation(String value)

public Cluster.MaintenanceEvent.Builder setOperation(String value)

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];

Parameter
NameDescription
valueString

The operation to set.

Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

This builder for chaining.

setOperationBytes(ByteString value)

public Cluster.MaintenanceEvent.Builder setOperationBytes(ByteString value)

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];

Parameter
NameDescription
valueByteString

The bytes for operation to set.

Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Cluster.MaintenanceEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Cluster.MaintenanceEvent.Builder
Overrides

setSchedule(Cluster.MaintenanceEvent.Schedule value)

public Cluster.MaintenanceEvent.Builder setSchedule(Cluster.MaintenanceEvent.Schedule value)

Output only. The schedule of the maintenance event.

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

Parameter
NameDescription
valueCluster.MaintenanceEvent.Schedule

The schedule to set.

Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

This builder for chaining.

setScheduleValue(int value)

public Cluster.MaintenanceEvent.Builder setScheduleValue(int value)

Output only. The schedule of the maintenance event.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for schedule to set.

Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

This builder for chaining.

setStartTime(Timestamp value)

public Cluster.MaintenanceEvent.Builder setStartTime(Timestamp value)

Output only. The time when the maintenance event started.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

setStartTime(Timestamp.Builder builderForValue)

public Cluster.MaintenanceEvent.Builder setStartTime(Timestamp.Builder builderForValue)

Output only. The time when the maintenance event started.

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

setState(Cluster.MaintenanceEvent.State value)

public Cluster.MaintenanceEvent.Builder setState(Cluster.MaintenanceEvent.State value)

Output only. The state of the maintenance event.

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

Parameter
NameDescription
valueCluster.MaintenanceEvent.State

The state to set.

Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

This builder for chaining.

setStateValue(int value)

public Cluster.MaintenanceEvent.Builder setStateValue(int value)

Output only. The state of the maintenance event.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

This builder for chaining.

setTargetVersion(String value)

public Cluster.MaintenanceEvent.Builder setTargetVersion(String value)

Output only. The target version of the cluster.

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

Parameter
NameDescription
valueString

The targetVersion to set.

Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

This builder for chaining.

setTargetVersionBytes(ByteString value)

public Cluster.MaintenanceEvent.Builder setTargetVersionBytes(ByteString value)

Output only. The target version of the cluster.

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

Parameter
NameDescription
valueByteString

The bytes for targetVersion to set.

Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

This builder for chaining.

setType(Cluster.MaintenanceEvent.Type value)

public Cluster.MaintenanceEvent.Builder setType(Cluster.MaintenanceEvent.Type value)

Output only. The type of the maintenance event.

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

Parameter
NameDescription
valueCluster.MaintenanceEvent.Type

The type to set.

Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

This builder for chaining.

setTypeValue(int value)

public Cluster.MaintenanceEvent.Builder setTypeValue(int value)

Output only. The type of the maintenance event.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for type to set.

Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Cluster.MaintenanceEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Cluster.MaintenanceEvent.Builder
Overrides

setUpdateTime(Timestamp value)

public Cluster.MaintenanceEvent.Builder setUpdateTime(Timestamp value)

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

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Cluster.MaintenanceEvent.Builder setUpdateTime(Timestamp.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

setUuid(String value)

public Cluster.MaintenanceEvent.Builder setUuid(String value)

Output only. UUID of the maintenance event.

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

Parameter
NameDescription
valueString

The uuid to set.

Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

This builder for chaining.

setUuidBytes(ByteString value)

public Cluster.MaintenanceEvent.Builder setUuidBytes(ByteString value)

Output only. UUID of the maintenance event.

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

Parameter
NameDescription
valueByteString

The bytes for uuid to set.

Returns
TypeDescription
Cluster.MaintenanceEvent.Builder

This builder for chaining.