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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<RegionInstanceGroupManagersSetTargetPoolsRequest.Builder> implements RegionInstanceGroupManagersSetTargetPoolsRequestOrBuilder
google.cloud.compute.v1.RegionInstanceGroupManagersSetTargetPoolsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RegionInstanceGroupManagersSetTargetPoolsRequest.Builder
addAllTargetPools(Iterable<String> values)
The URL of all TargetPool resources to which instances in the instanceGroup field are added.RegionInstanceGroupManagersSetTargetPoolsRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RegionInstanceGroupManagersSetTargetPoolsRequest.Builder
addTargetPools(String value)
The URL of all TargetPool resources to which instances in the instanceGroup field are added.RegionInstanceGroupManagersSetTargetPoolsRequest.Builder
addTargetPoolsBytes(com.google.protobuf.ByteString value)
The URL of all TargetPool resources to which instances in the instanceGroup field are added.RegionInstanceGroupManagersSetTargetPoolsRequest
build()
RegionInstanceGroupManagersSetTargetPoolsRequest
buildPartial()
RegionInstanceGroupManagersSetTargetPoolsRequest.Builder
clear()
RegionInstanceGroupManagersSetTargetPoolsRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RegionInstanceGroupManagersSetTargetPoolsRequest.Builder
clearFingerprint()
Fingerprint of the target pools information, which is a hash of the contents.RegionInstanceGroupManagersSetTargetPoolsRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RegionInstanceGroupManagersSetTargetPoolsRequest.Builder
clearTargetPools()
The URL of all TargetPool resources to which instances in the instanceGroup field are added.RegionInstanceGroupManagersSetTargetPoolsRequest.Builder
clone()
RegionInstanceGroupManagersSetTargetPoolsRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getFingerprint()
Fingerprint of the target pools information, which is a hash of the contents.com.google.protobuf.ByteString
getFingerprintBytes()
Fingerprint of the target pools information, which is a hash of the contents.String
getTargetPools(int index)
The URL of all TargetPool resources to which instances in the instanceGroup field are added.com.google.protobuf.ByteString
getTargetPoolsBytes(int index)
The URL of all TargetPool resources to which instances in the instanceGroup field are added.int
getTargetPoolsCount()
The URL of all TargetPool resources to which instances in the instanceGroup field are added.com.google.protobuf.ProtocolStringList
getTargetPoolsList()
The URL of all TargetPool resources to which instances in the instanceGroup field are added.boolean
hasFingerprint()
Fingerprint of the target pools information, which is a hash of the contents.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RegionInstanceGroupManagersSetTargetPoolsRequest.Builder
mergeFrom(RegionInstanceGroupManagersSetTargetPoolsRequest other)
RegionInstanceGroupManagersSetTargetPoolsRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RegionInstanceGroupManagersSetTargetPoolsRequest.Builder
mergeFrom(com.google.protobuf.Message other)
RegionInstanceGroupManagersSetTargetPoolsRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RegionInstanceGroupManagersSetTargetPoolsRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RegionInstanceGroupManagersSetTargetPoolsRequest.Builder
setFingerprint(String value)
Fingerprint of the target pools information, which is a hash of the contents.RegionInstanceGroupManagersSetTargetPoolsRequest.Builder
setFingerprintBytes(com.google.protobuf.ByteString value)
Fingerprint of the target pools information, which is a hash of the contents.RegionInstanceGroupManagersSetTargetPoolsRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RegionInstanceGroupManagersSetTargetPoolsRequest.Builder
setTargetPools(int index, String value)
The URL of all TargetPool resources to which instances in the instanceGroup field are added.RegionInstanceGroupManagersSetTargetPoolsRequest.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<RegionInstanceGroupManagersSetTargetPoolsRequest.Builder>
-
clear
public RegionInstanceGroupManagersSetTargetPoolsRequest.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<RegionInstanceGroupManagersSetTargetPoolsRequest.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<RegionInstanceGroupManagersSetTargetPoolsRequest.Builder>
-
getDefaultInstanceForType
public RegionInstanceGroupManagersSetTargetPoolsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RegionInstanceGroupManagersSetTargetPoolsRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RegionInstanceGroupManagersSetTargetPoolsRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RegionInstanceGroupManagersSetTargetPoolsRequest.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<RegionInstanceGroupManagersSetTargetPoolsRequest.Builder>
-
setField
public RegionInstanceGroupManagersSetTargetPoolsRequest.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<RegionInstanceGroupManagersSetTargetPoolsRequest.Builder>
-
clearField
public RegionInstanceGroupManagersSetTargetPoolsRequest.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<RegionInstanceGroupManagersSetTargetPoolsRequest.Builder>
-
clearOneof
public RegionInstanceGroupManagersSetTargetPoolsRequest.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<RegionInstanceGroupManagersSetTargetPoolsRequest.Builder>
-
setRepeatedField
public RegionInstanceGroupManagersSetTargetPoolsRequest.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<RegionInstanceGroupManagersSetTargetPoolsRequest.Builder>
-
addRepeatedField
public RegionInstanceGroupManagersSetTargetPoolsRequest.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<RegionInstanceGroupManagersSetTargetPoolsRequest.Builder>
-
mergeFrom
public RegionInstanceGroupManagersSetTargetPoolsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RegionInstanceGroupManagersSetTargetPoolsRequest.Builder>
-
mergeFrom
public RegionInstanceGroupManagersSetTargetPoolsRequest.Builder mergeFrom(RegionInstanceGroupManagersSetTargetPoolsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersSetTargetPoolsRequest.Builder>
-
mergeFrom
public RegionInstanceGroupManagersSetTargetPoolsRequest.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<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:
hasFingerprint
in interfaceRegionInstanceGroupManagersSetTargetPoolsRequestOrBuilder
- Returns:
- Whether the fingerprint field is set.
-
getFingerprint
public String 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:
getFingerprint
in 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:
getFingerprintBytes
in interfaceRegionInstanceGroupManagersSetTargetPoolsRequestOrBuilder
- Returns:
- The bytes for fingerprint.
-
setFingerprint
public RegionInstanceGroupManagersSetTargetPoolsRequest.Builder setFingerprint(String 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 fingerprint to set.- Returns:
- This builder for chaining.
-
clearFingerprint
public RegionInstanceGroupManagersSetTargetPoolsRequest.Builder 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 the instanceGroup 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:
getTargetPoolsList
in interfaceRegionInstanceGroupManagersSetTargetPoolsRequestOrBuilder
- Returns:
- A list containing the targetPools.
-
getTargetPoolsCount
public int getTargetPoolsCount()
The URL of all TargetPool resources to which instances in the instanceGroup 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:
getTargetPoolsCount
in interfaceRegionInstanceGroupManagersSetTargetPoolsRequestOrBuilder
- Returns:
- The count of targetPools.
-
getTargetPools
public String getTargetPools(int index)
The URL of all TargetPool resources to which instances in the instanceGroup 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:
getTargetPools
in 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 the instanceGroup 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:
getTargetPoolsBytes
in 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 the instanceGroup 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
public RegionInstanceGroupManagersSetTargetPoolsRequest.Builder addTargetPools(String value)
The URL of all TargetPool resources to which instances in the instanceGroup 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 the instanceGroup 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
public RegionInstanceGroupManagersSetTargetPoolsRequest.Builder clearTargetPools()
The URL of all TargetPool resources to which instances in the instanceGroup 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 the instanceGroup 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.
-
setUnknownFields
public final RegionInstanceGroupManagersSetTargetPoolsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersSetTargetPoolsRequest.Builder>
-
mergeUnknownFields
public final RegionInstanceGroupManagersSetTargetPoolsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersSetTargetPoolsRequest.Builder>
-
-