Class PacketMirroringNetworkInfo (1.57.0)

public final class PacketMirroringNetworkInfo extends GeneratedMessageV3 implements PacketMirroringNetworkInfoOrBuilder

Protobuf type google.cloud.compute.v1.PacketMirroringNetworkInfo

Static Fields

CANONICAL_URL_FIELD_NUMBER

public static final int CANONICAL_URL_FIELD_NUMBER
Field Value
Type Description
int

URL_FIELD_NUMBER

public static final int URL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PacketMirroringNetworkInfo getDefaultInstance()
Returns
Type Description
PacketMirroringNetworkInfo

getDescriptor()

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

newBuilder()

public static PacketMirroringNetworkInfo.Builder newBuilder()
Returns
Type Description
PacketMirroringNetworkInfo.Builder

newBuilder(PacketMirroringNetworkInfo prototype)

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

parseDelimitedFrom(InputStream input)

public static PacketMirroringNetworkInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PacketMirroringNetworkInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static PacketMirroringNetworkInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PacketMirroringNetworkInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static PacketMirroringNetworkInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PacketMirroringNetworkInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static PacketMirroringNetworkInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PacketMirroringNetworkInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static PacketMirroringNetworkInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PacketMirroringNetworkInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<PacketMirroringNetworkInfo> parser()
Returns
Type Description
Parser<PacketMirroringNetworkInfo>

Methods

equals(Object obj)

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

getCanonicalUrl()

public String getCanonicalUrl()

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

optional string canonical_url = 512294820;

Returns
Type Description
String

The canonicalUrl.

getCanonicalUrlBytes()

public ByteString getCanonicalUrlBytes()

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

optional string canonical_url = 512294820;

Returns
Type Description
ByteString

The bytes for canonicalUrl.

getDefaultInstanceForType()

public PacketMirroringNetworkInfo getDefaultInstanceForType()
Returns
Type Description
PacketMirroringNetworkInfo

getParserForType()

public Parser<PacketMirroringNetworkInfo> getParserForType()
Returns
Type Description
Parser<PacketMirroringNetworkInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUrl()

public String getUrl()

URL of the network resource.

optional string url = 116079;

Returns
Type Description
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

URL of the network resource.

optional string url = 116079;

Returns
Type Description
ByteString

The bytes for url.

hasCanonicalUrl()

public boolean hasCanonicalUrl()

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

optional string canonical_url = 512294820;

Returns
Type Description
boolean

Whether the canonicalUrl field is set.

hasUrl()

public boolean hasUrl()

URL of the network resource.

optional string url = 116079;

Returns
Type Description
boolean

Whether the url field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public PacketMirroringNetworkInfo.Builder toBuilder()
Returns
Type Description
PacketMirroringNetworkInfo.Builder

writeTo(CodedOutputStream output)

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