Class AutoscalersScopedList.Builder (1.24.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.Autoscaler>
Returns
TypeDescription
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
NameDescription
valueAutoscaler
Returns
TypeDescription
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
NameDescription
builderForValueAutoscaler.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAutoscaler
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAutoscaler.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Autoscaler.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutoscalersScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AutoscalersScopedList.Builder
Overrides

build()

public AutoscalersScopedList build()
Returns
TypeDescription
AutoscalersScopedList

buildPartial()

public AutoscalersScopedList buildPartial()
Returns
TypeDescription
AutoscalersScopedList

clear()

public AutoscalersScopedList.Builder clear()
Returns
TypeDescription
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
TypeDescription
AutoscalersScopedList.Builder

clearField(Descriptors.FieldDescriptor field)

public AutoscalersScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AutoscalersScopedList.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AutoscalersScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
AutoscalersScopedList.Builder

clone()

public AutoscalersScopedList.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.compute.v1.AutoscalerOrBuilder>

getDefaultInstanceForType()

public AutoscalersScopedList getDefaultInstanceForType()
Returns
TypeDescription
AutoscalersScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the warning field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AutoscalersScopedList other)

public AutoscalersScopedList.Builder mergeFrom(AutoscalersScopedList other)
Parameter
NameDescription
otherAutoscalersScopedList
Returns
TypeDescription
AutoscalersScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutoscalersScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoscalersScopedList.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AutoscalersScopedList.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AutoscalersScopedList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutoscalersScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueWarning
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueAutoscaler
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAutoscaler.Builder
Returns
TypeDescription
AutoscalersScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AutoscalersScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AutoscalersScopedList.Builder
Overrides

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

public AutoscalersScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AutoscalersScopedList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AutoscalersScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueWarning
Returns
TypeDescription
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
NameDescription
builderForValueWarning.Builder
Returns
TypeDescription
AutoscalersScopedList.Builder