public static final class UpgradeInfoEvent.Builder extends GeneratedMessageV3.Builder<UpgradeInfoEvent.Builder> implements UpgradeInfoEventOrBuilderUpgradeInfoEvent is a notification sent to customers about the upgrade information of a resource.
Protobuf type google.container.v1beta1.UpgradeInfoEvent
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpgradeInfoEvent.BuilderImplements
UpgradeInfoEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpgradeInfoEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
build()
public UpgradeInfoEvent build()| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent |
|
buildPartial()
public UpgradeInfoEvent buildPartial()| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent |
|
clear()
public UpgradeInfoEvent.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
clearCurrentVersion()
public UpgradeInfoEvent.Builder clearCurrentVersion()The current version before the upgrade.
string current_version = 5;
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
This builder for chaining. |
clearDescription()
public UpgradeInfoEvent.Builder clearDescription()A brief description of the event.
string description = 11;
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
This builder for chaining. |
clearEndTime()
public UpgradeInfoEvent.Builder clearEndTime()The time when the operation ended.
.google.protobuf.Timestamp end_time = 4;
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
clearEventType()
public UpgradeInfoEvent.Builder clearEventType()The type of the event.
.google.container.v1beta1.UpgradeInfoEvent.EventType event_type = 12;
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
This builder for chaining. |
clearExtendedSupportEndTime()
public UpgradeInfoEvent.Builder clearExtendedSupportEndTime()The end of extended support timestamp.
optional .google.protobuf.Timestamp extended_support_end_time = 10;
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public UpgradeInfoEvent.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public UpgradeInfoEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
clearOperation()
public UpgradeInfoEvent.Builder clearOperation()The operation associated with this upgrade.
string operation = 2;
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
This builder for chaining. |
clearResource()
public UpgradeInfoEvent.Builder clearResource()Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.
string resource = 7;
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
This builder for chaining. |
clearResourceType()
public UpgradeInfoEvent.Builder clearResourceType()The resource type associated with the upgrade.
.google.container.v1beta1.UpgradeResourceType resource_type = 1;
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
This builder for chaining. |
clearStandardSupportEndTime()
public UpgradeInfoEvent.Builder clearStandardSupportEndTime()The end of standard support timestamp.
optional .google.protobuf.Timestamp standard_support_end_time = 9;
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
clearStartTime()
public UpgradeInfoEvent.Builder clearStartTime()The time when the operation was started.
.google.protobuf.Timestamp start_time = 3;
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
clearState()
public UpgradeInfoEvent.Builder clearState()Output only. The state of the upgrade.
.google.container.v1beta1.UpgradeInfoEvent.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
This builder for chaining. |
clearTargetVersion()
public UpgradeInfoEvent.Builder clearTargetVersion()The target version for the upgrade.
string target_version = 6;
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
This builder for chaining. |
clone()
public UpgradeInfoEvent.Builder clone()| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
getCurrentVersion()
public String getCurrentVersion()The current version before the upgrade.
string current_version = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The currentVersion. |
getCurrentVersionBytes()
public ByteString getCurrentVersionBytes()The current version before the upgrade.
string current_version = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for currentVersion. |
getDefaultInstanceForType()
public UpgradeInfoEvent getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent |
|
getDescription()
public String getDescription()A brief description of the event.
string description = 11;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()A brief description of the event.
string description = 11;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndTime()
public Timestamp getEndTime()The time when the operation ended.
.google.protobuf.Timestamp end_time = 4;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()The time when the operation ended.
.google.protobuf.Timestamp end_time = 4;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()The time when the operation ended.
.google.protobuf.Timestamp end_time = 4;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getEventType()
public UpgradeInfoEvent.EventType getEventType()The type of the event.
.google.container.v1beta1.UpgradeInfoEvent.EventType event_type = 12;
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.EventType |
The eventType. |
getEventTypeValue()
public int getEventTypeValue()The type of the event.
.google.container.v1beta1.UpgradeInfoEvent.EventType event_type = 12;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for eventType. |
getExtendedSupportEndTime()
public Timestamp getExtendedSupportEndTime()The end of extended support timestamp.
optional .google.protobuf.Timestamp extended_support_end_time = 10;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The extendedSupportEndTime. |
getExtendedSupportEndTimeBuilder()
public Timestamp.Builder getExtendedSupportEndTimeBuilder()The end of extended support timestamp.
optional .google.protobuf.Timestamp extended_support_end_time = 10;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getExtendedSupportEndTimeOrBuilder()
public TimestampOrBuilder getExtendedSupportEndTimeOrBuilder()The end of extended support timestamp.
optional .google.protobuf.Timestamp extended_support_end_time = 10;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getOperation()
public String getOperation()The operation associated with this upgrade.
string operation = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The operation. |
getOperationBytes()
public ByteString getOperationBytes()The operation associated with this upgrade.
string operation = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for operation. |
getResource()
public String getResource()Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.
string resource = 7;
| Returns | |
|---|---|
| Type | Description |
String |
The resource. |
getResourceBytes()
public ByteString getResourceBytes()Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.
string resource = 7;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for resource. |
getResourceType()
public UpgradeResourceType getResourceType()The resource type associated with the upgrade.
.google.container.v1beta1.UpgradeResourceType resource_type = 1;
| Returns | |
|---|---|
| Type | Description |
UpgradeResourceType |
The resourceType. |
getResourceTypeValue()
public int getResourceTypeValue()The resource type associated with the upgrade.
.google.container.v1beta1.UpgradeResourceType resource_type = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for resourceType. |
getStandardSupportEndTime()
public Timestamp getStandardSupportEndTime()The end of standard support timestamp.
optional .google.protobuf.Timestamp standard_support_end_time = 9;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The standardSupportEndTime. |
getStandardSupportEndTimeBuilder()
public Timestamp.Builder getStandardSupportEndTimeBuilder()The end of standard support timestamp.
optional .google.protobuf.Timestamp standard_support_end_time = 9;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getStandardSupportEndTimeOrBuilder()
public TimestampOrBuilder getStandardSupportEndTimeOrBuilder()The end of standard support timestamp.
optional .google.protobuf.Timestamp standard_support_end_time = 9;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getStartTime()
public Timestamp getStartTime()The time when the operation was started.
.google.protobuf.Timestamp start_time = 3;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()The time when the operation was started.
.google.protobuf.Timestamp start_time = 3;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()The time when the operation was started.
.google.protobuf.Timestamp start_time = 3;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getState()
public UpgradeInfoEvent.State getState()Output only. The state of the upgrade.
.google.container.v1beta1.UpgradeInfoEvent.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.State |
The state. |
getStateValue()
public int getStateValue()Output only. The state of the upgrade.
.google.container.v1beta1.UpgradeInfoEvent.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getTargetVersion()
public String getTargetVersion()The target version for the upgrade.
string target_version = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The targetVersion. |
getTargetVersionBytes()
public ByteString getTargetVersionBytes()The target version for the upgrade.
string target_version = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for targetVersion. |
hasEndTime()
public boolean hasEndTime()The time when the operation ended.
.google.protobuf.Timestamp end_time = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the endTime field is set. |
hasExtendedSupportEndTime()
public boolean hasExtendedSupportEndTime()The end of extended support timestamp.
optional .google.protobuf.Timestamp extended_support_end_time = 10;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the extendedSupportEndTime field is set. |
hasStandardSupportEndTime()
public boolean hasStandardSupportEndTime()The end of standard support timestamp.
optional .google.protobuf.Timestamp standard_support_end_time = 9;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the standardSupportEndTime field is set. |
hasStartTime()
public boolean hasStartTime()The time when the operation was started.
.google.protobuf.Timestamp start_time = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEndTime(Timestamp value)
public UpgradeInfoEvent.Builder mergeEndTime(Timestamp value)The time when the operation ended.
.google.protobuf.Timestamp end_time = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
mergeExtendedSupportEndTime(Timestamp value)
public UpgradeInfoEvent.Builder mergeExtendedSupportEndTime(Timestamp value)The end of extended support timestamp.
optional .google.protobuf.Timestamp extended_support_end_time = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
mergeFrom(UpgradeInfoEvent other)
public UpgradeInfoEvent.Builder mergeFrom(UpgradeInfoEvent other)| Parameter | |
|---|---|
| Name | Description |
other |
UpgradeInfoEvent |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpgradeInfoEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpgradeInfoEvent.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
mergeStandardSupportEndTime(Timestamp value)
public UpgradeInfoEvent.Builder mergeStandardSupportEndTime(Timestamp value)The end of standard support timestamp.
optional .google.protobuf.Timestamp standard_support_end_time = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
mergeStartTime(Timestamp value)
public UpgradeInfoEvent.Builder mergeStartTime(Timestamp value)The time when the operation was started.
.google.protobuf.Timestamp start_time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpgradeInfoEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
setCurrentVersion(String value)
public UpgradeInfoEvent.Builder setCurrentVersion(String value)The current version before the upgrade.
string current_version = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe currentVersion to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
This builder for chaining. |
setCurrentVersionBytes(ByteString value)
public UpgradeInfoEvent.Builder setCurrentVersionBytes(ByteString value)The current version before the upgrade.
string current_version = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for currentVersion to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
This builder for chaining. |
setDescription(String value)
public UpgradeInfoEvent.Builder setDescription(String value)A brief description of the event.
string description = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public UpgradeInfoEvent.Builder setDescriptionBytes(ByteString value)A brief description of the event.
string description = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
This builder for chaining. |
setEndTime(Timestamp value)
public UpgradeInfoEvent.Builder setEndTime(Timestamp value)The time when the operation ended.
.google.protobuf.Timestamp end_time = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
setEndTime(Timestamp.Builder builderForValue)
public UpgradeInfoEvent.Builder setEndTime(Timestamp.Builder builderForValue)The time when the operation ended.
.google.protobuf.Timestamp end_time = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
setEventType(UpgradeInfoEvent.EventType value)
public UpgradeInfoEvent.Builder setEventType(UpgradeInfoEvent.EventType value)The type of the event.
.google.container.v1beta1.UpgradeInfoEvent.EventType event_type = 12;
| Parameter | |
|---|---|
| Name | Description |
value |
UpgradeInfoEvent.EventTypeThe eventType to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
This builder for chaining. |
setEventTypeValue(int value)
public UpgradeInfoEvent.Builder setEventTypeValue(int value)The type of the event.
.google.container.v1beta1.UpgradeInfoEvent.EventType event_type = 12;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for eventType to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
This builder for chaining. |
setExtendedSupportEndTime(Timestamp value)
public UpgradeInfoEvent.Builder setExtendedSupportEndTime(Timestamp value)The end of extended support timestamp.
optional .google.protobuf.Timestamp extended_support_end_time = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
setExtendedSupportEndTime(Timestamp.Builder builderForValue)
public UpgradeInfoEvent.Builder setExtendedSupportEndTime(Timestamp.Builder builderForValue)The end of extended support timestamp.
optional .google.protobuf.Timestamp extended_support_end_time = 10;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public UpgradeInfoEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
setOperation(String value)
public UpgradeInfoEvent.Builder setOperation(String value)The operation associated with this upgrade.
string operation = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe operation to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
This builder for chaining. |
setOperationBytes(ByteString value)
public UpgradeInfoEvent.Builder setOperationBytes(ByteString value)The operation associated with this upgrade.
string operation = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for operation to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpgradeInfoEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
setResource(String value)
public UpgradeInfoEvent.Builder setResource(String value)Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.
string resource = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe resource to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
This builder for chaining. |
setResourceBytes(ByteString value)
public UpgradeInfoEvent.Builder setResourceBytes(ByteString value)Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.
string resource = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for resource to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
This builder for chaining. |
setResourceType(UpgradeResourceType value)
public UpgradeInfoEvent.Builder setResourceType(UpgradeResourceType value)The resource type associated with the upgrade.
.google.container.v1beta1.UpgradeResourceType resource_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
UpgradeResourceTypeThe resourceType to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
This builder for chaining. |
setResourceTypeValue(int value)
public UpgradeInfoEvent.Builder setResourceTypeValue(int value)The resource type associated with the upgrade.
.google.container.v1beta1.UpgradeResourceType resource_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for resourceType to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
This builder for chaining. |
setStandardSupportEndTime(Timestamp value)
public UpgradeInfoEvent.Builder setStandardSupportEndTime(Timestamp value)The end of standard support timestamp.
optional .google.protobuf.Timestamp standard_support_end_time = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
setStandardSupportEndTime(Timestamp.Builder builderForValue)
public UpgradeInfoEvent.Builder setStandardSupportEndTime(Timestamp.Builder builderForValue)The end of standard support timestamp.
optional .google.protobuf.Timestamp standard_support_end_time = 9;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
setStartTime(Timestamp value)
public UpgradeInfoEvent.Builder setStartTime(Timestamp value)The time when the operation was started.
.google.protobuf.Timestamp start_time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
setStartTime(Timestamp.Builder builderForValue)
public UpgradeInfoEvent.Builder setStartTime(Timestamp.Builder builderForValue)The time when the operation was started.
.google.protobuf.Timestamp start_time = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|
setState(UpgradeInfoEvent.State value)
public UpgradeInfoEvent.Builder setState(UpgradeInfoEvent.State value)Output only. The state of the upgrade.
.google.container.v1beta1.UpgradeInfoEvent.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
UpgradeInfoEvent.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
This builder for chaining. |
setStateValue(int value)
public UpgradeInfoEvent.Builder setStateValue(int value)Output only. The state of the upgrade.
.google.container.v1beta1.UpgradeInfoEvent.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
This builder for chaining. |
setTargetVersion(String value)
public UpgradeInfoEvent.Builder setTargetVersion(String value)The target version for the upgrade.
string target_version = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe targetVersion to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
This builder for chaining. |
setTargetVersionBytes(ByteString value)
public UpgradeInfoEvent.Builder setTargetVersionBytes(ByteString value)The target version for the upgrade.
string target_version = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for targetVersion to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpgradeInfoEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
UpgradeInfoEvent.Builder |
|