Class AutoscalersScopedList.Builder (1.52.0)

public static final class AutoscalersScopedList.Builder extends GeneratedMessageV3.Builder<AutoscalersScopedList.Builder> implements AutoscalersScopedListOrBuilder

Protobuf type google.cloud.compute.v1.AutoscalersScopedList

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllAutoscalers(Iterable<? extends Autoscaler> values)

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
Type Description
AutoscalersScopedList.Builder

addAutoscalers(Autoscaler value)

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
Name Description
value Autoscaler
Returns
Type Description
AutoscalersScopedList.Builder

addAutoscalers(Autoscaler.Builder builderForValue)

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
Name Description
builderForValue Autoscaler.Builder
Returns
Type Description
AutoscalersScopedList.Builder

addAutoscalers(int index, Autoscaler value)

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
Name Description
index int
value Autoscaler
Returns
Type Description
AutoscalersScopedList.Builder

addAutoscalers(int index, Autoscaler.Builder builderForValue)

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
Name Description
index int
builderForValue Autoscaler.Builder
Returns
Type Description
AutoscalersScopedList.Builder

addAutoscalersBuilder()

public Autoscaler.Builder addAutoscalersBuilder()

[Output Only] A list of autoscalers contained in this scope.

repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;

Returns
Type Description
Autoscaler.Builder

addAutoscalersBuilder(int index)

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
Name Description
index int
Returns
Type Description
Autoscaler.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutoscalersScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AutoscalersScopedList.Builder
Overrides

build()

public AutoscalersScopedList build()
Returns
Type Description
AutoscalersScopedList

buildPartial()

public AutoscalersScopedList buildPartial()
Returns
Type Description
AutoscalersScopedList

clear()

public AutoscalersScopedList.Builder clear()
Returns
Type Description
AutoscalersScopedList.Builder
Overrides

clearAutoscalers()

public AutoscalersScopedList.Builder clearAutoscalers()

[Output Only] A list of autoscalers contained in this scope.

repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;

Returns
Type Description
AutoscalersScopedList.Builder

clearField(Descriptors.FieldDescriptor field)

public AutoscalersScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AutoscalersScopedList.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AutoscalersScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AutoscalersScopedList.Builder
Overrides

clearWarning()

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
Type Description
AutoscalersScopedList.Builder

clone()

public AutoscalersScopedList.Builder clone()
Returns
Type Description
AutoscalersScopedList.Builder
Overrides

getAutoscalers(int index)

public Autoscaler getAutoscalers(int index)

[Output Only] A list of autoscalers contained in this scope.

repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;

Parameter
Name Description
index int
Returns
Type Description
Autoscaler

getAutoscalersBuilder(int index)

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
Name Description
index int
Returns
Type Description
Autoscaler.Builder

getAutoscalersBuilderList()

public List<Autoscaler.Builder> getAutoscalersBuilderList()

[Output Only] A list of autoscalers contained in this scope.

repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;

Returns
Type Description
List<Builder>

getAutoscalersCount()

public int getAutoscalersCount()

[Output Only] A list of autoscalers contained in this scope.

repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;

Returns
Type Description
int

getAutoscalersList()

public List<Autoscaler> getAutoscalersList()

[Output Only] A list of autoscalers contained in this scope.

repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;

Returns
Type Description
List<Autoscaler>

getAutoscalersOrBuilder(int index)

public AutoscalerOrBuilder getAutoscalersOrBuilder(int index)

[Output Only] A list of autoscalers contained in this scope.

repeated .google.cloud.compute.v1.Autoscaler autoscalers = 465771644;

Parameter
Name Description
index int
Returns
Type Description
AutoscalerOrBuilder

getAutoscalersOrBuilderList()

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>

getDefaultInstanceForType()

public AutoscalersScopedList getDefaultInstanceForType()
Returns
Type Description
AutoscalersScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getWarning()

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
Type Description
Warning

The warning.

getWarningBuilder()

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
Type Description
Warning.Builder

getWarningOrBuilder()

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
Type Description
WarningOrBuilder

hasWarning()

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AutoscalersScopedList other)

public AutoscalersScopedList.Builder mergeFrom(AutoscalersScopedList other)
Parameter
Name Description
other AutoscalersScopedList
Returns
Type Description
AutoscalersScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutoscalersScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutoscalersScopedList.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AutoscalersScopedList.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AutoscalersScopedList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutoscalersScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutoscalersScopedList.Builder
Overrides

mergeWarning(Warning value)

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
Name Description
value Warning
Returns
Type Description
AutoscalersScopedList.Builder

removeAutoscalers(int index)

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
Name Description
index int
Returns
Type Description
AutoscalersScopedList.Builder

setAutoscalers(int index, Autoscaler value)

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
Name Description
index int
value Autoscaler
Returns
Type Description
AutoscalersScopedList.Builder

setAutoscalers(int index, Autoscaler.Builder builderForValue)

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
Name Description
index int
builderForValue Autoscaler.Builder
Returns
Type Description
AutoscalersScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AutoscalersScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AutoscalersScopedList.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AutoscalersScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AutoscalersScopedList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AutoscalersScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutoscalersScopedList.Builder
Overrides

setWarning(Warning value)

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
Name Description
value Warning
Returns
Type Description
AutoscalersScopedList.Builder

setWarning(Warning.Builder builderForValue)

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
Name Description
builderForValue Warning.Builder
Returns
Type Description
AutoscalersScopedList.Builder