Class LinkedRouterApplianceInstances.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<LinkedRouterApplianceInstances.Builder>
com.google.cloud.networkconnectivity.v1beta.LinkedRouterApplianceInstances.Builder
- All Implemented Interfaces:
LinkedRouterApplianceInstancesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- LinkedRouterApplianceInstances
public static final class LinkedRouterApplianceInstances.Builder
extends com.google.protobuf.GeneratedMessage.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.v1beta.LinkedRouterApplianceInstances-
Method Summary
Modifier and TypeMethodDescriptionaddAllIncludeImportRanges(Iterable<String> values) Optional.addAllInstances(Iterable<? extends RouterApplianceInstance> values) The list of router appliance instances.addIncludeImportRanges(String value) Optional.addIncludeImportRangesBytes(com.google.protobuf.ByteString value) Optional.addInstances(int index, RouterApplianceInstance value) The list of router appliance instances.addInstances(int index, RouterApplianceInstance.Builder builderForValue) The list of router appliance instances.The list of router appliance instances.addInstances(RouterApplianceInstance.Builder builderForValue) The list of router appliance instances.The list of router appliance instances.addInstancesBuilder(int index) The list of router appliance instances.build()clear()Optional.The list of router appliance instances.A value that controls whether site-to-site data transfer is enabled for these resources.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetIncludeImportRanges(int index) Optional.com.google.protobuf.ByteStringgetIncludeImportRangesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.getInstances(int index) The list of router appliance instances.getInstancesBuilder(int index) The list of router appliance instances.The list of router appliance instances.intThe list of router appliance instances.The list of router appliance instances.getInstancesOrBuilder(int index) The list of router appliance instances.List<? extends RouterApplianceInstanceOrBuilder>The list of router appliance instances.booleanA value that controls whether site-to-site data transfer is enabled for these resources.Output only.com.google.protobuf.ByteStringOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeInstances(int index) The list of router appliance instances.setIncludeImportRanges(int index, String value) Optional.setInstances(int index, RouterApplianceInstance value) The list of router appliance instances.setInstances(int index, RouterApplianceInstance.Builder builderForValue) The list of router appliance instances.setSiteToSiteDataTransfer(boolean value) A value that controls whether site-to-site data transfer is enabled for these resources.setVpcNetwork(String value) Output only.setVpcNetworkBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<LinkedRouterApplianceInstances.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<LinkedRouterApplianceInstances.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<LinkedRouterApplianceInstances.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LinkedRouterApplianceInstances.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<LinkedRouterApplianceInstances.Builder>
-
mergeFrom
public LinkedRouterApplianceInstances.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LinkedRouterApplianceInstances.Builder>- Throws:
IOException
-
getInstancesList
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1beta.RouterApplianceInstance instances = 1;- Specified by:
getInstancesListin interfaceLinkedRouterApplianceInstancesOrBuilder
-
getInstancesCount
public int getInstancesCount()The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1beta.RouterApplianceInstance instances = 1;- Specified by:
getInstancesCountin interfaceLinkedRouterApplianceInstancesOrBuilder
-
getInstances
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1beta.RouterApplianceInstance instances = 1;- Specified by:
getInstancesin interfaceLinkedRouterApplianceInstancesOrBuilder
-
setInstances
public LinkedRouterApplianceInstances.Builder setInstances(int index, RouterApplianceInstance value) The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1beta.RouterApplianceInstance instances = 1; -
setInstances
public LinkedRouterApplianceInstances.Builder setInstances(int index, RouterApplianceInstance.Builder builderForValue) The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1beta.RouterApplianceInstance instances = 1; -
addInstances
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1beta.RouterApplianceInstance instances = 1; -
addInstances
public LinkedRouterApplianceInstances.Builder addInstances(int index, RouterApplianceInstance value) The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1beta.RouterApplianceInstance instances = 1; -
addInstances
public LinkedRouterApplianceInstances.Builder addInstances(RouterApplianceInstance.Builder builderForValue) The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1beta.RouterApplianceInstance instances = 1; -
addInstances
public LinkedRouterApplianceInstances.Builder addInstances(int index, RouterApplianceInstance.Builder builderForValue) The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1beta.RouterApplianceInstance instances = 1; -
addAllInstances
public LinkedRouterApplianceInstances.Builder addAllInstances(Iterable<? extends RouterApplianceInstance> values) The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1beta.RouterApplianceInstance instances = 1; -
clearInstances
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1beta.RouterApplianceInstance instances = 1; -
removeInstances
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1beta.RouterApplianceInstance instances = 1; -
getInstancesBuilder
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1beta.RouterApplianceInstance instances = 1; -
getInstancesOrBuilder
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1beta.RouterApplianceInstance instances = 1;- Specified by:
getInstancesOrBuilderin interfaceLinkedRouterApplianceInstancesOrBuilder
-
getInstancesOrBuilderList
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1beta.RouterApplianceInstance instances = 1;- Specified by:
getInstancesOrBuilderListin interfaceLinkedRouterApplianceInstancesOrBuilder
-
addInstancesBuilder
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1beta.RouterApplianceInstance instances = 1; -
addInstancesBuilder
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1beta.RouterApplianceInstance instances = 1; -
getInstancesBuilderList
The list of router appliance instances.
repeated .google.cloud.networkconnectivity.v1beta.RouterApplianceInstance instances = 1; -
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](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
bool site_to_site_data_transfer = 2;- Specified by:
getSiteToSiteDataTransferin interfaceLinkedRouterApplianceInstancesOrBuilder- Returns:
- The siteToSiteDataTransfer.
-
setSiteToSiteDataTransfer
A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
bool site_to_site_data_transfer = 2;- Parameters:
value- The siteToSiteDataTransfer to set.- Returns:
- This builder for chaining.
-
clearSiteToSiteDataTransfer
A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
bool site_to_site_data_transfer = 2;- Returns:
- This builder for chaining.
-
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) = { ... }- Specified by:
getVpcNetworkin interfaceLinkedRouterApplianceInstancesOrBuilder- Returns:
- The vpcNetwork.
-
getVpcNetworkBytes
public com.google.protobuf.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) = { ... }- Specified by:
getVpcNetworkBytesin interfaceLinkedRouterApplianceInstancesOrBuilder- Returns:
- The bytes for vpcNetwork.
-
setVpcNetwork
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) = { ... }- Parameters:
value- The vpcNetwork to set.- Returns:
- This builder for chaining.
-
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) = { ... }- Returns:
- This builder for chaining.
-
setVpcNetworkBytes
public LinkedRouterApplianceInstances.Builder setVpcNetworkBytes(com.google.protobuf.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) = { ... }- Parameters:
value- The bytes for vpcNetwork to set.- Returns:
- This builder for chaining.
-
getIncludeImportRangesList
public com.google.protobuf.ProtocolStringList getIncludeImportRangesList()Optional. Hub routes fully encompassed by include import ranges are included during import from hub.
repeated string include_import_ranges = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIncludeImportRangesListin interfaceLinkedRouterApplianceInstancesOrBuilder- Returns:
- A list containing the includeImportRanges.
-
getIncludeImportRangesCount
public int getIncludeImportRangesCount()Optional. Hub routes fully encompassed by include import ranges are included during import from hub.
repeated string include_import_ranges = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIncludeImportRangesCountin interfaceLinkedRouterApplianceInstancesOrBuilder- Returns:
- The count of includeImportRanges.
-
getIncludeImportRanges
Optional. Hub routes fully encompassed by include import ranges are included during import from hub.
repeated string include_import_ranges = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIncludeImportRangesin interfaceLinkedRouterApplianceInstancesOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The includeImportRanges at the given index.
-
getIncludeImportRangesBytes
public com.google.protobuf.ByteString getIncludeImportRangesBytes(int index) Optional. Hub routes fully encompassed by include import ranges are included during import from hub.
repeated string include_import_ranges = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIncludeImportRangesBytesin interfaceLinkedRouterApplianceInstancesOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the includeImportRanges at the given index.
-
setIncludeImportRanges
Optional. Hub routes fully encompassed by include import ranges are included during import from hub.
repeated string include_import_ranges = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The includeImportRanges to set.- Returns:
- This builder for chaining.
-
addIncludeImportRanges
Optional. Hub routes fully encompassed by include import ranges are included during import from hub.
repeated string include_import_ranges = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The includeImportRanges to add.- Returns:
- This builder for chaining.
-
addAllIncludeImportRanges
Optional. Hub routes fully encompassed by include import ranges are included during import from hub.
repeated string include_import_ranges = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The includeImportRanges to add.- Returns:
- This builder for chaining.
-
clearIncludeImportRanges
Optional. Hub routes fully encompassed by include import ranges are included during import from hub.
repeated string include_import_ranges = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addIncludeImportRangesBytes
public LinkedRouterApplianceInstances.Builder addIncludeImportRangesBytes(com.google.protobuf.ByteString value) Optional. Hub routes fully encompassed by include import ranges are included during import from hub.
repeated string include_import_ranges = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the includeImportRanges to add.- Returns:
- This builder for chaining.
-