Class NextHopRouterApplianceInstance (1.54.0)

public final class NextHopRouterApplianceInstance extends GeneratedMessageV3 implements NextHopRouterApplianceInstanceOrBuilder

A route next hop that leads to a Router appliance instance.

Protobuf type google.cloud.networkconnectivity.v1.NextHopRouterApplianceInstance

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > NextHopRouterApplianceInstance

Static Fields

SITE_TO_SITE_DATA_TRANSFER_FIELD_NUMBER

public static final int SITE_TO_SITE_DATA_TRANSFER_FIELD_NUMBER
Field Value
Type Description
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
Type Description
int

VPC_NETWORK_FIELD_NUMBER

public static final int VPC_NETWORK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NextHopRouterApplianceInstance getDefaultInstance()
Returns
Type Description
NextHopRouterApplianceInstance

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static NextHopRouterApplianceInstance.Builder newBuilder()
Returns
Type Description
NextHopRouterApplianceInstance.Builder

newBuilder(NextHopRouterApplianceInstance prototype)

public static NextHopRouterApplianceInstance.Builder newBuilder(NextHopRouterApplianceInstance prototype)
Parameter
Name Description
prototype NextHopRouterApplianceInstance
Returns
Type Description
NextHopRouterApplianceInstance.Builder

parseDelimitedFrom(InputStream input)

public static NextHopRouterApplianceInstance parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NextHopRouterApplianceInstance
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NextHopRouterApplianceInstance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NextHopRouterApplianceInstance
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static NextHopRouterApplianceInstance parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
NextHopRouterApplianceInstance
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NextHopRouterApplianceInstance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NextHopRouterApplianceInstance
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NextHopRouterApplianceInstance parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NextHopRouterApplianceInstance
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NextHopRouterApplianceInstance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NextHopRouterApplianceInstance
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NextHopRouterApplianceInstance parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NextHopRouterApplianceInstance
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NextHopRouterApplianceInstance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NextHopRouterApplianceInstance
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static NextHopRouterApplianceInstance parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NextHopRouterApplianceInstance
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NextHopRouterApplianceInstance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NextHopRouterApplianceInstance
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static NextHopRouterApplianceInstance parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NextHopRouterApplianceInstance
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NextHopRouterApplianceInstance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NextHopRouterApplianceInstance
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<NextHopRouterApplianceInstance> parser()
Returns
Type Description
Parser<NextHopRouterApplianceInstance>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public NextHopRouterApplianceInstance getDefaultInstanceForType()
Returns
Type Description
NextHopRouterApplianceInstance

getParserForType()

public Parser<NextHopRouterApplianceInstance> getParserForType()
Returns
Type Description
Parser<NextHopRouterApplianceInstance>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSiteToSiteDataTransfer()

public boolean getSiteToSiteDataTransfer()

Indicates whether site-to-site data transfer is allowed for this Router appliance instance 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 Router appliance instance.

string uri = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

The URI of the Router appliance instance.

string uri = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for uri.

getVpcNetwork()

public String getVpcNetwork()

The VPC network where this VM 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 VM is located.

string vpc_network = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for vpcNetwork.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public NextHopRouterApplianceInstance.Builder newBuilderForType()
Returns
Type Description
NextHopRouterApplianceInstance.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NextHopRouterApplianceInstance.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NextHopRouterApplianceInstance.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public NextHopRouterApplianceInstance.Builder toBuilder()
Returns
Type Description
NextHopRouterApplianceInstance.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException