public final class RouterApplianceInstance extends GeneratedMessageV3 implements RouterApplianceInstanceOrBuilder
RouterAppliance represents a Router appliance which is specified by a VM URI
and a NIC address.
Protobuf type google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance
Static Fields
IP_ADDRESS_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER
Field Value
NETWORK_INTERFACE_FIELD_NUMBER
public static final int NETWORK_INTERFACE_FIELD_NUMBER
Field Value
VIRTUAL_MACHINE_FIELD_NUMBER
public static final int VIRTUAL_MACHINE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static RouterApplianceInstance getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static RouterApplianceInstance.Builder newBuilder()
Returns
newBuilder(RouterApplianceInstance prototype)
public static RouterApplianceInstance.Builder newBuilder(RouterApplianceInstance prototype)
Parameter
Returns
public static RouterApplianceInstance parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static RouterApplianceInstance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static RouterApplianceInstance parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RouterApplianceInstance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static RouterApplianceInstance parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RouterApplianceInstance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RouterApplianceInstance parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static RouterApplianceInstance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RouterApplianceInstance parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static RouterApplianceInstance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static RouterApplianceInstance parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RouterApplianceInstance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<RouterApplianceInstance> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public RouterApplianceInstance getDefaultInstanceForType()
Returns
getIpAddress()
public String getIpAddress()
The IP address of the network interface to use for peering.
string ip_address = 3;
Returns
Type | Description |
String | The ipAddress.
|
getIpAddressBytes()
public ByteString getIpAddressBytes()
The IP address of the network interface to use for peering.
string ip_address = 3;
Returns
getNetworkInterface()
public String getNetworkInterface()
string network_interface = 2 [deprecated = true];
Returns
Type | Description |
String | The networkInterface.
|
getNetworkInterfaceBytes()
public ByteString getNetworkInterfaceBytes()
string network_interface = 2 [deprecated = true];
Returns
Type | Description |
ByteString | The bytes for networkInterface.
|
getParserForType()
public Parser<RouterApplianceInstance> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getVirtualMachine()
public String getVirtualMachine()
The URI of the virtual machine resource
string virtual_machine = 1 [(.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The virtualMachine.
|
getVirtualMachineBytes()
public ByteString getVirtualMachineBytes()
The URI of the virtual machine resource
string virtual_machine = 1 [(.google.api.resource_reference) = { ... }
Returns
Type | Description |
ByteString | The bytes for virtualMachine.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public RouterApplianceInstance.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RouterApplianceInstance.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public RouterApplianceInstance.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions