Package com.google.container.v1
Class NodePool.UpdateInfo.BlueGreenInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NodePool.UpdateInfo.BlueGreenInfo.Builder>
com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder
- All Implemented Interfaces:
NodePool.UpdateInfo.BlueGreenInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- NodePool.UpdateInfo.BlueGreenInfo
public static final class NodePool.UpdateInfo.BlueGreenInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<NodePool.UpdateInfo.BlueGreenInfo.Builder>
implements NodePool.UpdateInfo.BlueGreenInfoOrBuilder
Information relevant to blue-green upgrade.Protobuf type
google.container.v1.NodePool.UpdateInfo.BlueGreenInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllBlueInstanceGroupUrls(Iterable<String> values) The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.addAllGreenInstanceGroupUrls(Iterable<String> values) The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.addBlueInstanceGroupUrls(String value) The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.addBlueInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.addGreenInstanceGroupUrls(String value) The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.addGreenInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.build()clear()The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.Time to start deleting blue pool to complete blue-green upgrade, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.Version of green pool.Current blue-green upgrade phase.getBlueInstanceGroupUrls(int index) The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.com.google.protobuf.ByteStringgetBlueInstanceGroupUrlsBytes(int index) The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.intThe resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.com.google.protobuf.ProtocolStringListThe resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.Time to start deleting blue pool to complete blue-green upgrade, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.com.google.protobuf.ByteStringTime to start deleting blue pool to complete blue-green upgrade, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetGreenInstanceGroupUrls(int index) The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.com.google.protobuf.ByteStringgetGreenInstanceGroupUrlsBytes(int index) The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.intThe resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.com.google.protobuf.ProtocolStringListThe resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.Version of green pool.com.google.protobuf.ByteStringVersion of green pool.getPhase()Current blue-green upgrade phase.intCurrent blue-green upgrade phase.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setBlueInstanceGroupUrls(int index, String value) The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.Time to start deleting blue pool to complete blue-green upgrade, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.setBluePoolDeletionStartTimeBytes(com.google.protobuf.ByteString value) Time to start deleting blue pool to complete blue-green upgrade, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.setGreenInstanceGroupUrls(int index, String value) The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.setGreenPoolVersion(String value) Version of green pool.setGreenPoolVersionBytes(com.google.protobuf.ByteString value) Version of green pool.Current blue-green upgrade phase.setPhaseValue(int value) Current blue-green upgrade phase.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<NodePool.UpdateInfo.BlueGreenInfo.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<NodePool.UpdateInfo.BlueGreenInfo.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<NodePool.UpdateInfo.BlueGreenInfo.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<NodePool.UpdateInfo.BlueGreenInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<NodePool.UpdateInfo.BlueGreenInfo.Builder>
-
mergeFrom
public NodePool.UpdateInfo.BlueGreenInfo.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<NodePool.UpdateInfo.BlueGreenInfo.Builder>- Throws:
IOException
-
getPhaseValue
public int getPhaseValue()Current blue-green upgrade phase.
.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1;- Specified by:
getPhaseValuein interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder- Returns:
- The enum numeric value on the wire for phase.
-
setPhaseValue
Current blue-green upgrade phase.
.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1;- Parameters:
value- The enum numeric value on the wire for phase to set.- Returns:
- This builder for chaining.
-
getPhase
Current blue-green upgrade phase.
.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1;- Specified by:
getPhasein interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder- Returns:
- The phase.
-
setPhase
public NodePool.UpdateInfo.BlueGreenInfo.Builder setPhase(NodePool.UpdateInfo.BlueGreenInfo.Phase value) Current blue-green upgrade phase.
.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1;- Parameters:
value- The phase to set.- Returns:
- This builder for chaining.
-
clearPhase
Current blue-green upgrade phase.
.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1;- Returns:
- This builder for chaining.
-
getBlueInstanceGroupUrlsList
public com.google.protobuf.ProtocolStringList getBlueInstanceGroupUrlsList()The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.
repeated string blue_instance_group_urls = 2;- Specified by:
getBlueInstanceGroupUrlsListin interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder- Returns:
- A list containing the blueInstanceGroupUrls.
-
getBlueInstanceGroupUrlsCount
public int getBlueInstanceGroupUrlsCount()The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.
repeated string blue_instance_group_urls = 2;- Specified by:
getBlueInstanceGroupUrlsCountin interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder- Returns:
- The count of blueInstanceGroupUrls.
-
getBlueInstanceGroupUrls
The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.
repeated string blue_instance_group_urls = 2;- Specified by:
getBlueInstanceGroupUrlsin interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The blueInstanceGroupUrls at the given index.
-
getBlueInstanceGroupUrlsBytes
public com.google.protobuf.ByteString getBlueInstanceGroupUrlsBytes(int index) The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.
repeated string blue_instance_group_urls = 2;- Specified by:
getBlueInstanceGroupUrlsBytesin interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the blueInstanceGroupUrls at the given index.
-
setBlueInstanceGroupUrls
The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.
repeated string blue_instance_group_urls = 2;- Parameters:
index- The index to set the value at.value- The blueInstanceGroupUrls to set.- Returns:
- This builder for chaining.
-
addBlueInstanceGroupUrls
The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.
repeated string blue_instance_group_urls = 2;- Parameters:
value- The blueInstanceGroupUrls to add.- Returns:
- This builder for chaining.
-
addAllBlueInstanceGroupUrls
public NodePool.UpdateInfo.BlueGreenInfo.Builder addAllBlueInstanceGroupUrls(Iterable<String> values) The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.
repeated string blue_instance_group_urls = 2;- Parameters:
values- The blueInstanceGroupUrls to add.- Returns:
- This builder for chaining.
-
clearBlueInstanceGroupUrls
The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.
repeated string blue_instance_group_urls = 2;- Returns:
- This builder for chaining.
-
addBlueInstanceGroupUrlsBytes
public NodePool.UpdateInfo.BlueGreenInfo.Builder addBlueInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.
repeated string blue_instance_group_urls = 2;- Parameters:
value- The bytes of the blueInstanceGroupUrls to add.- Returns:
- This builder for chaining.
-
getGreenInstanceGroupUrlsList
public com.google.protobuf.ProtocolStringList getGreenInstanceGroupUrlsList()The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.
repeated string green_instance_group_urls = 3;- Specified by:
getGreenInstanceGroupUrlsListin interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder- Returns:
- A list containing the greenInstanceGroupUrls.
-
getGreenInstanceGroupUrlsCount
public int getGreenInstanceGroupUrlsCount()The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.
repeated string green_instance_group_urls = 3;- Specified by:
getGreenInstanceGroupUrlsCountin interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder- Returns:
- The count of greenInstanceGroupUrls.
-
getGreenInstanceGroupUrls
The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.
repeated string green_instance_group_urls = 3;- Specified by:
getGreenInstanceGroupUrlsin interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The greenInstanceGroupUrls at the given index.
-
getGreenInstanceGroupUrlsBytes
public com.google.protobuf.ByteString getGreenInstanceGroupUrlsBytes(int index) The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.
repeated string green_instance_group_urls = 3;- Specified by:
getGreenInstanceGroupUrlsBytesin interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the greenInstanceGroupUrls at the given index.
-
setGreenInstanceGroupUrls
The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.
repeated string green_instance_group_urls = 3;- Parameters:
index- The index to set the value at.value- The greenInstanceGroupUrls to set.- Returns:
- This builder for chaining.
-
addGreenInstanceGroupUrls
The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.
repeated string green_instance_group_urls = 3;- Parameters:
value- The greenInstanceGroupUrls to add.- Returns:
- This builder for chaining.
-
addAllGreenInstanceGroupUrls
public NodePool.UpdateInfo.BlueGreenInfo.Builder addAllGreenInstanceGroupUrls(Iterable<String> values) The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.
repeated string green_instance_group_urls = 3;- Parameters:
values- The greenInstanceGroupUrls to add.- Returns:
- This builder for chaining.
-
clearGreenInstanceGroupUrls
The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.
repeated string green_instance_group_urls = 3;- Returns:
- This builder for chaining.
-
addGreenInstanceGroupUrlsBytes
public NodePool.UpdateInfo.BlueGreenInfo.Builder addGreenInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.
repeated string green_instance_group_urls = 3;- Parameters:
value- The bytes of the greenInstanceGroupUrls to add.- Returns:
- This builder for chaining.
-
getBluePoolDeletionStartTime
Time to start deleting blue pool to complete blue-green upgrade, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string blue_pool_deletion_start_time = 4;- Specified by:
getBluePoolDeletionStartTimein interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder- Returns:
- The bluePoolDeletionStartTime.
-
getBluePoolDeletionStartTimeBytes
public com.google.protobuf.ByteString getBluePoolDeletionStartTimeBytes()Time to start deleting blue pool to complete blue-green upgrade, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string blue_pool_deletion_start_time = 4;- Specified by:
getBluePoolDeletionStartTimeBytesin interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder- Returns:
- The bytes for bluePoolDeletionStartTime.
-
setBluePoolDeletionStartTime
Time to start deleting blue pool to complete blue-green upgrade, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string blue_pool_deletion_start_time = 4;- Parameters:
value- The bluePoolDeletionStartTime to set.- Returns:
- This builder for chaining.
-
clearBluePoolDeletionStartTime
Time to start deleting blue pool to complete blue-green upgrade, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string blue_pool_deletion_start_time = 4;- Returns:
- This builder for chaining.
-
setBluePoolDeletionStartTimeBytes
public NodePool.UpdateInfo.BlueGreenInfo.Builder setBluePoolDeletionStartTimeBytes(com.google.protobuf.ByteString value) Time to start deleting blue pool to complete blue-green upgrade, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string blue_pool_deletion_start_time = 4;- Parameters:
value- The bytes for bluePoolDeletionStartTime to set.- Returns:
- This builder for chaining.
-
getGreenPoolVersion
Version of green pool.
string green_pool_version = 5;- Specified by:
getGreenPoolVersionin interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder- Returns:
- The greenPoolVersion.
-
getGreenPoolVersionBytes
public com.google.protobuf.ByteString getGreenPoolVersionBytes()Version of green pool.
string green_pool_version = 5;- Specified by:
getGreenPoolVersionBytesin interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder- Returns:
- The bytes for greenPoolVersion.
-
setGreenPoolVersion
Version of green pool.
string green_pool_version = 5;- Parameters:
value- The greenPoolVersion to set.- Returns:
- This builder for chaining.
-
clearGreenPoolVersion
Version of green pool.
string green_pool_version = 5;- Returns:
- This builder for chaining.
-
setGreenPoolVersionBytes
public NodePool.UpdateInfo.BlueGreenInfo.Builder setGreenPoolVersionBytes(com.google.protobuf.ByteString value) Version of green pool.
string green_pool_version = 5;- Parameters:
value- The bytes for greenPoolVersion to set.- Returns:
- This builder for chaining.
-