public static final class NextHopSpoke.Builder extends GeneratedMessage.Builder<NextHopSpoke.Builder> implements NextHopSpokeOrBuilderA route next hop that leads to a spoke resource.
Protobuf type google.cloud.networkconnectivity.v1beta.NextHopSpoke
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > NextHopSpoke.BuilderImplements
NextHopSpokeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public NextHopSpoke build()| Returns | |
|---|---|
| Type | Description |
NextHopSpoke |
|
buildPartial()
public NextHopSpoke buildPartial()| Returns | |
|---|---|
| Type | Description |
NextHopSpoke |
|
clear()
public NextHopSpoke.Builder clear()| Returns | |
|---|---|
| Type | Description |
NextHopSpoke.Builder |
|
clearSiteToSiteDataTransfer()
public NextHopSpoke.Builder clearSiteToSiteDataTransfer()Indicates whether site-to-site data transfer is allowed for this spoke resource. Data transfer is available only in supported locations. Whether this route is accessible to other hybrid spokes with site-to-site data transfer enabled. If this is false, the route is only accessible to VPC spokes of the connected Hub.
bool site_to_site_data_transfer = 2;
| Returns | |
|---|---|
| Type | Description |
NextHopSpoke.Builder |
This builder for chaining. |
clearUri()
public NextHopSpoke.Builder clearUri()The URI of the spoke resource.
string uri = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
NextHopSpoke.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public NextHopSpoke getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
NextHopSpoke |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSiteToSiteDataTransfer()
public boolean getSiteToSiteDataTransfer()Indicates whether site-to-site data transfer is allowed for this spoke resource. Data transfer is available only in supported locations. Whether this route is accessible to other hybrid spokes with site-to-site data transfer enabled. If this is false, the route is only accessible to VPC spokes of the connected Hub.
bool site_to_site_data_transfer = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
The siteToSiteDataTransfer. |
getUri()
public String getUri()The URI of the spoke resource.
string uri = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The uri. |
getUriBytes()
public ByteString getUriBytes()The URI of the spoke resource.
string uri = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uri. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(NextHopSpoke other)
public NextHopSpoke.Builder mergeFrom(NextHopSpoke other)| Parameter | |
|---|---|
| Name | Description |
other |
NextHopSpoke |
| Returns | |
|---|---|
| Type | Description |
NextHopSpoke.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NextHopSpoke.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NextHopSpoke.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public NextHopSpoke.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
NextHopSpoke.Builder |
|
setSiteToSiteDataTransfer(boolean value)
public NextHopSpoke.Builder setSiteToSiteDataTransfer(boolean value)Indicates whether site-to-site data transfer is allowed for this spoke resource. Data transfer is available only in supported locations. Whether this route is accessible to other hybrid spokes with site-to-site data transfer enabled. If this is false, the route is only accessible to VPC spokes of the connected Hub.
bool site_to_site_data_transfer = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe siteToSiteDataTransfer to set. |
| Returns | |
|---|---|
| Type | Description |
NextHopSpoke.Builder |
This builder for chaining. |
setUri(String value)
public NextHopSpoke.Builder setUri(String value)The URI of the spoke resource.
string uri = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uri to set. |
| Returns | |
|---|---|
| Type | Description |
NextHopSpoke.Builder |
This builder for chaining. |
setUriBytes(ByteString value)
public NextHopSpoke.Builder setUriBytes(ByteString value)The URI of the spoke resource.
string uri = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uri to set. |
| Returns | |
|---|---|
| Type | Description |
NextHopSpoke.Builder |
This builder for chaining. |