public static final class RoutersScopedList.Builder extends GeneratedMessageV3.Builder<RoutersScopedList.Builder> implements RoutersScopedListOrBuilder
Protobuf type google.cloud.compute.v1.RoutersScopedList
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
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
public RoutersScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public RoutersScopedList.Builder addRouters(Router value)
A list of routers contained in this scope.
repeated .google.cloud.compute.v1.Router routers = 311906890;
Parameter
Returns
public RoutersScopedList.Builder addRouters(Router.Builder builderForValue)
A list of routers contained in this scope.
repeated .google.cloud.compute.v1.Router routers = 311906890;
Parameter
Returns
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
Returns
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
Returns
public Router.Builder addRoutersBuilder()
A list of routers contained in this scope.
repeated .google.cloud.compute.v1.Router routers = 311906890;
Returns
public Router.Builder addRoutersBuilder(int index)
A list of routers contained in this scope.
repeated .google.cloud.compute.v1.Router routers = 311906890;
Parameter
Returns
public RoutersScopedList build()
Returns
public RoutersScopedList buildPartial()
Returns
public RoutersScopedList.Builder clear()
Returns
Overrides
public RoutersScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public RoutersScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public RoutersScopedList.Builder clearRouters()
A list of routers contained in this scope.
repeated .google.cloud.compute.v1.Router routers = 311906890;
Returns
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
public RoutersScopedList.Builder clone()
Returns
Overrides
public RoutersScopedList getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Router getRouters(int index)
A list of routers contained in this scope.
repeated .google.cloud.compute.v1.Router routers = 311906890;
Parameter
Returns
public Router.Builder getRoutersBuilder(int index)
A list of routers contained in this scope.
repeated .google.cloud.compute.v1.Router routers = 311906890;
Parameter
Returns
public List<Router.Builder> getRoutersBuilderList()
A list of routers contained in this scope.
repeated .google.cloud.compute.v1.Router routers = 311906890;
Returns
public int getRoutersCount()
A list of routers contained in this scope.
repeated .google.cloud.compute.v1.Router routers = 311906890;
Returns
public List<Router> getRoutersList()
A list of routers contained in this scope.
repeated .google.cloud.compute.v1.Router routers = 311906890;
Returns
public RouterOrBuilder getRoutersOrBuilder(int index)
A list of routers contained in this scope.
repeated .google.cloud.compute.v1.Router routers = 311906890;
Parameter
Returns
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> | |
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
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
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
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public RoutersScopedList.Builder mergeFrom(RoutersScopedList other)
Parameter
Returns
public RoutersScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public RoutersScopedList.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final RoutersScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
public RoutersScopedList.Builder removeRouters(int index)
A list of routers contained in this scope.
repeated .google.cloud.compute.v1.Router routers = 311906890;
Parameter
Returns
public RoutersScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public RoutersScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
public final RoutersScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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
Returns