public static final class AutoscalersScopedList.Builder extends GeneratedMessageV3.Builder<AutoscalersScopedList.Builder> implements AutoscalersScopedListOrBuilder
Protobuf type google.cloud.compute.v1.AutoscalersScopedList
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public AutoscalersScopedList.Builder addAllAutoscalers(Iterable<? extends Autoscaler> values)
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.Autoscaler>
|
Returns
public AutoscalersScopedList.Builder addAutoscalers(Autoscaler value)
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
Parameter
Returns
public AutoscalersScopedList.Builder addAutoscalers(Autoscaler.Builder builderForValue)
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
Parameter
Returns
public AutoscalersScopedList.Builder addAutoscalers(int index, Autoscaler value)
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
Parameters
Returns
public AutoscalersScopedList.Builder addAutoscalers(int index, Autoscaler.Builder builderForValue)
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
Parameters
Returns
public Autoscaler.Builder addAutoscalersBuilder()
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
Returns
public Autoscaler.Builder addAutoscalersBuilder(int index)
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
Parameter
Returns
public AutoscalersScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public AutoscalersScopedList build()
Returns
public AutoscalersScopedList buildPartial()
Returns
public AutoscalersScopedList.Builder clear()
Returns
Overrides
public AutoscalersScopedList.Builder clearAutoscalers()
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
Returns
public AutoscalersScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public AutoscalersScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public AutoscalersScopedList.Builder clearWarning()
[Output Only] Informational warning which replaces the list of autoscalers when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
public AutoscalersScopedList.Builder clone()
Returns
Overrides
public Autoscaler getAutoscalers(int index)
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
Parameter
Returns
public Autoscaler.Builder getAutoscalersBuilder(int index)
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
Parameter
Returns
public List<Autoscaler.Builder> getAutoscalersBuilderList()
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
Returns
public int getAutoscalersCount()
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
Returns
public List<Autoscaler> getAutoscalersList()
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
Returns
public AutoscalerOrBuilder getAutoscalersOrBuilder(int index)
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
Parameter
Returns
public List<? extends AutoscalerOrBuilder> getAutoscalersOrBuilderList()
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
Returns
Type | Description |
List<? extends com.google.cloud.compute.v1.AutoscalerOrBuilder> | |
public AutoscalersScopedList getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Warning getWarning()
[Output Only] Informational warning which replaces the list of autoscalers when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
public Warning.Builder getWarningBuilder()
[Output Only] Informational warning which replaces the list of autoscalers when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
public WarningOrBuilder getWarningOrBuilder()
[Output Only] Informational warning which replaces the list of autoscalers when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
public boolean hasWarning()
[Output Only] Informational warning which replaces the list of autoscalers when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
Type | Description |
boolean | Whether the warning field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public AutoscalersScopedList.Builder mergeFrom(AutoscalersScopedList other)
Parameter
Returns
public AutoscalersScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public AutoscalersScopedList.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final AutoscalersScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public AutoscalersScopedList.Builder mergeWarning(Warning value)
[Output Only] Informational warning which replaces the list of autoscalers when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Parameter
Returns
public AutoscalersScopedList.Builder removeAutoscalers(int index)
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
Parameter
Returns
public AutoscalersScopedList.Builder setAutoscalers(int index, Autoscaler value)
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
Parameters
Returns
public AutoscalersScopedList.Builder setAutoscalers(int index, Autoscaler.Builder builderForValue)
[Output Only] A list of autoscalers contained in this scope.
repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;
Parameters
Returns
public AutoscalersScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public AutoscalersScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final AutoscalersScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public AutoscalersScopedList.Builder setWarning(Warning value)
[Output Only] Informational warning which replaces the list of autoscalers when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Parameter
Returns
public AutoscalersScopedList.Builder setWarning(Warning.Builder builderForValue)
[Output Only] Informational warning which replaces the list of autoscalers when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Parameter
Returns