- 2.81.0 (latest)
 - 2.79.0
 - 2.78.0
 - 2.77.0
 - 2.76.0
 - 2.75.0
 - 2.73.0
 - 2.71.0
 - 2.70.0
 - 2.67.0
 - 2.66.0
 - 2.65.0
 - 2.63.0
 - 2.62.0
 - 2.61.0
 - 2.60.0
 - 2.59.0
 - 2.58.0
 - 2.57.0
 - 2.56.0
 - 2.55.0
 - 2.54.0
 - 2.52.0
 - 2.51.0
 - 2.50.0
 - 2.49.0
 - 2.48.0
 - 2.47.0
 - 2.46.0
 - 2.45.0
 - 2.44.0
 - 2.43.0
 - 2.42.0
 - 2.40.0
 - 2.39.0
 - 2.38.0
 - 2.37.0
 - 2.36.0
 - 2.35.0
 - 2.34.0
 - 2.33.0
 - 2.32.0
 - 2.31.0
 - 2.30.0
 - 2.27.0
 - 2.26.0
 - 2.25.0
 - 2.24.0
 - 2.23.0
 - 2.22.0
 - 2.21.0
 - 2.20.0
 - 2.19.0
 - 2.18.0
 - 2.17.0
 - 2.16.0
 - 2.15.0
 - 2.14.0
 - 2.13.0
 - 2.12.0
 - 2.11.0
 - 2.10.0
 - 2.9.0
 - 2.8.0
 - 2.7.0
 - 2.6.0
 - 2.5.2
 - 2.4.1
 - 2.3.8
 
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.v1.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 | 
        |
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.v1.UpgradeResourceType resource_type = 1;
| Returns | |
|---|---|
| Type | Description | 
UpgradeInfoEvent.Builder | 
        This builder for chaining.  | 
      
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.v1.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 | 
        |
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.v1.UpgradeResourceType resource_type = 1;
| Returns | |
|---|---|
| Type | Description | 
UpgradeResourceType | 
        The resourceType.  | 
      
getResourceTypeValue()
public int getResourceTypeValue()The resource type associated with the upgrade.
 .google.container.v1.UpgradeResourceType resource_type = 1;
| Returns | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire for resourceType.  | 
      
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.v1.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.v1.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.  | 
      
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 | 
        |
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 | 
        |
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 | 
        |
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.v1.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.v1.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.  | 
      
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.v1.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.v1.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 | 
        |