public static final class InstancesScopedList.Builder extends GeneratedMessageV3.Builder<InstancesScopedList.Builder> implements InstancesScopedListOrBuilder
Protobuf type google.cloud.compute.v1.InstancesScopedList
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstancesScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public InstancesScopedList build()
buildPartial()
public InstancesScopedList buildPartial()
clear()
public InstancesScopedList.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public InstancesScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInstances()
public InstancesScopedList.Builder clearInstances()
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
clearOneof(Descriptors.OneofDescriptor oneof)
public InstancesScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
clone()
public InstancesScopedList.Builder clone()
Overrides
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 GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstancesScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public InstancesScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstancesScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InstancesScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;