Class PacketMirroringForwardingRuleInfo (1.57.0)

public final class PacketMirroringForwardingRuleInfo extends GeneratedMessageV3 implements PacketMirroringForwardingRuleInfoOrBuilder

Protobuf type google.cloud.compute.v1.PacketMirroringForwardingRuleInfo

Inheritance

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

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 PacketMirroringForwardingRuleInfo getDefaultInstance()
Returns
Type Description
PacketMirroringForwardingRuleInfo

getDescriptor()

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

newBuilder()

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

newBuilder(PacketMirroringForwardingRuleInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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

optional string canonical_url = 512294820;

Returns
Type Description
ByteString

The bytes for canonicalUrl.

getDefaultInstanceForType()

public PacketMirroringForwardingRuleInfo getDefaultInstanceForType()
Returns
Type Description
PacketMirroringForwardingRuleInfo

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUrl()

public String getUrl()

Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.

optional string url = 116079;

Returns
Type Description
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.

optional string url = 116079;

Returns
Type Description
ByteString

The bytes for url.

hasCanonicalUrl()

public boolean hasCanonicalUrl()

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

optional string canonical_url = 512294820;

Returns
Type Description
boolean

Whether the canonicalUrl field is set.

hasUrl()

public boolean hasUrl()

Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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