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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<NodePool.UpdateInfo.BlueGreenInfo.Builder> implements NodePool.UpdateInfo.BlueGreenInfoOrBuilder
Information relevant to blue-green upgrade.
Protobuf typegoogle.container.v1.NodePool.UpdateInfo.BlueGreenInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.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.NodePool.UpdateInfo.BlueGreenInfo.Builder
addBlueInstanceGroupUrls(String value)
The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.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.NodePool.UpdateInfo.BlueGreenInfo.Builder
addGreenInstanceGroupUrls(String value)
The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.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.NodePool.UpdateInfo.BlueGreenInfo.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NodePool.UpdateInfo.BlueGreenInfo
build()
NodePool.UpdateInfo.BlueGreenInfo
buildPartial()
NodePool.UpdateInfo.BlueGreenInfo.Builder
clear()
NodePool.UpdateInfo.BlueGreenInfo.Builder
clearBlueInstanceGroupUrls()
The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.NodePool.UpdateInfo.BlueGreenInfo.Builder
clearBluePoolDeletionStartTime()
Time to start deleting blue pool to complete blue-green upgrade, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.NodePool.UpdateInfo.BlueGreenInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
NodePool.UpdateInfo.BlueGreenInfo.Builder
clearGreenInstanceGroupUrls()
The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.NodePool.UpdateInfo.BlueGreenInfo.Builder
clearGreenPoolVersion()
Version of green pool.NodePool.UpdateInfo.BlueGreenInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
NodePool.UpdateInfo.BlueGreenInfo.Builder
clearPhase()
Current blue-green upgrade phase.NodePool.UpdateInfo.BlueGreenInfo.Builder
clone()
String
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.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.int
getBlueInstanceGroupUrlsCount()
The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.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.String
getBluePoolDeletionStartTime()
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.ByteString
getBluePoolDeletionStartTimeBytes()
Time to start deleting blue pool to complete blue-green upgrade, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.NodePool.UpdateInfo.BlueGreenInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getGreenInstanceGroupUrls(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.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.int
getGreenInstanceGroupUrlsCount()
The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.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.String
getGreenPoolVersion()
Version of green pool.com.google.protobuf.ByteString
getGreenPoolVersionBytes()
Version of green pool.NodePool.UpdateInfo.BlueGreenInfo.Phase
getPhase()
Current blue-green upgrade phase.int
getPhaseValue()
Current blue-green upgrade phase.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
NodePool.UpdateInfo.BlueGreenInfo.Builder
mergeFrom(NodePool.UpdateInfo.BlueGreenInfo other)
NodePool.UpdateInfo.BlueGreenInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NodePool.UpdateInfo.BlueGreenInfo.Builder
mergeFrom(com.google.protobuf.Message other)
NodePool.UpdateInfo.BlueGreenInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NodePool.UpdateInfo.BlueGreenInfo.Builder
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.NodePool.UpdateInfo.BlueGreenInfo.Builder
setBluePoolDeletionStartTime(String value)
Time to start deleting blue pool to complete blue-green upgrade, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.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.NodePool.UpdateInfo.BlueGreenInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NodePool.UpdateInfo.BlueGreenInfo.Builder
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.NodePool.UpdateInfo.BlueGreenInfo.Builder
setGreenPoolVersion(String value)
Version of green pool.NodePool.UpdateInfo.BlueGreenInfo.Builder
setGreenPoolVersionBytes(com.google.protobuf.ByteString value)
Version of green pool.NodePool.UpdateInfo.BlueGreenInfo.Builder
setPhase(NodePool.UpdateInfo.BlueGreenInfo.Phase value)
Current blue-green upgrade phase.NodePool.UpdateInfo.BlueGreenInfo.Builder
setPhaseValue(int value)
Current blue-green upgrade phase.NodePool.UpdateInfo.BlueGreenInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
NodePool.UpdateInfo.BlueGreenInfo.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.UpdateInfo.BlueGreenInfo.Builder>
-
clear
public NodePool.UpdateInfo.BlueGreenInfo.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.UpdateInfo.BlueGreenInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.UpdateInfo.BlueGreenInfo.Builder>
-
getDefaultInstanceForType
public NodePool.UpdateInfo.BlueGreenInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NodePool.UpdateInfo.BlueGreenInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NodePool.UpdateInfo.BlueGreenInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NodePool.UpdateInfo.BlueGreenInfo.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.UpdateInfo.BlueGreenInfo.Builder>
-
setField
public NodePool.UpdateInfo.BlueGreenInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.UpdateInfo.BlueGreenInfo.Builder>
-
clearField
public NodePool.UpdateInfo.BlueGreenInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.UpdateInfo.BlueGreenInfo.Builder>
-
clearOneof
public NodePool.UpdateInfo.BlueGreenInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.UpdateInfo.BlueGreenInfo.Builder>
-
setRepeatedField
public NodePool.UpdateInfo.BlueGreenInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.UpdateInfo.BlueGreenInfo.Builder>
-
addRepeatedField
public NodePool.UpdateInfo.BlueGreenInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.UpdateInfo.BlueGreenInfo.Builder>
-
mergeFrom
public NodePool.UpdateInfo.BlueGreenInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NodePool.UpdateInfo.BlueGreenInfo.Builder>
-
mergeFrom
public NodePool.UpdateInfo.BlueGreenInfo.Builder mergeFrom(NodePool.UpdateInfo.BlueGreenInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getPhaseValue
in interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder
- Returns:
- The enum numeric value on the wire for phase.
-
setPhaseValue
public NodePool.UpdateInfo.BlueGreenInfo.Builder setPhaseValue(int value)
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
public NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase()
Current blue-green upgrade phase.
.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1;
- Specified by:
getPhase
in 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
public NodePool.UpdateInfo.BlueGreenInfo.Builder 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:
getBlueInstanceGroupUrlsList
in 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:
getBlueInstanceGroupUrlsCount
in interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder
- Returns:
- The count of blueInstanceGroupUrls.
-
getBlueInstanceGroupUrls
public String getBlueInstanceGroupUrls(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:
getBlueInstanceGroupUrls
in 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:
getBlueInstanceGroupUrlsBytes
in interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the blueInstanceGroupUrls at the given index.
-
setBlueInstanceGroupUrls
public NodePool.UpdateInfo.BlueGreenInfo.Builder 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.
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
public NodePool.UpdateInfo.BlueGreenInfo.Builder addBlueInstanceGroupUrls(String 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 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
public NodePool.UpdateInfo.BlueGreenInfo.Builder 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:
getGreenInstanceGroupUrlsList
in 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:
getGreenInstanceGroupUrlsCount
in interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder
- Returns:
- The count of greenInstanceGroupUrls.
-
getGreenInstanceGroupUrls
public String getGreenInstanceGroupUrls(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:
getGreenInstanceGroupUrls
in 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:
getGreenInstanceGroupUrlsBytes
in interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the greenInstanceGroupUrls at the given index.
-
setGreenInstanceGroupUrls
public NodePool.UpdateInfo.BlueGreenInfo.Builder 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.
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
public NodePool.UpdateInfo.BlueGreenInfo.Builder addGreenInstanceGroupUrls(String 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 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
public NodePool.UpdateInfo.BlueGreenInfo.Builder 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
public String 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:
getBluePoolDeletionStartTime
in 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:
getBluePoolDeletionStartTimeBytes
in interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder
- Returns:
- The bytes for bluePoolDeletionStartTime.
-
setBluePoolDeletionStartTime
public NodePool.UpdateInfo.BlueGreenInfo.Builder setBluePoolDeletionStartTime(String 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 bluePoolDeletionStartTime to set.- Returns:
- This builder for chaining.
-
clearBluePoolDeletionStartTime
public NodePool.UpdateInfo.BlueGreenInfo.Builder 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
public String getGreenPoolVersion()
Version of green pool.
string green_pool_version = 5;
- Specified by:
getGreenPoolVersion
in interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder
- Returns:
- The greenPoolVersion.
-
getGreenPoolVersionBytes
public com.google.protobuf.ByteString getGreenPoolVersionBytes()
Version of green pool.
string green_pool_version = 5;
- Specified by:
getGreenPoolVersionBytes
in interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder
- Returns:
- The bytes for greenPoolVersion.
-
setGreenPoolVersion
public NodePool.UpdateInfo.BlueGreenInfo.Builder setGreenPoolVersion(String value)
Version of green pool.
string green_pool_version = 5;
- Parameters:
value
- The greenPoolVersion to set.- Returns:
- This builder for chaining.
-
clearGreenPoolVersion
public NodePool.UpdateInfo.BlueGreenInfo.Builder 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.
-
setUnknownFields
public final NodePool.UpdateInfo.BlueGreenInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.UpdateInfo.BlueGreenInfo.Builder>
-
mergeUnknownFields
public final NodePool.UpdateInfo.BlueGreenInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.UpdateInfo.BlueGreenInfo.Builder>
-
-