Package com.google.container.v1
Class UpgradeEvent.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpgradeEvent.Builder>
com.google.container.v1.UpgradeEvent.Builder
- All Implemented Interfaces:
UpgradeEventOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UpgradeEvent
public static final class UpgradeEvent.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UpgradeEvent.Builder>
implements UpgradeEventOrBuilder
UpgradeEvent is a notification sent to customers by the cluster server when a resource is upgrading.Protobuf type
google.container.v1.UpgradeEvent-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The current version before the upgrade.The operation associated with this upgrade.The time when the operation was started.Optional relative path to the resource.The resource type that is upgrading.The target version for the upgrade.The current version before the upgrade.com.google.protobuf.ByteStringThe current version before the upgrade.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe operation associated with this upgrade.com.google.protobuf.ByteStringThe operation associated with this upgrade.com.google.protobuf.TimestampThe time when the operation was started.com.google.protobuf.Timestamp.BuilderThe time when the operation was started.com.google.protobuf.TimestampOrBuilderThe time when the operation was started.Optional relative path to the resource.com.google.protobuf.ByteStringOptional relative path to the resource.The resource type that is upgrading.intThe resource type that is upgrading.The target version for the upgrade.com.google.protobuf.ByteStringThe target version for the upgrade.booleanThe time when the operation was started.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(UpgradeEvent other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeOperationStartTime(com.google.protobuf.Timestamp value) The time when the operation was started.setCurrentVersion(String value) The current version before the upgrade.setCurrentVersionBytes(com.google.protobuf.ByteString value) The current version before the upgrade.setOperation(String value) The operation associated with this upgrade.setOperationBytes(com.google.protobuf.ByteString value) The operation associated with this upgrade.setOperationStartTime(com.google.protobuf.Timestamp value) The time when the operation was started.setOperationStartTime(com.google.protobuf.Timestamp.Builder builderForValue) The time when the operation was started.setResource(String value) Optional relative path to the resource.setResourceBytes(com.google.protobuf.ByteString value) Optional relative path to the resource.The resource type that is upgrading.setResourceTypeValue(int value) The resource type that is upgrading.setTargetVersion(String value) The target version for the upgrade.setTargetVersionBytes(com.google.protobuf.ByteString value) The target version for the upgrade.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<UpgradeEvent.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<UpgradeEvent.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<UpgradeEvent.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpgradeEvent.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UpgradeEvent.Builder>
-
mergeFrom
public UpgradeEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpgradeEvent.Builder>- Throws:
IOException
-
getResourceTypeValue
public int getResourceTypeValue()The resource type that is upgrading.
.google.container.v1.UpgradeResourceType resource_type = 1;- Specified by:
getResourceTypeValuein interfaceUpgradeEventOrBuilder- Returns:
- The enum numeric value on the wire for resourceType.
-
setResourceTypeValue
The resource type that is upgrading.
.google.container.v1.UpgradeResourceType resource_type = 1;- Parameters:
value- The enum numeric value on the wire for resourceType to set.- Returns:
- This builder for chaining.
-
getResourceType
The resource type that is upgrading.
.google.container.v1.UpgradeResourceType resource_type = 1;- Specified by:
getResourceTypein interfaceUpgradeEventOrBuilder- Returns:
- The resourceType.
-
setResourceType
The resource type that is upgrading.
.google.container.v1.UpgradeResourceType resource_type = 1;- Parameters:
value- The resourceType to set.- Returns:
- This builder for chaining.
-
clearResourceType
The resource type that is upgrading.
.google.container.v1.UpgradeResourceType resource_type = 1;- Returns:
- This builder for chaining.
-
getOperation
The operation associated with this upgrade.
string operation = 2;- Specified by:
getOperationin interfaceUpgradeEventOrBuilder- Returns:
- The operation.
-
getOperationBytes
public com.google.protobuf.ByteString getOperationBytes()The operation associated with this upgrade.
string operation = 2;- Specified by:
getOperationBytesin interfaceUpgradeEventOrBuilder- Returns:
- The bytes for operation.
-
setOperation
The operation associated with this upgrade.
string operation = 2;- Parameters:
value- The operation to set.- Returns:
- This builder for chaining.
-
clearOperation
The operation associated with this upgrade.
string operation = 2;- Returns:
- This builder for chaining.
-
setOperationBytes
The operation associated with this upgrade.
string operation = 2;- Parameters:
value- The bytes for operation to set.- Returns:
- This builder for chaining.
-
hasOperationStartTime
public boolean hasOperationStartTime()The time when the operation was started.
.google.protobuf.Timestamp operation_start_time = 3;- Specified by:
hasOperationStartTimein interfaceUpgradeEventOrBuilder- Returns:
- Whether the operationStartTime field is set.
-
getOperationStartTime
public com.google.protobuf.Timestamp getOperationStartTime()The time when the operation was started.
.google.protobuf.Timestamp operation_start_time = 3;- Specified by:
getOperationStartTimein interfaceUpgradeEventOrBuilder- Returns:
- The operationStartTime.
-
setOperationStartTime
The time when the operation was started.
.google.protobuf.Timestamp operation_start_time = 3; -
setOperationStartTime
public UpgradeEvent.Builder setOperationStartTime(com.google.protobuf.Timestamp.Builder builderForValue) The time when the operation was started.
.google.protobuf.Timestamp operation_start_time = 3; -
mergeOperationStartTime
The time when the operation was started.
.google.protobuf.Timestamp operation_start_time = 3; -
clearOperationStartTime
The time when the operation was started.
.google.protobuf.Timestamp operation_start_time = 3; -
getOperationStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getOperationStartTimeBuilder()The time when the operation was started.
.google.protobuf.Timestamp operation_start_time = 3; -
getOperationStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getOperationStartTimeOrBuilder()The time when the operation was started.
.google.protobuf.Timestamp operation_start_time = 3;- Specified by:
getOperationStartTimeOrBuilderin interfaceUpgradeEventOrBuilder
-
getCurrentVersion
The current version before the upgrade.
string current_version = 4;- Specified by:
getCurrentVersionin interfaceUpgradeEventOrBuilder- Returns:
- The currentVersion.
-
getCurrentVersionBytes
public com.google.protobuf.ByteString getCurrentVersionBytes()The current version before the upgrade.
string current_version = 4;- Specified by:
getCurrentVersionBytesin interfaceUpgradeEventOrBuilder- Returns:
- The bytes for currentVersion.
-
setCurrentVersion
The current version before the upgrade.
string current_version = 4;- Parameters:
value- The currentVersion to set.- Returns:
- This builder for chaining.
-
clearCurrentVersion
The current version before the upgrade.
string current_version = 4;- Returns:
- This builder for chaining.
-
setCurrentVersionBytes
The current version before the upgrade.
string current_version = 4;- Parameters:
value- The bytes for currentVersion to set.- Returns:
- This builder for chaining.
-
getTargetVersion
The target version for the upgrade.
string target_version = 5;- Specified by:
getTargetVersionin interfaceUpgradeEventOrBuilder- Returns:
- The targetVersion.
-
getTargetVersionBytes
public com.google.protobuf.ByteString getTargetVersionBytes()The target version for the upgrade.
string target_version = 5;- Specified by:
getTargetVersionBytesin interfaceUpgradeEventOrBuilder- Returns:
- The bytes for targetVersion.
-
setTargetVersion
The target version for the upgrade.
string target_version = 5;- Parameters:
value- The targetVersion to set.- Returns:
- This builder for chaining.
-
clearTargetVersion
The target version for the upgrade.
string target_version = 5;- Returns:
- This builder for chaining.
-
setTargetVersionBytes
The target version for the upgrade.
string target_version = 5;- Parameters:
value- The bytes for targetVersion to set.- Returns:
- This builder for chaining.
-
getResource
Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.
string resource = 6;- Specified by:
getResourcein interfaceUpgradeEventOrBuilder- Returns:
- The resource.
-
getResourceBytes
public com.google.protobuf.ByteString getResourceBytes()Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.
string resource = 6;- Specified by:
getResourceBytesin interfaceUpgradeEventOrBuilder- Returns:
- The bytes for resource.
-
setResource
Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.
string resource = 6;- Parameters:
value- The resource to set.- Returns:
- This builder for chaining.
-
clearResource
Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.
string resource = 6;- Returns:
- This builder for chaining.
-
setResourceBytes
Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.
string resource = 6;- Parameters:
value- The bytes for resource to set.- Returns:
- This builder for chaining.
-