public static final class TargetInstancesScopedList.Builder extends GeneratedMessageV3.Builder<TargetInstancesScopedList.Builder> implements TargetInstancesScopedListOrBuilder
Protobuf type google.cloud.compute.v1.TargetInstancesScopedList
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>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TargetInstancesScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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;
Parameter
Returns
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;
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns
addTargetInstancesBuilder()
public TargetInstance.Builder addTargetInstancesBuilder()
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
Returns
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
Returns
build()
public TargetInstancesScopedList build()
Returns
buildPartial()
public TargetInstancesScopedList buildPartial()
Returns
clear()
public TargetInstancesScopedList.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TargetInstancesScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TargetInstancesScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTargetInstances()
public TargetInstancesScopedList.Builder clearTargetInstances()
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
Returns
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;
Returns
clone()
public TargetInstancesScopedList.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TargetInstancesScopedList getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
getTargetInstancesBuilderList()
public List<TargetInstance.Builder> getTargetInstancesBuilderList()
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
Returns
getTargetInstancesCount()
public int getTargetInstancesCount()
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
Returns
getTargetInstancesList()
public List<TargetInstance> getTargetInstancesList()
A list of target instances contained in this scope.
repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;
Returns
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
Returns
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
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(TargetInstancesScopedList other)
public TargetInstancesScopedList.Builder mergeFrom(TargetInstancesScopedList other)
Parameter
Returns
public TargetInstancesScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TargetInstancesScopedList.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TargetInstancesScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TargetInstancesScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TargetInstancesScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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;
Parameters
Returns
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;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final TargetInstancesScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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;
Parameter
Returns