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
google.cloud.compute.v1.InstanceGroupManagersSetTargetPoolsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceGroupManagersSetTargetPoolsRequest.Builder
addAllTargetPools(Iterable<String> values)
The list of target pool URLs that instances in this managed instance group belong to.InstanceGroupManagersSetTargetPoolsRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
InstanceGroupManagersSetTargetPoolsRequest.Builder
addTargetPools(String value)
The list of target pool URLs that instances in this managed instance group belong to.InstanceGroupManagersSetTargetPoolsRequest.Builder
addTargetPoolsBytes(com.google.protobuf.ByteString value)
The list of target pool URLs that instances in this managed instance group belong to.InstanceGroupManagersSetTargetPoolsRequest
build()
InstanceGroupManagersSetTargetPoolsRequest
buildPartial()
InstanceGroupManagersSetTargetPoolsRequest.Builder
clear()
InstanceGroupManagersSetTargetPoolsRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
InstanceGroupManagersSetTargetPoolsRequest.Builder
clearFingerprint()
The fingerprint of the target pools information.InstanceGroupManagersSetTargetPoolsRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
InstanceGroupManagersSetTargetPoolsRequest.Builder
clearTargetPools()
The list of target pool URLs that instances in this managed instance group belong to.InstanceGroupManagersSetTargetPoolsRequest.Builder
clone()
InstanceGroupManagersSetTargetPoolsRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getFingerprint()
The fingerprint of the target pools information.com.google.protobuf.ByteString
getFingerprintBytes()
The fingerprint of the target pools information.String
getTargetPools(int index)
The list of target pool URLs that instances in this managed instance group belong to.com.google.protobuf.ByteString
getTargetPoolsBytes(int index)
The list of target pool URLs that instances in this managed instance group belong to.int
getTargetPoolsCount()
The list of target pool URLs that instances in this managed instance group belong to.com.google.protobuf.ProtocolStringList
getTargetPoolsList()
The list of target pool URLs that instances in this managed instance group belong to.boolean
hasFingerprint()
The fingerprint of the target pools information.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
InstanceGroupManagersSetTargetPoolsRequest.Builder
mergeFrom(InstanceGroupManagersSetTargetPoolsRequest other)
InstanceGroupManagersSetTargetPoolsRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
InstanceGroupManagersSetTargetPoolsRequest.Builder
mergeFrom(com.google.protobuf.Message other)
InstanceGroupManagersSetTargetPoolsRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
InstanceGroupManagersSetTargetPoolsRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
InstanceGroupManagersSetTargetPoolsRequest.Builder
setFingerprint(String value)
The fingerprint of the target pools information.InstanceGroupManagersSetTargetPoolsRequest.Builder
setFingerprintBytes(com.google.protobuf.ByteString value)
The fingerprint of the target pools information.InstanceGroupManagersSetTargetPoolsRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
InstanceGroupManagersSetTargetPoolsRequest.Builder
setTargetPools(int index, String value)
The list of target pool URLs that instances in this managed instance group belong to.InstanceGroupManagersSetTargetPoolsRequest.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<InstanceGroupManagersSetTargetPoolsRequest.Builder>
-
clear
public InstanceGroupManagersSetTargetPoolsRequest.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<InstanceGroupManagersSetTargetPoolsRequest.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<InstanceGroupManagersSetTargetPoolsRequest.Builder>
-
getDefaultInstanceForType
public InstanceGroupManagersSetTargetPoolsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public InstanceGroupManagersSetTargetPoolsRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InstanceGroupManagersSetTargetPoolsRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public InstanceGroupManagersSetTargetPoolsRequest.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<InstanceGroupManagersSetTargetPoolsRequest.Builder>
-
setField
public InstanceGroupManagersSetTargetPoolsRequest.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<InstanceGroupManagersSetTargetPoolsRequest.Builder>
-
clearField
public InstanceGroupManagersSetTargetPoolsRequest.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<InstanceGroupManagersSetTargetPoolsRequest.Builder>
-
clearOneof
public InstanceGroupManagersSetTargetPoolsRequest.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<InstanceGroupManagersSetTargetPoolsRequest.Builder>
-
setRepeatedField
public InstanceGroupManagersSetTargetPoolsRequest.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<InstanceGroupManagersSetTargetPoolsRequest.Builder>
-
addRepeatedField
public InstanceGroupManagersSetTargetPoolsRequest.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<InstanceGroupManagersSetTargetPoolsRequest.Builder>
-
mergeFrom
public InstanceGroupManagersSetTargetPoolsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<InstanceGroupManagersSetTargetPoolsRequest.Builder>
-
mergeFrom
public InstanceGroupManagersSetTargetPoolsRequest.Builder mergeFrom(InstanceGroupManagersSetTargetPoolsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasFingerprint
in 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:
getFingerprint
in 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:
getFingerprintBytes
in 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:
getTargetPoolsList
in 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:
getTargetPoolsCount
in 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:
getTargetPools
in 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:
getTargetPoolsBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersSetTargetPoolsRequest.Builder>
-
mergeUnknownFields
public final InstanceGroupManagersSetTargetPoolsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersSetTargetPoolsRequest.Builder>
-
-