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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<InstanceGroupManagersSetTargetPoolsRequest.Builder> implements InstanceGroupManagersSetTargetPoolsRequestOrBuilder
Protobuf typegoogle.cloud.compute.v1.InstanceGroupManagersSetTargetPoolsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceGroupManagersSetTargetPoolsRequest.BuilderaddAllTargetPools(Iterable<String> values)The list of target pool URLs that instances in this managed instance group belong to.InstanceGroupManagersSetTargetPoolsRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InstanceGroupManagersSetTargetPoolsRequest.BuilderaddTargetPools(String value)The list of target pool URLs that instances in this managed instance group belong to.InstanceGroupManagersSetTargetPoolsRequest.BuilderaddTargetPoolsBytes(com.google.protobuf.ByteString value)The list of target pool URLs that instances in this managed instance group belong to.InstanceGroupManagersSetTargetPoolsRequestbuild()InstanceGroupManagersSetTargetPoolsRequestbuildPartial()InstanceGroupManagersSetTargetPoolsRequest.Builderclear()InstanceGroupManagersSetTargetPoolsRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)InstanceGroupManagersSetTargetPoolsRequest.BuilderclearFingerprint()The fingerprint of the target pools information.InstanceGroupManagersSetTargetPoolsRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)InstanceGroupManagersSetTargetPoolsRequest.BuilderclearTargetPools()The list of target pool URLs that instances in this managed instance group belong to.InstanceGroupManagersSetTargetPoolsRequest.Builderclone()InstanceGroupManagersSetTargetPoolsRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFingerprint()The fingerprint of the target pools information.com.google.protobuf.ByteStringgetFingerprintBytes()The fingerprint of the target pools information.StringgetTargetPools(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.intgetTargetPoolsCount()The list of target pool URLs that instances in this managed instance group belong to.com.google.protobuf.ProtocolStringListgetTargetPoolsList()The list of target pool URLs that instances in this managed instance group belong to.booleanhasFingerprint()The fingerprint of the target pools information.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()InstanceGroupManagersSetTargetPoolsRequest.BuildermergeFrom(InstanceGroupManagersSetTargetPoolsRequest other)InstanceGroupManagersSetTargetPoolsRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)InstanceGroupManagersSetTargetPoolsRequest.BuildermergeFrom(com.google.protobuf.Message other)InstanceGroupManagersSetTargetPoolsRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)InstanceGroupManagersSetTargetPoolsRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InstanceGroupManagersSetTargetPoolsRequest.BuildersetFingerprint(String value)The fingerprint of the target pools information.InstanceGroupManagersSetTargetPoolsRequest.BuildersetFingerprintBytes(com.google.protobuf.ByteString value)The fingerprint of the target pools information.InstanceGroupManagersSetTargetPoolsRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)InstanceGroupManagersSetTargetPoolsRequest.BuildersetTargetPools(int index, String value)The list of target pool URLs that instances in this managed instance group belong to.InstanceGroupManagersSetTargetPoolsRequest.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersSetTargetPoolsRequest.Builder>
-
clear
public InstanceGroupManagersSetTargetPoolsRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<InstanceGroupManagersSetTargetPoolsRequest.Builder>
-
getDefaultInstanceForType
public InstanceGroupManagersSetTargetPoolsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public InstanceGroupManagersSetTargetPoolsRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InstanceGroupManagersSetTargetPoolsRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public InstanceGroupManagersSetTargetPoolsRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersSetTargetPoolsRequest.Builder>
-
setField
public InstanceGroupManagersSetTargetPoolsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersSetTargetPoolsRequest.Builder>
-
clearField
public InstanceGroupManagersSetTargetPoolsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersSetTargetPoolsRequest.Builder>
-
clearOneof
public InstanceGroupManagersSetTargetPoolsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersSetTargetPoolsRequest.Builder>
-
setRepeatedField
public InstanceGroupManagersSetTargetPoolsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersSetTargetPoolsRequest.Builder>
-
addRepeatedField
public InstanceGroupManagersSetTargetPoolsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersSetTargetPoolsRequest.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.GeneratedMessageV3.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 the instanceGroupManagers.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
public String 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 the instanceGroupManagers.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 the instanceGroupManagers.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
public InstanceGroupManagersSetTargetPoolsRequest.Builder setFingerprint(String 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 the instanceGroupManagers.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
public InstanceGroupManagersSetTargetPoolsRequest.Builder 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 the instanceGroupManagers.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 the instanceGroupManagers.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
public String getTargetPools(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:
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
public InstanceGroupManagersSetTargetPoolsRequest.Builder setTargetPools(int index, String 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:
index- The index to set the value at.value- The targetPools to set.- Returns:
- This builder for chaining.
-
addTargetPools
public InstanceGroupManagersSetTargetPoolsRequest.Builder addTargetPools(String 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 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
public InstanceGroupManagersSetTargetPoolsRequest.Builder 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.
-
setUnknownFields
public final InstanceGroupManagersSetTargetPoolsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersSetTargetPoolsRequest.Builder>
-
mergeUnknownFields
public final InstanceGroupManagersSetTargetPoolsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersSetTargetPoolsRequest.Builder>
-
-