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 |
---|
Type | Description |
int | |
NETWORK_INTERFACE_FIELD_NUMBER
public static final int NETWORK_INTERFACE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VIRTUAL_MACHINE_FIELD_NUMBER
public static final int VIRTUAL_MACHINE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static RouterApplianceInstance getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RouterApplianceInstance.Builder newBuilder()
newBuilder(RouterApplianceInstance prototype)
public static RouterApplianceInstance.Builder newBuilder(RouterApplianceInstance prototype)
public static RouterApplianceInstance parseDelimitedFrom(InputStream input)
public static RouterApplianceInstance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RouterApplianceInstance parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RouterApplianceInstance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RouterApplianceInstance parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RouterApplianceInstance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RouterApplianceInstance parseFrom(CodedInputStream input)
public static RouterApplianceInstance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RouterApplianceInstance parseFrom(InputStream input)
public static RouterApplianceInstance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RouterApplianceInstance parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RouterApplianceInstance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RouterApplianceInstance> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public RouterApplianceInstance getDefaultInstanceForType()
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 |
---|
Type | Description |
ByteString | The bytes for ipAddress.
|
getNetworkInterface() (deprecated)
public String getNetworkInterface()
Deprecated. google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance.network_interface
is deprecated. See google/cloud/networkconnectivity/v1alpha1/hub.proto;l=533
string network_interface = 2 [deprecated = true];
Returns |
---|
Type | Description |
String | The networkInterface.
|
getNetworkInterfaceBytes() (deprecated)
public ByteString getNetworkInterfaceBytes()
Deprecated. google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance.network_interface
is deprecated. See google/cloud/networkconnectivity/v1alpha1/hub.proto;l=533
string network_interface = 2 [deprecated = true];
Returns |
---|
Type | Description |
ByteString | The bytes for networkInterface.
|
getParserForType()
public Parser<RouterApplianceInstance> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RouterApplianceInstance.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RouterApplianceInstance.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public RouterApplianceInstance.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides