public static final class InstancesScopedList.Builder extends GeneratedMessage.Builder<InstancesScopedList.Builder> implements InstancesScopedListOrBuilder
Protobuf type google.cloud.compute.v1.InstancesScopedList
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
addAllInstances(Iterable<? extends Instance> values)
public InstancesScopedList.Builder addAllInstances(Iterable<? extends Instance> values)
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.compute.v1.Instance>
|
addInstances(Instance value)
public InstancesScopedList.Builder addInstances(Instance value)
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
| Parameter |
| Name |
Description |
value |
Instance
|
addInstances(Instance.Builder builderForValue)
public InstancesScopedList.Builder addInstances(Instance.Builder builderForValue)
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
addInstances(int index, Instance value)
public InstancesScopedList.Builder addInstances(int index, Instance value)
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
addInstances(int index, Instance.Builder builderForValue)
public InstancesScopedList.Builder addInstances(int index, Instance.Builder builderForValue)
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
addInstancesBuilder()
public Instance.Builder addInstancesBuilder()
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
addInstancesBuilder(int index)
public Instance.Builder addInstancesBuilder(int index)
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
| Parameter |
| Name |
Description |
index |
int
|
build()
public InstancesScopedList build()
buildPartial()
public InstancesScopedList buildPartial()
clear()
public InstancesScopedList.Builder clear()
Overrides
clearInstances()
public InstancesScopedList.Builder clearInstances()
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
clearWarning()
public InstancesScopedList.Builder clearWarning()
[Output Only] Informational warning which replaces the list of instances
when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
getDefaultInstanceForType()
public InstancesScopedList getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getInstances(int index)
public Instance getInstances(int index)
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
| Parameter |
| Name |
Description |
index |
int
|
getInstancesBuilder(int index)
public Instance.Builder getInstancesBuilder(int index)
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
| Parameter |
| Name |
Description |
index |
int
|
getInstancesBuilderList()
public List<Instance.Builder> getInstancesBuilderList()
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
getInstancesCount()
public int getInstancesCount()
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
| Returns |
| Type |
Description |
int |
|
getInstancesList()
public List<Instance> getInstancesList()
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
getInstancesOrBuilder(int index)
public InstanceOrBuilder getInstancesOrBuilder(int index)
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
| Parameter |
| Name |
Description |
index |
int
|
getInstancesOrBuilderList()
public List<? extends InstanceOrBuilder> getInstancesOrBuilderList()
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.compute.v1.InstanceOrBuilder> |
|
getWarning()
public Warning getWarning()
[Output Only] Informational warning which replaces the list of instances
when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Returns |
| Type |
Description |
Warning |
The warning.
|
getWarningBuilder()
public Warning.Builder getWarningBuilder()
[Output Only] Informational warning which replaces the list of instances
when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
getWarningOrBuilder()
public WarningOrBuilder getWarningOrBuilder()
[Output Only] Informational warning which replaces the list of instances
when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
hasWarning()
public boolean hasWarning()
[Output Only] Informational warning which replaces the list of instances
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(InstancesScopedList other)
public InstancesScopedList.Builder mergeFrom(InstancesScopedList other)
public InstancesScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InstancesScopedList.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeWarning(Warning value)
public InstancesScopedList.Builder mergeWarning(Warning value)
[Output Only] Informational warning which replaces the list of instances
when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Parameter |
| Name |
Description |
value |
Warning
|
removeInstances(int index)
public InstancesScopedList.Builder removeInstances(int index)
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
| Parameter |
| Name |
Description |
index |
int
|
setInstances(int index, Instance value)
public InstancesScopedList.Builder setInstances(int index, Instance value)
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
setInstances(int index, Instance.Builder builderForValue)
public InstancesScopedList.Builder setInstances(int index, Instance.Builder builderForValue)
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
setWarning(Warning value)
public InstancesScopedList.Builder setWarning(Warning value)
[Output Only] Informational warning which replaces the list of instances
when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Parameter |
| Name |
Description |
value |
Warning
|
setWarning(Warning.Builder builderForValue)
public InstancesScopedList.Builder setWarning(Warning.Builder builderForValue)
[Output Only] Informational warning which replaces the list of instances
when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;