Class AutoscalersScopedList.Builder (1.18.0)

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

Protobuf type google.cloud.compute.v1.AutoscalersScopedList

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
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

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

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

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

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

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 Overrides

build()

public AutoscalersScopedList build()
Returns
TypeDescription
AutoscalersScopedList

buildPartial()

public AutoscalersScopedList buildPartial()
Returns
TypeDescription
AutoscalersScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

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

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

setField(Descriptors.FieldDescriptor field, Object value)

public AutoscalersScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns 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 Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

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