public static final class InstanceGroupsScopedList.Builder extends GeneratedMessageV3.Builder<InstanceGroupsScopedList.Builder> implements InstanceGroupsScopedListOrBuilder
Protobuf type google.cloud.compute.v1.InstanceGroupsScopedList
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllInstanceGroups(Iterable<? extends InstanceGroup> values)
public InstanceGroupsScopedList.Builder addAllInstanceGroups(Iterable<? extends InstanceGroup> values)
[Output Only] The list of instance groups that are contained in this scope.
repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.InstanceGroup>
|
Returns
addInstanceGroups(InstanceGroup value)
public InstanceGroupsScopedList.Builder addInstanceGroups(InstanceGroup value)
[Output Only] The list of instance groups that are contained in this scope.
repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
Parameter
Returns
addInstanceGroups(InstanceGroup.Builder builderForValue)
public InstanceGroupsScopedList.Builder addInstanceGroups(InstanceGroup.Builder builderForValue)
[Output Only] The list of instance groups that are contained in this scope.
repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
Parameter
Returns
addInstanceGroups(int index, InstanceGroup value)
public InstanceGroupsScopedList.Builder addInstanceGroups(int index, InstanceGroup value)
[Output Only] The list of instance groups that are contained in this scope.
repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
Parameters
Returns
addInstanceGroups(int index, InstanceGroup.Builder builderForValue)
public InstanceGroupsScopedList.Builder addInstanceGroups(int index, InstanceGroup.Builder builderForValue)
[Output Only] The list of instance groups that are contained in this scope.
repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
Parameters
Returns
addInstanceGroupsBuilder()
public InstanceGroup.Builder addInstanceGroupsBuilder()
[Output Only] The list of instance groups that are contained in this scope.
repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
Returns
addInstanceGroupsBuilder(int index)
public InstanceGroup.Builder addInstanceGroupsBuilder(int index)
[Output Only] The list of instance groups that are contained in this scope.
repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstanceGroupsScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public InstanceGroupsScopedList build()
Returns
buildPartial()
public InstanceGroupsScopedList buildPartial()
Returns
clear()
public InstanceGroupsScopedList.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public InstanceGroupsScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearInstanceGroups()
public InstanceGroupsScopedList.Builder clearInstanceGroups()
[Output Only] The list of instance groups that are contained in this scope.
repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public InstanceGroupsScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearWarning()
public InstanceGroupsScopedList.Builder clearWarning()
[Output Only] An informational warning that replaces the list of instance groups when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
clone()
public InstanceGroupsScopedList.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public InstanceGroupsScopedList getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getInstanceGroups(int index)
public InstanceGroup getInstanceGroups(int index)
[Output Only] The list of instance groups that are contained in this scope.
repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
Parameter
Returns
getInstanceGroupsBuilder(int index)
public InstanceGroup.Builder getInstanceGroupsBuilder(int index)
[Output Only] The list of instance groups that are contained in this scope.
repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
Parameter
Returns
getInstanceGroupsBuilderList()
public List<InstanceGroup.Builder> getInstanceGroupsBuilderList()
[Output Only] The list of instance groups that are contained in this scope.
repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
Returns
getInstanceGroupsCount()
public int getInstanceGroupsCount()
[Output Only] The list of instance groups that are contained in this scope.
repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
Returns
getInstanceGroupsList()
public List<InstanceGroup> getInstanceGroupsList()
[Output Only] The list of instance groups that are contained in this scope.
repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
Returns
getInstanceGroupsOrBuilder(int index)
public InstanceGroupOrBuilder getInstanceGroupsOrBuilder(int index)
[Output Only] The list of instance groups that are contained in this scope.
repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
Parameter
Returns
getInstanceGroupsOrBuilderList()
public List<? extends InstanceGroupOrBuilder> getInstanceGroupsOrBuilderList()
[Output Only] The list of instance groups that are contained in this scope.
repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
Returns
Type | Description |
List<? extends com.google.cloud.compute.v1.InstanceGroupOrBuilder> | |
getWarning()
public Warning getWarning()
[Output Only] An informational warning that replaces the list of instance groups when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
getWarningBuilder()
public Warning.Builder getWarningBuilder()
[Output Only] An informational warning that replaces the list of instance groups when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
getWarningOrBuilder()
public WarningOrBuilder getWarningOrBuilder()
[Output Only] An informational warning that replaces the list of instance groups when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
hasWarning()
public boolean hasWarning()
[Output Only] An informational warning that replaces the list of instance groups 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(InstanceGroupsScopedList other)
public InstanceGroupsScopedList.Builder mergeFrom(InstanceGroupsScopedList other)
Parameter
Returns
public InstanceGroupsScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public InstanceGroupsScopedList.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstanceGroupsScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeWarning(Warning value)
public InstanceGroupsScopedList.Builder mergeWarning(Warning value)
[Output Only] An informational warning that replaces the list of instance groups when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Parameter
Returns
removeInstanceGroups(int index)
public InstanceGroupsScopedList.Builder removeInstanceGroups(int index)
[Output Only] The list of instance groups that are contained in this scope.
repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public InstanceGroupsScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setInstanceGroups(int index, InstanceGroup value)
public InstanceGroupsScopedList.Builder setInstanceGroups(int index, InstanceGroup value)
[Output Only] The list of instance groups that are contained in this scope.
repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
Parameters
Returns
setInstanceGroups(int index, InstanceGroup.Builder builderForValue)
public InstanceGroupsScopedList.Builder setInstanceGroups(int index, InstanceGroup.Builder builderForValue)
[Output Only] The list of instance groups that are contained in this scope.
repeated .google.cloud.compute.v1.InstanceGroup instance_groups = 366469310;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstanceGroupsScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InstanceGroupsScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setWarning(Warning value)
public InstanceGroupsScopedList.Builder setWarning(Warning value)
[Output Only] An informational warning that replaces the list of instance groups when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Parameter
Returns
setWarning(Warning.Builder builderForValue)
public InstanceGroupsScopedList.Builder setWarning(Warning.Builder builderForValue)
[Output Only] An informational warning that replaces the list of instance groups when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Parameter
Returns