Package com.google.cloud.compute.v1
Class InstanceGroupManagersSetTargetPoolsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InstanceGroupManagersSetTargetPoolsRequest.Builder>
com.google.cloud.compute.v1.InstanceGroupManagersSetTargetPoolsRequest.Builder
- All Implemented Interfaces:
InstanceGroupManagersSetTargetPoolsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InstanceGroupManagersSetTargetPoolsRequest
public static final class InstanceGroupManagersSetTargetPoolsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InstanceGroupManagersSetTargetPoolsRequest.Builder>
implements InstanceGroupManagersSetTargetPoolsRequestOrBuilder
Protobuf type
google.cloud.compute.v1.InstanceGroupManagersSetTargetPoolsRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllTargetPools(Iterable<String> values) The list of target pool URLs that instances in this managed instance group belong to.addTargetPools(String value) The list of target pool URLs that instances in this managed instance group belong to.addTargetPoolsBytes(com.google.protobuf.ByteString value) The list of target pool URLs that instances in this managed instance group belong to.build()clear()The fingerprint of the target pools information.The list of target pool URLs that instances in this managed instance group belong to.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe fingerprint of the target pools information.com.google.protobuf.ByteStringThe fingerprint of the target pools information.getTargetPools(int index) The list of target pool URLs that instances in this managed instance group belong to.com.google.protobuf.ByteStringgetTargetPoolsBytes(int index) The list of target pool URLs that instances in this managed instance group belong to.intThe list of target pool URLs that instances in this managed instance group belong to.com.google.protobuf.ProtocolStringListThe list of target pool URLs that instances in this managed instance group belong to.booleanThe fingerprint of the target pools information.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setFingerprint(String value) The fingerprint of the target pools information.setFingerprintBytes(com.google.protobuf.ByteString value) The fingerprint of the target pools information.setTargetPools(int index, String value) The list of target pool URLs that instances in this managed instance group belong to.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<InstanceGroupManagersSetTargetPoolsRequest.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<InstanceGroupManagersSetTargetPoolsRequest.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<InstanceGroupManagersSetTargetPoolsRequest.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
public InstanceGroupManagersSetTargetPoolsRequest.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstanceGroupManagersSetTargetPoolsRequest.Builder>
-
mergeFrom
public InstanceGroupManagersSetTargetPoolsRequest.Builder mergeFrom(InstanceGroupManagersSetTargetPoolsRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InstanceGroupManagersSetTargetPoolsRequest.Builder>
-
mergeFrom
public InstanceGroupManagersSetTargetPoolsRequest.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<InstanceGroupManagersSetTargetPoolsRequest.Builder>- Throws:
IOException
-
hasFingerprint
public boolean hasFingerprint()The fingerprint of the target pools information. Use this optional property to prevent conflicts when multiple users change the target pools settings concurrently. Obtain the fingerprint with theinstanceGroupManagers.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request.
optional string fingerprint = 234678500;- Specified by:
hasFingerprintin interfaceInstanceGroupManagersSetTargetPoolsRequestOrBuilder- Returns:
- Whether the fingerprint field is set.
-
getFingerprint
The fingerprint of the target pools information. Use this optional property to prevent conflicts when multiple users change the target pools settings concurrently. Obtain the fingerprint with theinstanceGroupManagers.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request.
optional string fingerprint = 234678500;- Specified by:
getFingerprintin interfaceInstanceGroupManagersSetTargetPoolsRequestOrBuilder- Returns:
- The fingerprint.
-
getFingerprintBytes
public com.google.protobuf.ByteString getFingerprintBytes()The fingerprint of the target pools information. Use this optional property to prevent conflicts when multiple users change the target pools settings concurrently. Obtain the fingerprint with theinstanceGroupManagers.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request.
optional string fingerprint = 234678500;- Specified by:
getFingerprintBytesin interfaceInstanceGroupManagersSetTargetPoolsRequestOrBuilder- Returns:
- The bytes for fingerprint.
-
setFingerprint
The fingerprint of the target pools information. Use this optional property to prevent conflicts when multiple users change the target pools settings concurrently. Obtain the fingerprint with theinstanceGroupManagers.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request.
optional string fingerprint = 234678500;- Parameters:
value- The fingerprint to set.- Returns:
- This builder for chaining.
-
clearFingerprint
The fingerprint of the target pools information. Use this optional property to prevent conflicts when multiple users change the target pools settings concurrently. Obtain the fingerprint with theinstanceGroupManagers.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request.
optional string fingerprint = 234678500;- Returns:
- This builder for chaining.
-
setFingerprintBytes
public InstanceGroupManagersSetTargetPoolsRequest.Builder setFingerprintBytes(com.google.protobuf.ByteString value) The fingerprint of the target pools information. Use this optional property to prevent conflicts when multiple users change the target pools settings concurrently. Obtain the fingerprint with theinstanceGroupManagers.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request.
optional string fingerprint = 234678500;- Parameters:
value- The bytes for fingerprint to set.- Returns:
- This builder for chaining.
-
getTargetPoolsList
public com.google.protobuf.ProtocolStringList getTargetPoolsList()The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings.
repeated string target_pools = 336072617;- Specified by:
getTargetPoolsListin interfaceInstanceGroupManagersSetTargetPoolsRequestOrBuilder- Returns:
- A list containing the targetPools.
-
getTargetPoolsCount
public int getTargetPoolsCount()The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings.
repeated string target_pools = 336072617;- Specified by:
getTargetPoolsCountin interfaceInstanceGroupManagersSetTargetPoolsRequestOrBuilder- Returns:
- The count of targetPools.
-
getTargetPools
The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings.
repeated string target_pools = 336072617;- Specified by:
getTargetPoolsin interfaceInstanceGroupManagersSetTargetPoolsRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The targetPools at the given index.
-
getTargetPoolsBytes
public com.google.protobuf.ByteString getTargetPoolsBytes(int index) The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings.
repeated string target_pools = 336072617;- Specified by:
getTargetPoolsBytesin interfaceInstanceGroupManagersSetTargetPoolsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the targetPools at the given index.
-
setTargetPools
The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings.
repeated string target_pools = 336072617;- Parameters:
index- The index to set the value at.value- The targetPools to set.- Returns:
- This builder for chaining.
-
addTargetPools
The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings.
repeated string target_pools = 336072617;- Parameters:
value- The targetPools to add.- Returns:
- This builder for chaining.
-
addAllTargetPools
public InstanceGroupManagersSetTargetPoolsRequest.Builder addAllTargetPools(Iterable<String> values) The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings.
repeated string target_pools = 336072617;- Parameters:
values- The targetPools to add.- Returns:
- This builder for chaining.
-
clearTargetPools
The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings.
repeated string target_pools = 336072617;- Returns:
- This builder for chaining.
-
addTargetPoolsBytes
public InstanceGroupManagersSetTargetPoolsRequest.Builder addTargetPoolsBytes(com.google.protobuf.ByteString value) The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings.
repeated string target_pools = 336072617;- Parameters:
value- The bytes of the targetPools to add.- Returns:
- This builder for chaining.
-