public static final class NextHopInterconnectAttachment.Builder extends GeneratedMessage.Builder<NextHopInterconnectAttachment.Builder> implements NextHopInterconnectAttachmentOrBuilderA route next hop that leads to an interconnect attachment resource.
Protobuf type google.cloud.networkconnectivity.v1.NextHopInterconnectAttachment
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > NextHopInterconnectAttachment.BuilderImplements
NextHopInterconnectAttachmentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public NextHopInterconnectAttachment build()| Returns | |
|---|---|
| Type | Description |
NextHopInterconnectAttachment |
|
buildPartial()
public NextHopInterconnectAttachment buildPartial()| Returns | |
|---|---|
| Type | Description |
NextHopInterconnectAttachment |
|
clear()
public NextHopInterconnectAttachment.Builder clear()| Returns | |
|---|---|
| Type | Description |
NextHopInterconnectAttachment.Builder |
|
clearSiteToSiteDataTransfer()
public NextHopInterconnectAttachment.Builder clearSiteToSiteDataTransfer()Indicates whether site-to-site data transfer is allowed for this interconnect attachment resource. Data transfer is available only in supported locations.
bool site_to_site_data_transfer = 3;
| Returns | |
|---|---|
| Type | Description |
NextHopInterconnectAttachment.Builder |
This builder for chaining. |
clearUri()
public NextHopInterconnectAttachment.Builder clearUri()The URI of the interconnect attachment resource.
string uri = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
NextHopInterconnectAttachment.Builder |
This builder for chaining. |
clearVpcNetwork()
public NextHopInterconnectAttachment.Builder clearVpcNetwork()The VPC network where this interconnect attachment is located.
string vpc_network = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
NextHopInterconnectAttachment.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public NextHopInterconnectAttachment getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
NextHopInterconnectAttachment |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSiteToSiteDataTransfer()
public boolean getSiteToSiteDataTransfer()Indicates whether site-to-site data transfer is allowed for this interconnect attachment resource. Data transfer is available only in supported locations.
bool site_to_site_data_transfer = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
The siteToSiteDataTransfer. |
getUri()
public String getUri()The URI of the interconnect attachment resource.
string uri = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The uri. |
getUriBytes()
public ByteString getUriBytes()The URI of the interconnect attachment resource.
string uri = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uri. |
getVpcNetwork()
public String getVpcNetwork()The VPC network where this interconnect attachment is located.
string vpc_network = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The vpcNetwork. |
getVpcNetworkBytes()
public ByteString getVpcNetworkBytes()The VPC network where this interconnect attachment is located.
string vpc_network = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for vpcNetwork. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(NextHopInterconnectAttachment other)
public NextHopInterconnectAttachment.Builder mergeFrom(NextHopInterconnectAttachment other)| Parameter | |
|---|---|
| Name | Description |
other |
NextHopInterconnectAttachment |
| Returns | |
|---|---|
| Type | Description |
NextHopInterconnectAttachment.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NextHopInterconnectAttachment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NextHopInterconnectAttachment.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public NextHopInterconnectAttachment.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
NextHopInterconnectAttachment.Builder |
|
setSiteToSiteDataTransfer(boolean value)
public NextHopInterconnectAttachment.Builder setSiteToSiteDataTransfer(boolean value)Indicates whether site-to-site data transfer is allowed for this interconnect attachment resource. Data transfer is available only in supported locations.
bool site_to_site_data_transfer = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe siteToSiteDataTransfer to set. |
| Returns | |
|---|---|
| Type | Description |
NextHopInterconnectAttachment.Builder |
This builder for chaining. |
setUri(String value)
public NextHopInterconnectAttachment.Builder setUri(String value)The URI of the interconnect attachment resource.
string uri = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uri to set. |
| Returns | |
|---|---|
| Type | Description |
NextHopInterconnectAttachment.Builder |
This builder for chaining. |
setUriBytes(ByteString value)
public NextHopInterconnectAttachment.Builder setUriBytes(ByteString value)The URI of the interconnect attachment resource.
string uri = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uri to set. |
| Returns | |
|---|---|
| Type | Description |
NextHopInterconnectAttachment.Builder |
This builder for chaining. |
setVpcNetwork(String value)
public NextHopInterconnectAttachment.Builder setVpcNetwork(String value)The VPC network where this interconnect attachment is located.
string vpc_network = 2 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe vpcNetwork to set. |
| Returns | |
|---|---|
| Type | Description |
NextHopInterconnectAttachment.Builder |
This builder for chaining. |
setVpcNetworkBytes(ByteString value)
public NextHopInterconnectAttachment.Builder setVpcNetworkBytes(ByteString value)The VPC network where this interconnect attachment is located.
string vpc_network = 2 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for vpcNetwork to set. |
| Returns | |
|---|---|
| Type | Description |
NextHopInterconnectAttachment.Builder |
This builder for chaining. |