public static final class LinkedInterconnectAttachments.Builder extends GeneratedMessageV3.Builder<LinkedInterconnectAttachments.Builder> implements LinkedInterconnectAttachmentsOrBuilderA 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.v1.LinkedInterconnectAttachments
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LinkedInterconnectAttachments.BuilderImplements
LinkedInterconnectAttachmentsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addAllUris(Iterable<String> values)
public LinkedInterconnectAttachments.Builder addAllUris(Iterable<String> values)The URIs of linked interconnect attachment resources
repeated string uris = 1 [(.google.api.resource_reference) = { ... }
| Name | Description |
| values | Iterable<String>The uris to add. |
| Type | Description |
| LinkedInterconnectAttachments.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LinkedInterconnectAttachments.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| LinkedInterconnectAttachments.Builder |
addUris(String value)
public LinkedInterconnectAttachments.Builder addUris(String value)The URIs of linked interconnect attachment resources
repeated string uris = 1 [(.google.api.resource_reference) = { ... }
| Name | Description |
| value | StringThe uris to add. |
| Type | Description |
| LinkedInterconnectAttachments.Builder | This builder for chaining. |
addUrisBytes(ByteString value)
public LinkedInterconnectAttachments.Builder addUrisBytes(ByteString value)The URIs of linked interconnect attachment resources
repeated string uris = 1 [(.google.api.resource_reference) = { ... }
| Name | Description |
| value | ByteStringThe bytes of the uris to add. |
| Type | Description |
| LinkedInterconnectAttachments.Builder | This builder for chaining. |
build()
public LinkedInterconnectAttachments build()| Type | Description |
| LinkedInterconnectAttachments |
buildPartial()
public LinkedInterconnectAttachments buildPartial()| Type | Description |
| LinkedInterconnectAttachments |
clear()
public LinkedInterconnectAttachments.Builder clear()| Type | Description |
| LinkedInterconnectAttachments.Builder |
clearField(Descriptors.FieldDescriptor field)
public LinkedInterconnectAttachments.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| LinkedInterconnectAttachments.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public LinkedInterconnectAttachments.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| LinkedInterconnectAttachments.Builder |
clearSiteToSiteDataTransfer()
public LinkedInterconnectAttachments.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;
| Type | Description |
| LinkedInterconnectAttachments.Builder | This builder for chaining. |
clearUris()
public LinkedInterconnectAttachments.Builder clearUris()The URIs of linked interconnect attachment resources
repeated string uris = 1 [(.google.api.resource_reference) = { ... }
| Type | Description |
| LinkedInterconnectAttachments.Builder | This builder for chaining. |
clearVpcNetwork()
public LinkedInterconnectAttachments.Builder 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) = { ... }
| Type | Description |
| LinkedInterconnectAttachments.Builder | This builder for chaining. |
clone()
public LinkedInterconnectAttachments.Builder clone()| Type | Description |
| LinkedInterconnectAttachments.Builder |
getDefaultInstanceForType()
public LinkedInterconnectAttachments getDefaultInstanceForType()| Type | Description |
| LinkedInterconnectAttachments |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
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;
| Type | Description |
| boolean | The siteToSiteDataTransfer. |
getUris(int index)
public String getUris(int index)The URIs of linked interconnect attachment resources
repeated string uris = 1 [(.google.api.resource_reference) = { ... }
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| String | The uris at the given index. |
getUrisBytes(int index)
public ByteString getUrisBytes(int index)The URIs of linked interconnect attachment resources
repeated string uris = 1 [(.google.api.resource_reference) = { ... }
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| ByteString | The bytes of the uris at the given index. |
getUrisCount()
public int getUrisCount()The URIs of linked interconnect attachment resources
repeated string uris = 1 [(.google.api.resource_reference) = { ... }
| Type | Description |
| int | The count of uris. |
getUrisList()
public ProtocolStringList getUrisList()The URIs of linked interconnect attachment resources
repeated string uris = 1 [(.google.api.resource_reference) = { ... }
| Type | Description |
| ProtocolStringList | A list containing the uris. |
getVpcNetwork()
public String 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) = { ... }
| Type | Description |
| String | The vpcNetwork. |
getVpcNetworkBytes()
public 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) = { ... }
| Type | Description |
| ByteString | The bytes for vpcNetwork. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(LinkedInterconnectAttachments other)
public LinkedInterconnectAttachments.Builder mergeFrom(LinkedInterconnectAttachments other)| Name | Description |
| other | LinkedInterconnectAttachments |
| Type | Description |
| LinkedInterconnectAttachments.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LinkedInterconnectAttachments.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| LinkedInterconnectAttachments.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public LinkedInterconnectAttachments.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| LinkedInterconnectAttachments.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LinkedInterconnectAttachments.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| LinkedInterconnectAttachments.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public LinkedInterconnectAttachments.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| LinkedInterconnectAttachments.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LinkedInterconnectAttachments.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| LinkedInterconnectAttachments.Builder |
setSiteToSiteDataTransfer(boolean value)
public LinkedInterconnectAttachments.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;
| Name | Description |
| value | booleanThe siteToSiteDataTransfer to set. |
| Type | Description |
| LinkedInterconnectAttachments.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final LinkedInterconnectAttachments.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| LinkedInterconnectAttachments.Builder |
setUris(int index, String value)
public LinkedInterconnectAttachments.Builder setUris(int index, String value)The URIs of linked interconnect attachment resources
repeated string uris = 1 [(.google.api.resource_reference) = { ... }
| Name | Description |
| index | intThe index to set the value at. |
| value | StringThe uris to set. |
| Type | Description |
| LinkedInterconnectAttachments.Builder | This builder for chaining. |
setVpcNetwork(String value)
public LinkedInterconnectAttachments.Builder setVpcNetwork(String 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) = { ... }
| Name | Description |
| value | StringThe vpcNetwork to set. |
| Type | Description |
| LinkedInterconnectAttachments.Builder | This builder for chaining. |
setVpcNetworkBytes(ByteString value)
public LinkedInterconnectAttachments.Builder setVpcNetworkBytes(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) = { ... }
| Name | Description |
| value | ByteStringThe bytes for vpcNetwork to set. |
| Type | Description |
| LinkedInterconnectAttachments.Builder | This builder for chaining. |