Class VmwareEngineNetwork.VpcNetwork (0.48.0)

public static final class VmwareEngineNetwork.VpcNetwork extends GeneratedMessageV3 implements VmwareEngineNetwork.VpcNetworkOrBuilder

Represents a VMware Engine VPC network that is managed by a VMware Engine network resource.

Protobuf type google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > VmwareEngineNetwork.VpcNetwork

Static Fields

NETWORK_FIELD_NUMBER

public static final int NETWORK_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VmwareEngineNetwork.VpcNetwork getDefaultInstance()
Returns
Type Description
VmwareEngineNetwork.VpcNetwork

getDescriptor()

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

newBuilder()

public static VmwareEngineNetwork.VpcNetwork.Builder newBuilder()
Returns
Type Description
VmwareEngineNetwork.VpcNetwork.Builder

newBuilder(VmwareEngineNetwork.VpcNetwork prototype)

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

parseDelimitedFrom(InputStream input)

public static VmwareEngineNetwork.VpcNetwork parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VmwareEngineNetwork.VpcNetwork
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static VmwareEngineNetwork.VpcNetwork parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VmwareEngineNetwork.VpcNetwork
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static VmwareEngineNetwork.VpcNetwork parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VmwareEngineNetwork.VpcNetwork
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static VmwareEngineNetwork.VpcNetwork parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VmwareEngineNetwork.VpcNetwork
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static VmwareEngineNetwork.VpcNetwork parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VmwareEngineNetwork.VpcNetwork
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<VmwareEngineNetwork.VpcNetwork> parser()
Returns
Type Description
Parser<VpcNetwork>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public VmwareEngineNetwork.VpcNetwork getDefaultInstanceForType()
Returns
Type Description
VmwareEngineNetwork.VpcNetwork

getNetwork()

public String getNetwork()

Output only. The relative resource name of the service VPC network this VMware Engine network is attached to. For example: projects/123123/global/networks/my-network

string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The network.

getNetworkBytes()

public ByteString getNetworkBytes()

Output only. The relative resource name of the service VPC network this VMware Engine network is attached to. For example: projects/123123/global/networks/my-network

string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for network.

getParserForType()

public Parser<VmwareEngineNetwork.VpcNetwork> getParserForType()
Returns
Type Description
Parser<VpcNetwork>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public VmwareEngineNetwork.VpcNetwork.Type getType()

Output only. Type of VPC network (INTRANET, INTERNET, or GOOGLE_CLOUD)

.google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VmwareEngineNetwork.VpcNetwork.Type

The type.

getTypeValue()

public int getTypeValue()

Output only. Type of VPC network (INTRANET, INTERNET, or GOOGLE_CLOUD)

.google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for type.

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 VmwareEngineNetwork.VpcNetwork.Builder newBuilderForType()
Returns
Type Description
VmwareEngineNetwork.VpcNetwork.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public VmwareEngineNetwork.VpcNetwork.Builder toBuilder()
Returns
Type Description
VmwareEngineNetwork.VpcNetwork.Builder

writeTo(CodedOutputStream output)

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