Class PacketMirroringNetworkInfo (1.33.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
TypeDescription
int

URL_FIELD_NUMBER

public static final int URL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PacketMirroringNetworkInfo getDefaultInstance()
Returns
TypeDescription
PacketMirroringNetworkInfo

getDescriptor()

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

newBuilder()

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

newBuilder(PacketMirroringNetworkInfo prototype)

public static PacketMirroringNetworkInfo.Builder newBuilder(PacketMirroringNetworkInfo prototype)
Parameter
NameDescription
prototypePacketMirroringNetworkInfo
Returns
TypeDescription
PacketMirroringNetworkInfo.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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 network; defined by the server.

optional string canonical_url = 512294820;

Returns
TypeDescription
String

The canonicalUrl.

getCanonicalUrlBytes()

public ByteString getCanonicalUrlBytes()

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

optional string canonical_url = 512294820;

Returns
TypeDescription
ByteString

The bytes for canonicalUrl.

getDefaultInstanceForType()

public PacketMirroringNetworkInfo getDefaultInstanceForType()
Returns
TypeDescription
PacketMirroringNetworkInfo

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUrl()

public String getUrl()

URL of the network resource.

optional string url = 116079;

Returns
TypeDescription
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

URL of the network resource.

optional string url = 116079;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the canonicalUrl field is set.

hasUrl()

public boolean hasUrl()

URL of the network resource.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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