public static final class RoutersScopedList.Builder extends GeneratedMessageV3.Builder<RoutersScopedList.Builder> implements RoutersScopedListOrBuilder
Protobuf type google.cloud.compute.v1.RoutersScopedList
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
public static final Descriptors.Descriptor getDescriptor()
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>
|
public RoutersScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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
|
public RoutersScopedList.Builder addRouters(Router.Builder builderForValue)
A list of routers contained in this scope.
repeated .google.cloud.compute.v1.Router routers = 311906890;
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
|
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;
public Router.Builder addRoutersBuilder()
A list of routers contained in this scope.
repeated .google.cloud.compute.v1.Router routers = 311906890;
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
|
public RoutersScopedList build()
public RoutersScopedList buildPartial()
public RoutersScopedList.Builder clear()
Overrides
public RoutersScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public RoutersScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public RoutersScopedList.Builder clearRouters()
A list of routers contained in this scope.
repeated .google.cloud.compute.v1.Router routers = 311906890;
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;
public RoutersScopedList.Builder clone()
Overrides
public RoutersScopedList getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 |
|
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
|
public List<Router.Builder> getRoutersBuilderList()
A list of routers contained in this scope.
repeated .google.cloud.compute.v1.Router routers = 311906890;
public int getRoutersCount()
A list of routers contained in this scope.
repeated .google.cloud.compute.v1.Router routers = 311906890;
Returns |
Type |
Description |
int |
|
public List<Router> getRoutersList()
A list of routers contained in this scope.
repeated .google.cloud.compute.v1.Router routers = 311906890;
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
|
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 |
Type |
Description |
Warning |
The warning.
|
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;
public WarningOrBuilder getWarningOrBuilder()
Informational warning which replaces the list of routers when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
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()
Overrides
public final boolean isInitialized()
Overrides
public RoutersScopedList.Builder mergeFrom(RoutersScopedList other)
public RoutersScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public RoutersScopedList.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final RoutersScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
Name |
Description |
value |
Warning
|
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
|
public RoutersScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RoutersScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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 |
Name |
Description |
index |
int
|
value |
Router
|
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;
public final RoutersScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
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 |
Name |
Description |
value |
Warning
|
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;