public static final class TargetInstancesScopedList.Builder extends GeneratedMessage.Builder<TargetInstancesScopedList.Builder> implements TargetInstancesScopedListOrBuilder
Protobuf type google.cloud.compute.v1.TargetInstancesScopedList
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllTargetInstances(Iterable<? extends TargetInstance> values)
public TargetInstancesScopedList.Builder addAllTargetInstances(Iterable<? extends TargetInstance> values)
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.compute.v1.TargetInstance>
|
addTargetInstances(TargetInstance value)
public TargetInstancesScopedList.Builder addTargetInstances(TargetInstance value)
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
addTargetInstances(TargetInstance.Builder builderForValue)
public TargetInstancesScopedList.Builder addTargetInstances(TargetInstance.Builder builderForValue)
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
addTargetInstances(int index, TargetInstance value)
public TargetInstancesScopedList.Builder addTargetInstances(int index, TargetInstance value)
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
addTargetInstances(int index, TargetInstance.Builder builderForValue)
public TargetInstancesScopedList.Builder addTargetInstances(int index, TargetInstance.Builder builderForValue)
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
addTargetInstancesBuilder()
public TargetInstance.Builder addTargetInstancesBuilder()
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
addTargetInstancesBuilder(int index)
public TargetInstance.Builder addTargetInstancesBuilder(int index)
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
| Parameter |
| Name |
Description |
index |
int
|
build()
public TargetInstancesScopedList build()
buildPartial()
public TargetInstancesScopedList buildPartial()
clear()
public TargetInstancesScopedList.Builder clear()
Overrides
clearTargetInstances()
public TargetInstancesScopedList.Builder clearTargetInstances()
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
clearWarning()
public TargetInstancesScopedList.Builder clearWarning()
Informational warning which replaces the list of addresses when
the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
getDefaultInstanceForType()
public TargetInstancesScopedList getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getTargetInstances(int index)
public TargetInstance getTargetInstances(int index)
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
| Parameter |
| Name |
Description |
index |
int
|
getTargetInstancesBuilder(int index)
public TargetInstance.Builder getTargetInstancesBuilder(int index)
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
| Parameter |
| Name |
Description |
index |
int
|
getTargetInstancesBuilderList()
public List<TargetInstance.Builder> getTargetInstancesBuilderList()
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
getTargetInstancesCount()
public int getTargetInstancesCount()
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
| Returns |
| Type |
Description |
int |
|
getTargetInstancesList()
public List<TargetInstance> getTargetInstancesList()
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
getTargetInstancesOrBuilder(int index)
public TargetInstanceOrBuilder getTargetInstancesOrBuilder(int index)
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
| Parameter |
| Name |
Description |
index |
int
|
getTargetInstancesOrBuilderList()
public List<? extends TargetInstanceOrBuilder> getTargetInstancesOrBuilderList()
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.compute.v1.TargetInstanceOrBuilder> |
|
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 |
| Type |
Description |
Warning |
The warning.
|
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;
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;
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TargetInstancesScopedList other)
public TargetInstancesScopedList.Builder mergeFrom(TargetInstancesScopedList other)
public TargetInstancesScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TargetInstancesScopedList.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeWarning(Warning value)
public TargetInstancesScopedList.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 |
| Name |
Description |
value |
Warning
|
removeTargetInstances(int index)
public TargetInstancesScopedList.Builder removeTargetInstances(int index)
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
| Parameter |
| Name |
Description |
index |
int
|
setTargetInstances(int index, TargetInstance value)
public TargetInstancesScopedList.Builder setTargetInstances(int index, TargetInstance value)
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
setTargetInstances(int index, TargetInstance.Builder builderForValue)
public TargetInstancesScopedList.Builder setTargetInstances(int index, TargetInstance.Builder builderForValue)
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
setWarning(Warning value)
public TargetInstancesScopedList.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 |
| Name |
Description |
value |
Warning
|
setWarning(Warning.Builder builderForValue)
public TargetInstancesScopedList.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;