Class RoutersScopedList.Builder (1.7.2)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.Router>
Returns
TypeDescription
RoutersScopedList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RoutersScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueRouter
Returns
TypeDescription
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
NameDescription
builderForValueRouter.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRouter
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRouter.Builder
Returns
TypeDescription
RoutersScopedList.Builder

addRoutersBuilder()

public Router.Builder addRoutersBuilder()

A list of routers contained in this scope.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Router.Builder

build()

public RoutersScopedList build()
Returns
TypeDescription
RoutersScopedList

buildPartial()

public RoutersScopedList buildPartial()
Returns
TypeDescription
RoutersScopedList

clear()

public RoutersScopedList.Builder clear()
Returns
TypeDescription
RoutersScopedList.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public RoutersScopedList.Builder clone()
Returns
TypeDescription
RoutersScopedList.Builder
Overrides

getDefaultInstanceForType()

public RoutersScopedList getDefaultInstanceForType()
Returns
TypeDescription
RoutersScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getRoutersCount()

public int getRoutersCount()

A list of routers contained in this scope.

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

Returns
TypeDescription
int

getRoutersList()

public List<Router> getRoutersList()

A list of routers contained in this scope.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RouterOrBuilder

getRoutersOrBuilderList()

public List<? extends RouterOrBuilder> getRoutersOrBuilderList()

A list of routers contained in this scope.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
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(RoutersScopedList other)

public RoutersScopedList.Builder mergeFrom(RoutersScopedList other)
Parameter
NameDescription
otherRoutersScopedList
Returns
TypeDescription
RoutersScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public RoutersScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueRouter
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRouter.Builder
Returns
TypeDescription
RoutersScopedList.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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