Class PacketMirroringForwardingRuleInfo (1.43.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
TypeDescription
int

URL_FIELD_NUMBER

public static final int URL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PacketMirroringForwardingRuleInfo getDefaultInstance()
Returns
TypeDescription
PacketMirroringForwardingRuleInfo

getDescriptor()

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

newBuilder()

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

newBuilder(PacketMirroringForwardingRuleInfo prototype)

public static PacketMirroringForwardingRuleInfo.Builder newBuilder(PacketMirroringForwardingRuleInfo prototype)
Parameter
NameDescription
prototypePacketMirroringForwardingRuleInfo
Returns
TypeDescription
PacketMirroringForwardingRuleInfo.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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

optional string canonical_url = 512294820;

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

The bytes for canonicalUrl.

getDefaultInstanceForType()

public PacketMirroringForwardingRuleInfo getDefaultInstanceForType()
Returns
TypeDescription
PacketMirroringForwardingRuleInfo

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
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 PacketMirroringForwardingRuleInfo.Builder newBuilderForType()
Returns
TypeDescription
PacketMirroringForwardingRuleInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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