public static final class LinkedRouterApplianceInstances.Builder extends GeneratedMessageV3.Builder<LinkedRouterApplianceInstances.Builder> implements LinkedRouterApplianceInstancesOrBuilder
A collection of router appliance instances. If you have multiple router
appliance instances connected to the same site, they should all be attached
to the same spoke.
Protobuf type google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllInstances(Iterable<? extends RouterApplianceInstance> values)
public LinkedRouterApplianceInstances.Builder addAllInstances(Iterable<? extends RouterApplianceInstance> values)
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.networkconnectivity.v1.RouterApplianceInstance>
|
Returns
addInstances(RouterApplianceInstance value)
public LinkedRouterApplianceInstances.Builder addInstances(RouterApplianceInstance value)
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
Parameter
Returns
addInstances(RouterApplianceInstance.Builder builderForValue)
public LinkedRouterApplianceInstances.Builder addInstances(RouterApplianceInstance.Builder builderForValue)
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
Parameter
Returns
addInstances(int index, RouterApplianceInstance value)
public LinkedRouterApplianceInstances.Builder addInstances(int index, RouterApplianceInstance value)
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
Parameters
Returns
addInstances(int index, RouterApplianceInstance.Builder builderForValue)
public LinkedRouterApplianceInstances.Builder addInstances(int index, RouterApplianceInstance.Builder builderForValue)
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
Parameters
Returns
addInstancesBuilder()
public RouterApplianceInstance.Builder addInstancesBuilder()
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
Returns
addInstancesBuilder(int index)
public RouterApplianceInstance.Builder addInstancesBuilder(int index)
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LinkedRouterApplianceInstances.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public LinkedRouterApplianceInstances build()
Returns
buildPartial()
public LinkedRouterApplianceInstances buildPartial()
Returns
clear()
public LinkedRouterApplianceInstances.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public LinkedRouterApplianceInstances.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearInstances()
public LinkedRouterApplianceInstances.Builder clearInstances()
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public LinkedRouterApplianceInstances.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSiteToSiteDataTransfer()
public LinkedRouterApplianceInstances.Builder clearSiteToSiteDataTransfer()
A value that controls whether site-to-site data transfer is enabled for
these resources. This field is set to false by default, but you must set it
to true. Note that data transfer is available only in supported locations.
bool site_to_site_data_transfer = 2;
Returns
clone()
public LinkedRouterApplianceInstances.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public LinkedRouterApplianceInstances getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getInstances(int index)
public RouterApplianceInstance getInstances(int index)
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
Parameter
Returns
getInstancesBuilder(int index)
public RouterApplianceInstance.Builder getInstancesBuilder(int index)
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
Parameter
Returns
getInstancesBuilderList()
public List<RouterApplianceInstance.Builder> getInstancesBuilderList()
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
Returns
getInstancesCount()
public int getInstancesCount()
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
Returns
getInstancesList()
public List<RouterApplianceInstance> getInstancesList()
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
Returns
getInstancesOrBuilder(int index)
public RouterApplianceInstanceOrBuilder getInstancesOrBuilder(int index)
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
Parameter
Returns
getInstancesOrBuilderList()
public List<? extends RouterApplianceInstanceOrBuilder> getInstancesOrBuilderList()
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
Returns
Type | Description |
List<? extends com.google.cloud.networkconnectivity.v1.RouterApplianceInstanceOrBuilder> | |
getSiteToSiteDataTransfer()
public boolean getSiteToSiteDataTransfer()
A value that controls whether site-to-site data transfer is enabled for
these resources. This field is set to false by default, but you must set it
to true. Note that data transfer is available only in supported locations.
bool site_to_site_data_transfer = 2;
Returns
Type | Description |
boolean | The siteToSiteDataTransfer.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(LinkedRouterApplianceInstances other)
public LinkedRouterApplianceInstances.Builder mergeFrom(LinkedRouterApplianceInstances other)
Parameter
Returns
public LinkedRouterApplianceInstances.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public LinkedRouterApplianceInstances.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LinkedRouterApplianceInstances.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeInstances(int index)
public LinkedRouterApplianceInstances.Builder removeInstances(int index)
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public LinkedRouterApplianceInstances.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setInstances(int index, RouterApplianceInstance value)
public LinkedRouterApplianceInstances.Builder setInstances(int index, RouterApplianceInstance value)
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
Parameters
Returns
setInstances(int index, RouterApplianceInstance.Builder builderForValue)
public LinkedRouterApplianceInstances.Builder setInstances(int index, RouterApplianceInstance.Builder builderForValue)
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LinkedRouterApplianceInstances.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSiteToSiteDataTransfer(boolean value)
public LinkedRouterApplianceInstances.Builder setSiteToSiteDataTransfer(boolean value)
A value that controls whether site-to-site data transfer is enabled for
these resources. This field is set to false by default, but you must set it
to true. Note that data transfer is available only in supported locations.
bool site_to_site_data_transfer = 2;
Parameter
Name | Description |
value | boolean
The siteToSiteDataTransfer to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final LinkedRouterApplianceInstances.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides