Class VmwareEngineNetwork.VpcNetwork (0.5.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
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VmwareEngineNetwork.VpcNetwork getDefaultInstance()
Returns
TypeDescription
VmwareEngineNetwork.VpcNetwork

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VmwareEngineNetwork.VpcNetwork.Builder newBuilder()
Returns
TypeDescription
VmwareEngineNetwork.VpcNetwork.Builder

newBuilder(VmwareEngineNetwork.VpcNetwork prototype)

public static VmwareEngineNetwork.VpcNetwork.Builder newBuilder(VmwareEngineNetwork.VpcNetwork prototype)
Parameter
NameDescription
prototypeVmwareEngineNetwork.VpcNetwork
Returns
TypeDescription
VmwareEngineNetwork.VpcNetwork.Builder

parseDelimitedFrom(InputStream input)

public static VmwareEngineNetwork.VpcNetwork parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VmwareEngineNetwork.VpcNetwork
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VmwareEngineNetwork.VpcNetwork parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmwareEngineNetwork.VpcNetwork
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VmwareEngineNetwork.VpcNetwork parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VmwareEngineNetwork.VpcNetwork
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VmwareEngineNetwork.VpcNetwork parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmwareEngineNetwork.VpcNetwork
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VmwareEngineNetwork.VpcNetwork parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VmwareEngineNetwork.VpcNetwork
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VmwareEngineNetwork.VpcNetwork parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmwareEngineNetwork.VpcNetwork
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VmwareEngineNetwork.VpcNetwork parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VmwareEngineNetwork.VpcNetwork
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VmwareEngineNetwork.VpcNetwork parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmwareEngineNetwork.VpcNetwork
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VmwareEngineNetwork.VpcNetwork parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VmwareEngineNetwork.VpcNetwork
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VmwareEngineNetwork.VpcNetwork parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmwareEngineNetwork.VpcNetwork
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VmwareEngineNetwork.VpcNetwork parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VmwareEngineNetwork.VpcNetwork
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VmwareEngineNetwork.VpcNetwork parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmwareEngineNetwork.VpcNetwork
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public VmwareEngineNetwork.VpcNetwork getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for network.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for type.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VmwareEngineNetwork.VpcNetwork.Builder newBuilderForType()
Returns
TypeDescription
VmwareEngineNetwork.VpcNetwork.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VmwareEngineNetwork.VpcNetwork.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VmwareEngineNetwork.VpcNetwork.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VmwareEngineNetwork.VpcNetwork.Builder toBuilder()
Returns
TypeDescription
VmwareEngineNetwork.VpcNetwork.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException