public static final class LinkedRouterApplianceInstances.Builder extends GeneratedMessageV3.Builder<LinkedRouterApplianceInstances.Builder> implements LinkedRouterApplianceInstancesOrBuilder
A collection of router appliance instances. If you configure multiple router
appliance instances to receive data from the same set of sites outside of
Google Cloud, we recommend that you associate those instances with the same
spoke.
Protobuf type google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addInstances(RouterApplianceInstance value)
public LinkedRouterApplianceInstances.Builder addInstances(RouterApplianceInstance value)
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
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;
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;
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;
addInstancesBuilder()
public RouterApplianceInstance.Builder addInstancesBuilder()
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
addInstancesBuilder(int index)
public RouterApplianceInstance.Builder addInstancesBuilder(int index)
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LinkedRouterApplianceInstances.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public LinkedRouterApplianceInstances build()
buildPartial()
public LinkedRouterApplianceInstances buildPartial()
clear()
public LinkedRouterApplianceInstances.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public LinkedRouterApplianceInstances.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInstances()
public LinkedRouterApplianceInstances.Builder clearInstances()
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public LinkedRouterApplianceInstances.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSiteToSiteDataTransfer()
public LinkedRouterApplianceInstances.Builder clearSiteToSiteDataTransfer()
A value that controls whether site-to-site data transfer is enabled for
these resources. Data transfer is available only in supported
locations.
bool site_to_site_data_transfer = 2;
clearVpcNetwork()
public LinkedRouterApplianceInstances.Builder clearVpcNetwork()
Output only. The VPC network where these router appliance instances are
located.
string vpc_network = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
clone()
public LinkedRouterApplianceInstances.Builder clone()
Overrides
getDefaultInstanceForType()
public LinkedRouterApplianceInstances getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getInstances(int index)
public RouterApplianceInstance getInstances(int index)
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
Parameter |
Name |
Description |
index |
int
|
getInstancesBuilder(int index)
public RouterApplianceInstance.Builder getInstancesBuilder(int index)
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
Parameter |
Name |
Description |
index |
int
|
getInstancesBuilderList()
public List<RouterApplianceInstance.Builder> getInstancesBuilderList()
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
getInstancesCount()
public int getInstancesCount()
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
Returns |
Type |
Description |
int |
|
getInstancesList()
public List<RouterApplianceInstance> getInstancesList()
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
getInstancesOrBuilder(int index)
public RouterApplianceInstanceOrBuilder getInstancesOrBuilder(int index)
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;
Parameter |
Name |
Description |
index |
int
|
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. Data transfer is available only in supported
locations.
bool site_to_site_data_transfer = 2;
Returns |
Type |
Description |
boolean |
The siteToSiteDataTransfer.
|
getVpcNetwork()
public String getVpcNetwork()
Output only. The VPC network where these router appliance instances are
located.
string vpc_network = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The vpcNetwork.
|
getVpcNetworkBytes()
public ByteString getVpcNetworkBytes()
Output only. The VPC network where these router appliance instances are
located.
string vpc_network = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for vpcNetwork.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(LinkedRouterApplianceInstances other)
public LinkedRouterApplianceInstances.Builder mergeFrom(LinkedRouterApplianceInstances other)
public LinkedRouterApplianceInstances.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public LinkedRouterApplianceInstances.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LinkedRouterApplianceInstances.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public LinkedRouterApplianceInstances.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LinkedRouterApplianceInstances.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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. Data transfer is available only in supported
locations.
bool site_to_site_data_transfer = 2;
Parameter |
Name |
Description |
value |
boolean
The siteToSiteDataTransfer to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final LinkedRouterApplianceInstances.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setVpcNetwork(String value)
public LinkedRouterApplianceInstances.Builder setVpcNetwork(String value)
Output only. The VPC network where these router appliance instances are
located.
string vpc_network = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The vpcNetwork to set.
|
setVpcNetworkBytes(ByteString value)
public LinkedRouterApplianceInstances.Builder setVpcNetworkBytes(ByteString value)
Output only. The VPC network where these router appliance instances are
located.
string vpc_network = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for vpcNetwork to set.
|