Class LinkedInterconnectAttachments.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<LinkedInterconnectAttachments.Builder>
com.google.cloud.networkconnectivity.v1beta.LinkedInterconnectAttachments.Builder
- All Implemented Interfaces:
LinkedInterconnectAttachmentsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- LinkedInterconnectAttachments
public static final class LinkedInterconnectAttachments.Builder
extends com.google.protobuf.GeneratedMessage.Builder<LinkedInterconnectAttachments.Builder>
implements LinkedInterconnectAttachmentsOrBuilder
A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes.Protobuf type
google.cloud.networkconnectivity.v1beta.LinkedInterconnectAttachments-
Method Summary
Modifier and TypeMethodDescriptionaddAllIncludeImportRanges(Iterable<String> values) Optional.addAllUris(Iterable<String> values) The URIs of linked interconnect attachment resourcesaddIncludeImportRanges(String value) Optional.addIncludeImportRangesBytes(com.google.protobuf.ByteString value) Optional.The URIs of linked interconnect attachment resourcesaddUrisBytes(com.google.protobuf.ByteString value) The URIs of linked interconnect attachment resourcesbuild()clear()Optional.A value that controls whether site-to-site data transfer is enabled for these resources.The URIs of linked interconnect attachment resourcesOutput 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.booleanA value that controls whether site-to-site data transfer is enabled for these resources.getUris(int index) The URIs of linked interconnect attachment resourcescom.google.protobuf.ByteStringgetUrisBytes(int index) The URIs of linked interconnect attachment resourcesintThe URIs of linked interconnect attachment resourcescom.google.protobuf.ProtocolStringListThe URIs of linked interconnect attachment resourcesOutput 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) setIncludeImportRanges(int index, String value) Optional.setSiteToSiteDataTransfer(boolean value) A value that controls whether site-to-site data transfer is enabled for these resources.The URIs of linked interconnect attachment resourcessetVpcNetwork(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<LinkedInterconnectAttachments.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<LinkedInterconnectAttachments.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<LinkedInterconnectAttachments.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<LinkedInterconnectAttachments.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<LinkedInterconnectAttachments.Builder>
-
mergeFrom
public LinkedInterconnectAttachments.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<LinkedInterconnectAttachments.Builder>- Throws:
IOException
-
getUrisList
public com.google.protobuf.ProtocolStringList getUrisList()The URIs of linked interconnect attachment resources
repeated string uris = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getUrisListin interfaceLinkedInterconnectAttachmentsOrBuilder- Returns:
- A list containing the uris.
-
getUrisCount
public int getUrisCount()The URIs of linked interconnect attachment resources
repeated string uris = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getUrisCountin interfaceLinkedInterconnectAttachmentsOrBuilder- Returns:
- The count of uris.
-
getUris
The URIs of linked interconnect attachment resources
repeated string uris = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getUrisin interfaceLinkedInterconnectAttachmentsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The uris at the given index.
-
getUrisBytes
public com.google.protobuf.ByteString getUrisBytes(int index) The URIs of linked interconnect attachment resources
repeated string uris = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getUrisBytesin interfaceLinkedInterconnectAttachmentsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the uris at the given index.
-
setUris
The URIs of linked interconnect attachment resources
repeated string uris = 1 [(.google.api.resource_reference) = { ... }- Parameters:
index- The index to set the value at.value- The uris to set.- Returns:
- This builder for chaining.
-
addUris
The URIs of linked interconnect attachment resources
repeated string uris = 1 [(.google.api.resource_reference) = { ... }- Parameters:
value- The uris to add.- Returns:
- This builder for chaining.
-
addAllUris
The URIs of linked interconnect attachment resources
repeated string uris = 1 [(.google.api.resource_reference) = { ... }- Parameters:
values- The uris to add.- Returns:
- This builder for chaining.
-
clearUris
The URIs of linked interconnect attachment resources
repeated string uris = 1 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
addUrisBytes
The URIs of linked interconnect attachment resources
repeated string uris = 1 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes of the uris to add.- Returns:
- This builder for chaining.
-
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 interfaceLinkedInterconnectAttachmentsOrBuilder- 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 VLAN attachments are located.
string vpc_network = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getVpcNetworkin interfaceLinkedInterconnectAttachmentsOrBuilder- Returns:
- The vpcNetwork.
-
getVpcNetworkBytes
public com.google.protobuf.ByteString getVpcNetworkBytes()Output only. The VPC network where these VLAN attachments are located.
string vpc_network = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getVpcNetworkBytesin interfaceLinkedInterconnectAttachmentsOrBuilder- Returns:
- The bytes for vpcNetwork.
-
setVpcNetwork
Output only. The VPC network where these VLAN attachments 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 VLAN attachments are located.
string vpc_network = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setVpcNetworkBytes
public LinkedInterconnectAttachments.Builder setVpcNetworkBytes(com.google.protobuf.ByteString value) Output only. The VPC network where these VLAN attachments 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 interfaceLinkedInterconnectAttachmentsOrBuilder- 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 interfaceLinkedInterconnectAttachmentsOrBuilder- 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 interfaceLinkedInterconnectAttachmentsOrBuilder- 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 interfaceLinkedInterconnectAttachmentsOrBuilder- 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 LinkedInterconnectAttachments.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.
-