- 0.50.0 (latest)
- 0.49.0
- 0.48.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Cluster.MaintenanceEvent.BuilderImplements
Cluster.MaintenanceEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Cluster.MaintenanceEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Cluster.MaintenanceEvent.Builder |
build()
public Cluster.MaintenanceEvent build()
Returns | |
---|---|
Type | Description |
Cluster.MaintenanceEvent |
buildPartial()
public Cluster.MaintenanceEvent buildPartial()
Returns | |
---|---|
Type | Description |
Cluster.MaintenanceEvent |
clear()
public Cluster.MaintenanceEvent.Builder clear()
Returns | |
---|---|
Type | Description |
Cluster.MaintenanceEvent.Builder |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Cluster.MaintenanceEvent.Builder |
clearField(Descriptors.FieldDescriptor field)
public Cluster.MaintenanceEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Cluster.MaintenanceEvent.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Cluster.MaintenanceEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Cluster.MaintenanceEvent.Builder |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Cluster.MaintenanceEvent.Builder |
This builder for chaining. |
clone()
public Cluster.MaintenanceEvent.Builder clone()
Returns | |
---|---|
Type | Description |
Cluster.MaintenanceEvent.Builder |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Cluster.MaintenanceEvent getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Cluster.MaintenanceEvent |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
TimestampOrBuilder |
getUuid()
public String getUuid()
Output only. UUID of the maintenance event.
string uuid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The uuid. |
getUuidBytes()
public ByteString getUuidBytes()
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()
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Cluster.MaintenanceEvent.Builder |
mergeFrom(Cluster.MaintenanceEvent other)
public Cluster.MaintenanceEvent.Builder mergeFrom(Cluster.MaintenanceEvent other)
Parameter | |
---|---|
Name | Description |
other |
Cluster.MaintenanceEvent |
Returns | |
---|---|
Type | Description |
Cluster.MaintenanceEvent.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Cluster.MaintenanceEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Cluster.MaintenanceEvent.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Cluster.MaintenanceEvent.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Cluster.MaintenanceEvent.Builder |
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 | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Cluster.MaintenanceEvent.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.MaintenanceEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Cluster.MaintenanceEvent.Builder |
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 | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Cluster.MaintenanceEvent.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Cluster.MaintenanceEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Cluster.MaintenanceEvent.Builder |
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 | |
---|---|
Name | Description |
value |
String The operation to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for operation to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Cluster.MaintenanceEvent.Builder |
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 | |
---|---|
Name | Description |
value |
Cluster.MaintenanceEvent.Schedule The schedule to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for schedule to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
Cluster.MaintenanceEvent.State The state to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
String The targetVersion to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for targetVersion to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
Cluster.MaintenanceEvent.Type The type to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for type to set. |
Returns | |
---|---|
Type | Description |
Cluster.MaintenanceEvent.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.MaintenanceEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Cluster.MaintenanceEvent.Builder |
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 | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
String The uuid to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for uuid to set. |
Returns | |
---|---|
Type | Description |
Cluster.MaintenanceEvent.Builder |
This builder for chaining. |