Class RoutersScopedList.Builder (1.62.0)

public static final class RoutersScopedList.Builder extends GeneratedMessageV3.Builder<RoutersScopedList.Builder> implements RoutersScopedListOrBuilder

Protobuf type google.cloud.compute.v1.RoutersScopedList

Static Methods

getDescriptor()

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

Methods

addAllRouters(Iterable<? extends Router> values)

public RoutersScopedList.Builder addAllRouters(Iterable<? extends Router> values)

A list of routers contained in this scope.

repeated .google.cloud.compute.v1.Router routers = 311906890;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.Router>
Returns
Type Description
RoutersScopedList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRouters(Router value)

public RoutersScopedList.Builder addRouters(Router value)

A list of routers contained in this scope.

repeated .google.cloud.compute.v1.Router routers = 311906890;

Parameter
Name Description
value Router
Returns
Type Description
RoutersScopedList.Builder

addRouters(Router.Builder builderForValue)

public RoutersScopedList.Builder addRouters(Router.Builder builderForValue)

A list of routers contained in this scope.

repeated .google.cloud.compute.v1.Router routers = 311906890;

Parameter
Name Description
builderForValue Router.Builder
Returns
Type Description
RoutersScopedList.Builder

addRouters(int index, Router value)

public RoutersScopedList.Builder addRouters(int index, Router value)

A list of routers contained in this scope.

repeated .google.cloud.compute.v1.Router routers = 311906890;

Parameters
Name Description
index int
value Router
Returns
Type Description
RoutersScopedList.Builder

addRouters(int index, Router.Builder builderForValue)

public RoutersScopedList.Builder addRouters(int index, Router.Builder builderForValue)

A list of routers contained in this scope.

repeated .google.cloud.compute.v1.Router routers = 311906890;

Parameters
Name Description
index int
builderForValue Router.Builder
Returns
Type Description
RoutersScopedList.Builder

addRoutersBuilder()

public Router.Builder addRoutersBuilder()

A list of routers contained in this scope.

repeated .google.cloud.compute.v1.Router routers = 311906890;

Returns
Type Description
Router.Builder

addRoutersBuilder(int index)

public Router.Builder addRoutersBuilder(int index)

A list of routers contained in this scope.

repeated .google.cloud.compute.v1.Router routers = 311906890;

Parameter
Name Description
index int
Returns
Type Description
Router.Builder

build()

public RoutersScopedList build()
Returns
Type Description
RoutersScopedList

buildPartial()

public RoutersScopedList buildPartial()
Returns
Type Description
RoutersScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRouters()

public RoutersScopedList.Builder clearRouters()

A list of routers contained in this scope.

repeated .google.cloud.compute.v1.Router routers = 311906890;

Returns
Type Description
RoutersScopedList.Builder

clearWarning()

public RoutersScopedList.Builder clearWarning()

Informational warning which replaces the list of routers when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
RoutersScopedList.Builder

clone()

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

getDefaultInstanceForType()

public RoutersScopedList getDefaultInstanceForType()
Returns
Type Description
RoutersScopedList

getDescriptorForType()

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

getRouters(int index)

public Router getRouters(int index)

A list of routers contained in this scope.

repeated .google.cloud.compute.v1.Router routers = 311906890;

Parameter
Name Description
index int
Returns
Type Description
Router

getRoutersBuilder(int index)

public Router.Builder getRoutersBuilder(int index)

A list of routers contained in this scope.

repeated .google.cloud.compute.v1.Router routers = 311906890;

Parameter
Name Description
index int
Returns
Type Description
Router.Builder

getRoutersBuilderList()

public List<Router.Builder> getRoutersBuilderList()

A list of routers contained in this scope.

repeated .google.cloud.compute.v1.Router routers = 311906890;

Returns
Type Description
List<Builder>

getRoutersCount()

public int getRoutersCount()

A list of routers contained in this scope.

repeated .google.cloud.compute.v1.Router routers = 311906890;

Returns
Type Description
int

getRoutersList()

public List<Router> getRoutersList()

A list of routers contained in this scope.

repeated .google.cloud.compute.v1.Router routers = 311906890;

Returns
Type Description
List<Router>

getRoutersOrBuilder(int index)

public RouterOrBuilder getRoutersOrBuilder(int index)

A list of routers contained in this scope.

repeated .google.cloud.compute.v1.Router routers = 311906890;

Parameter
Name Description
index int
Returns
Type Description
RouterOrBuilder

getRoutersOrBuilderList()

public List<? extends RouterOrBuilder> getRoutersOrBuilderList()

A list of routers contained in this scope.

repeated .google.cloud.compute.v1.Router routers = 311906890;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.RouterOrBuilder>

getWarning()

public Warning getWarning()

Informational warning which replaces the list of routers when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
Warning

The warning.

getWarningBuilder()

public Warning.Builder getWarningBuilder()

Informational warning which replaces the list of routers when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
Warning.Builder

getWarningOrBuilder()

public WarningOrBuilder getWarningOrBuilder()

Informational warning which replaces the list of routers when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
WarningOrBuilder

hasWarning()

public boolean hasWarning()

Informational warning which replaces the list of routers 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(RoutersScopedList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWarning(Warning value)

public RoutersScopedList.Builder mergeWarning(Warning value)

Informational warning which replaces the list of routers when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
value Warning
Returns
Type Description
RoutersScopedList.Builder

removeRouters(int index)

public RoutersScopedList.Builder removeRouters(int index)

A list of routers contained in this scope.

repeated .google.cloud.compute.v1.Router routers = 311906890;

Parameter
Name Description
index int
Returns
Type Description
RoutersScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRouters(int index, Router value)

public RoutersScopedList.Builder setRouters(int index, Router value)

A list of routers contained in this scope.

repeated .google.cloud.compute.v1.Router routers = 311906890;

Parameters
Name Description
index int
value Router
Returns
Type Description
RoutersScopedList.Builder

setRouters(int index, Router.Builder builderForValue)

public RoutersScopedList.Builder setRouters(int index, Router.Builder builderForValue)

A list of routers contained in this scope.

repeated .google.cloud.compute.v1.Router routers = 311906890;

Parameters
Name Description
index int
builderForValue Router.Builder
Returns
Type Description
RoutersScopedList.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setWarning(Warning value)

public RoutersScopedList.Builder setWarning(Warning value)

Informational warning which replaces the list of routers when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
value Warning
Returns
Type Description
RoutersScopedList.Builder

setWarning(Warning.Builder builderForValue)

public RoutersScopedList.Builder setWarning(Warning.Builder builderForValue)

Informational warning which replaces the list of routers when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
builderForValue Warning.Builder
Returns
Type Description
RoutersScopedList.Builder