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.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()
Returns
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>
|
Returns
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
Returns
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;
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns
addInstancesBuilder()
public Instance.Builder addInstancesBuilder()
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstancesScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public InstancesScopedList build()
Returns
buildPartial()
public InstancesScopedList buildPartial()
Returns
clear()
public InstancesScopedList.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public InstancesScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearInstances()
public InstancesScopedList.Builder clearInstances()
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public InstancesScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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;
Returns
clone()
public InstancesScopedList.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public InstancesScopedList getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
getInstancesBuilderList()
public List<Instance.Builder> getInstancesBuilderList()
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
Returns
getInstancesCount()
public int getInstancesCount()
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
Returns
getInstancesList()
public List<Instance> getInstancesList()
[Output Only] A list of instances contained in this scope.
repeated .google.cloud.compute.v1.Instance instances = 29097598;
Returns
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
Returns
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
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;
Returns
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;
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(InstancesScopedList other)
public InstancesScopedList.Builder mergeFrom(InstancesScopedList other)
Parameter
Returns
public InstancesScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public InstancesScopedList.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstancesScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public InstancesScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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;
Parameters
Returns
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;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstancesScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InstancesScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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;
Parameter
Returns