Class PacketMirroringMirroredResourceInfoSubnetInfo (1.32.0)

public final class PacketMirroringMirroredResourceInfoSubnetInfo extends GeneratedMessageV3 implements PacketMirroringMirroredResourceInfoSubnetInfoOrBuilder

Protobuf type google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo

Inheritance

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

Static Fields

CANONICAL_URL_FIELD_NUMBER

public static final int CANONICAL_URL_FIELD_NUMBER
Field Value
TypeDescription
int

URL_FIELD_NUMBER

public static final int URL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PacketMirroringMirroredResourceInfoSubnetInfo getDefaultInstance()
Returns
TypeDescription
PacketMirroringMirroredResourceInfoSubnetInfo

getDescriptor()

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

newBuilder()

public static PacketMirroringMirroredResourceInfoSubnetInfo.Builder newBuilder()
Returns
TypeDescription
PacketMirroringMirroredResourceInfoSubnetInfo.Builder

newBuilder(PacketMirroringMirroredResourceInfoSubnetInfo prototype)

public static PacketMirroringMirroredResourceInfoSubnetInfo.Builder newBuilder(PacketMirroringMirroredResourceInfoSubnetInfo prototype)
Parameter
NameDescription
prototypePacketMirroringMirroredResourceInfoSubnetInfo
Returns
TypeDescription
PacketMirroringMirroredResourceInfoSubnetInfo.Builder

parseDelimitedFrom(InputStream input)

public static PacketMirroringMirroredResourceInfoSubnetInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PacketMirroringMirroredResourceInfoSubnetInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static PacketMirroringMirroredResourceInfoSubnetInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PacketMirroringMirroredResourceInfoSubnetInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static PacketMirroringMirroredResourceInfoSubnetInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PacketMirroringMirroredResourceInfoSubnetInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static PacketMirroringMirroredResourceInfoSubnetInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PacketMirroringMirroredResourceInfoSubnetInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static PacketMirroringMirroredResourceInfoSubnetInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PacketMirroringMirroredResourceInfoSubnetInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<PacketMirroringMirroredResourceInfoSubnetInfo> parser()
Returns
TypeDescription
Parser<PacketMirroringMirroredResourceInfoSubnetInfo>

Methods

equals(Object obj)

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

getCanonicalUrl()

public String getCanonicalUrl()

[Output Only] Unique identifier for the subnetwork; defined by the server.

optional string canonical_url = 512294820;

Returns
TypeDescription
String

The canonicalUrl.

getCanonicalUrlBytes()

public ByteString getCanonicalUrlBytes()

[Output Only] Unique identifier for the subnetwork; defined by the server.

optional string canonical_url = 512294820;

Returns
TypeDescription
ByteString

The bytes for canonicalUrl.

getDefaultInstanceForType()

public PacketMirroringMirroredResourceInfoSubnetInfo getDefaultInstanceForType()
Returns
TypeDescription
PacketMirroringMirroredResourceInfoSubnetInfo

getParserForType()

public Parser<PacketMirroringMirroredResourceInfoSubnetInfo> getParserForType()
Returns
TypeDescription
Parser<PacketMirroringMirroredResourceInfoSubnetInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUrl()

public String getUrl()

Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored.

optional string url = 116079;

Returns
TypeDescription
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored.

optional string url = 116079;

Returns
TypeDescription
ByteString

The bytes for url.

hasCanonicalUrl()

public boolean hasCanonicalUrl()

[Output Only] Unique identifier for the subnetwork; defined by the server.

optional string canonical_url = 512294820;

Returns
TypeDescription
boolean

Whether the canonicalUrl field is set.

hasUrl()

public boolean hasUrl()

Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored.

optional string url = 116079;

Returns
TypeDescription
boolean

Whether the url field is set.

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 PacketMirroringMirroredResourceInfoSubnetInfo.Builder newBuilderForType()
Returns
TypeDescription
PacketMirroringMirroredResourceInfoSubnetInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public PacketMirroringMirroredResourceInfoSubnetInfo.Builder toBuilder()
Returns
TypeDescription
PacketMirroringMirroredResourceInfoSubnetInfo.Builder

writeTo(CodedOutputStream output)

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