Package com.google.cloud.compute.v1
Class RegionInstanceGroupManagersSetTargetPoolsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RegionInstanceGroupManagersSetTargetPoolsRequest.Builder>
com.google.cloud.compute.v1.RegionInstanceGroupManagersSetTargetPoolsRequest.Builder
- All Implemented Interfaces:
RegionInstanceGroupManagersSetTargetPoolsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RegionInstanceGroupManagersSetTargetPoolsRequest
public static final class RegionInstanceGroupManagersSetTargetPoolsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RegionInstanceGroupManagersSetTargetPoolsRequest.Builder>
implements RegionInstanceGroupManagersSetTargetPoolsRequestOrBuilder
Protobuf type
google.cloud.compute.v1.RegionInstanceGroupManagersSetTargetPoolsRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllTargetPools(Iterable<String> values) The URL of all TargetPool resources to which instances in theinstanceGroup field are added.addTargetPools(String value) The URL of all TargetPool resources to which instances in theinstanceGroup field are added.addTargetPoolsBytes(com.google.protobuf.ByteString value) The URL of all TargetPool resources to which instances in theinstanceGroup field are added.build()clear()Fingerprint of the target pools information, which is a hash of the contents.The URL of all TargetPool resources to which instances in theinstanceGroup field are added.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorFingerprint of the target pools information, which is a hash of the contents.com.google.protobuf.ByteStringFingerprint of the target pools information, which is a hash of the contents.getTargetPools(int index) The URL of all TargetPool resources to which instances in theinstanceGroup field are added.com.google.protobuf.ByteStringgetTargetPoolsBytes(int index) The URL of all TargetPool resources to which instances in theinstanceGroup field are added.intThe URL of all TargetPool resources to which instances in theinstanceGroup field are added.com.google.protobuf.ProtocolStringListThe URL of all TargetPool resources to which instances in theinstanceGroup field are added.booleanFingerprint of the target pools information, which is a hash of the contents.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) Fingerprint of the target pools information, which is a hash of the contents.setFingerprintBytes(com.google.protobuf.ByteString value) Fingerprint of the target pools information, which is a hash of the contents.setTargetPools(int index, String value) The URL of all TargetPool resources to which instances in theinstanceGroup field are added.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<RegionInstanceGroupManagersSetTargetPoolsRequest.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<RegionInstanceGroupManagersSetTargetPoolsRequest.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<RegionInstanceGroupManagersSetTargetPoolsRequest.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 RegionInstanceGroupManagersSetTargetPoolsRequest.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RegionInstanceGroupManagersSetTargetPoolsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RegionInstanceGroupManagersSetTargetPoolsRequest.Builder>
-
mergeFrom
public RegionInstanceGroupManagersSetTargetPoolsRequest.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<RegionInstanceGroupManagersSetTargetPoolsRequest.Builder>- Throws:
IOException
-
hasFingerprint
public boolean hasFingerprint()Fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when you update the target pool entries. This field is optional.
optional string fingerprint = 234678500;- Specified by:
hasFingerprintin interfaceRegionInstanceGroupManagersSetTargetPoolsRequestOrBuilder- Returns:
- Whether the fingerprint field is set.
-
getFingerprint
Fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when you update the target pool entries. This field is optional.
optional string fingerprint = 234678500;- Specified by:
getFingerprintin interfaceRegionInstanceGroupManagersSetTargetPoolsRequestOrBuilder- Returns:
- The fingerprint.
-
getFingerprintBytes
public com.google.protobuf.ByteString getFingerprintBytes()Fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when you update the target pool entries. This field is optional.
optional string fingerprint = 234678500;- Specified by:
getFingerprintBytesin interfaceRegionInstanceGroupManagersSetTargetPoolsRequestOrBuilder- Returns:
- The bytes for fingerprint.
-
setFingerprint
Fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when you update the target pool entries. This field is optional.
optional string fingerprint = 234678500;- Parameters:
value- The fingerprint to set.- Returns:
- This builder for chaining.
-
clearFingerprint
Fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when you update the target pool entries. This field is optional.
optional string fingerprint = 234678500;- Returns:
- This builder for chaining.
-
setFingerprintBytes
public RegionInstanceGroupManagersSetTargetPoolsRequest.Builder setFingerprintBytes(com.google.protobuf.ByteString value) Fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when you update the target pool entries. This field is optional.
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 URL of all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
repeated string target_pools = 336072617;- Specified by:
getTargetPoolsListin interfaceRegionInstanceGroupManagersSetTargetPoolsRequestOrBuilder- Returns:
- A list containing the targetPools.
-
getTargetPoolsCount
public int getTargetPoolsCount()The URL of all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
repeated string target_pools = 336072617;- Specified by:
getTargetPoolsCountin interfaceRegionInstanceGroupManagersSetTargetPoolsRequestOrBuilder- Returns:
- The count of targetPools.
-
getTargetPools
The URL of all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
repeated string target_pools = 336072617;- Specified by:
getTargetPoolsin interfaceRegionInstanceGroupManagersSetTargetPoolsRequestOrBuilder- 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 URL of all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
repeated string target_pools = 336072617;- Specified by:
getTargetPoolsBytesin interfaceRegionInstanceGroupManagersSetTargetPoolsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the targetPools at the given index.
-
setTargetPools
public RegionInstanceGroupManagersSetTargetPoolsRequest.Builder setTargetPools(int index, String value) The URL of all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
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 URL of all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
repeated string target_pools = 336072617;- Parameters:
value- The targetPools to add.- Returns:
- This builder for chaining.
-
addAllTargetPools
public RegionInstanceGroupManagersSetTargetPoolsRequest.Builder addAllTargetPools(Iterable<String> values) The URL of all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
repeated string target_pools = 336072617;- Parameters:
values- The targetPools to add.- Returns:
- This builder for chaining.
-
clearTargetPools
The URL of all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
repeated string target_pools = 336072617;- Returns:
- This builder for chaining.
-
addTargetPoolsBytes
public RegionInstanceGroupManagersSetTargetPoolsRequest.Builder addTargetPoolsBytes(com.google.protobuf.ByteString value) The URL of all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
repeated string target_pools = 336072617;- Parameters:
value- The bytes of the targetPools to add.- Returns:
- This builder for chaining.
-