public static final class TargetPoolsScopedList.Builder extends GeneratedMessageV3.Builder<TargetPoolsScopedList.Builder> implements TargetPoolsScopedListOrBuilder
Protobuf type google.cloud.compute.v1.TargetPoolsScopedList
Methods
addAllTargetPools(Iterable<? extends TargetPool> values)
public TargetPoolsScopedList.Builder addAllTargetPools(Iterable<? extends TargetPool> values)
A list of target pools contained in this scope.
repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.TargetPool>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TargetPoolsScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addTargetPools(TargetPool value)
public TargetPoolsScopedList.Builder addTargetPools(TargetPool value)
A list of target pools contained in this scope.
repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;
Parameter
Returns
addTargetPools(TargetPool.Builder builderForValue)
public TargetPoolsScopedList.Builder addTargetPools(TargetPool.Builder builderForValue)
A list of target pools contained in this scope.
repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;
Parameter
Returns
addTargetPools(int index, TargetPool value)
public TargetPoolsScopedList.Builder addTargetPools(int index, TargetPool value)
A list of target pools contained in this scope.
repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;
Parameters
Returns
addTargetPools(int index, TargetPool.Builder builderForValue)
public TargetPoolsScopedList.Builder addTargetPools(int index, TargetPool.Builder builderForValue)
A list of target pools contained in this scope.
repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;
Parameters
Returns
addTargetPoolsBuilder()
public TargetPool.Builder addTargetPoolsBuilder()
A list of target pools contained in this scope.
repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;
Returns
addTargetPoolsBuilder(int index)
public TargetPool.Builder addTargetPoolsBuilder(int index)
A list of target pools contained in this scope.
repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;
Parameter
Returns
build()
public TargetPoolsScopedList build()
Returns
buildPartial()
public TargetPoolsScopedList buildPartial()
Returns
clear()
public TargetPoolsScopedList.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TargetPoolsScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TargetPoolsScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTargetPools()
public TargetPoolsScopedList.Builder clearTargetPools()
A list of target pools contained in this scope.
repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;
Returns
clearWarning()
public TargetPoolsScopedList.Builder clearWarning()
Informational warning which replaces the list of addresses when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
clone()
public TargetPoolsScopedList.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TargetPoolsScopedList getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getTargetPools(int index)
public TargetPool getTargetPools(int index)
A list of target pools contained in this scope.
repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;
Parameter
Returns
getTargetPoolsBuilder(int index)
public TargetPool.Builder getTargetPoolsBuilder(int index)
A list of target pools contained in this scope.
repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;
Parameter
Returns
getTargetPoolsBuilderList()
public List<TargetPool.Builder> getTargetPoolsBuilderList()
A list of target pools contained in this scope.
repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;
Returns
getTargetPoolsCount()
public int getTargetPoolsCount()
A list of target pools contained in this scope.
repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;
Returns
getTargetPoolsList()
public List<TargetPool> getTargetPoolsList()
A list of target pools contained in this scope.
repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;
Returns
getTargetPoolsOrBuilder(int index)
public TargetPoolOrBuilder getTargetPoolsOrBuilder(int index)
A list of target pools contained in this scope.
repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;
Parameter
Returns
getTargetPoolsOrBuilderList()
public List<? extends TargetPoolOrBuilder> getTargetPoolsOrBuilderList()
A list of target pools contained in this scope.
repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;
Returns
Type | Description |
List<? extends com.google.cloud.compute.v1.TargetPoolOrBuilder> | |
getWarning()
public Warning getWarning()
Informational warning which replaces the list of addresses when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
getWarningBuilder()
public Warning.Builder getWarningBuilder()
Informational warning which replaces the list of addresses when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
getWarningOrBuilder()
public WarningOrBuilder getWarningOrBuilder()
Informational warning which replaces the list of addresses when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
hasWarning()
public boolean hasWarning()
Informational warning which replaces the list of addresses when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
Type | Description |
boolean | Whether the warning field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TargetPoolsScopedList other)
public TargetPoolsScopedList.Builder mergeFrom(TargetPoolsScopedList other)
Parameter
Returns
public TargetPoolsScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TargetPoolsScopedList.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TargetPoolsScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeWarning(Warning value)
public TargetPoolsScopedList.Builder mergeWarning(Warning value)
Informational warning which replaces the list of addresses when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Parameter
Returns
removeTargetPools(int index)
public TargetPoolsScopedList.Builder removeTargetPools(int index)
A list of target pools contained in this scope.
repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TargetPoolsScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TargetPoolsScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTargetPools(int index, TargetPool value)
public TargetPoolsScopedList.Builder setTargetPools(int index, TargetPool value)
A list of target pools contained in this scope.
repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;
Parameters
Returns
setTargetPools(int index, TargetPool.Builder builderForValue)
public TargetPoolsScopedList.Builder setTargetPools(int index, TargetPool.Builder builderForValue)
A list of target pools contained in this scope.
repeated .google.cloud.compute.v1.TargetPool target_pools = 336072617;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final TargetPoolsScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setWarning(Warning value)
public TargetPoolsScopedList.Builder setWarning(Warning value)
Informational warning which replaces the list of addresses when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Parameter
Returns
setWarning(Warning.Builder builderForValue)
public TargetPoolsScopedList.Builder setWarning(Warning.Builder builderForValue)
Informational warning which replaces the list of addresses when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Parameter
Returns