Class ForwardingRuleInfo (1.20.0)

public final class ForwardingRuleInfo extends GeneratedMessageV3 implements ForwardingRuleInfoOrBuilder

For display only. Metadata associated with a Compute Engine forwarding rule.

Protobuf type google.cloud.networkmanagement.v1.ForwardingRuleInfo

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

MATCHED_PORT_RANGE_FIELD_NUMBER

public static final int MATCHED_PORT_RANGE_FIELD_NUMBER
Field Value
TypeDescription
int

MATCHED_PROTOCOL_FIELD_NUMBER

public static final int MATCHED_PROTOCOL_FIELD_NUMBER
Field Value
TypeDescription
int

NETWORK_URI_FIELD_NUMBER

public static final int NETWORK_URI_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_FIELD_NUMBER

public static final int TARGET_FIELD_NUMBER
Field Value
TypeDescription
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
TypeDescription
int

VIP_FIELD_NUMBER

public static final int VIP_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ForwardingRuleInfo getDefaultInstance()
Returns
TypeDescription
ForwardingRuleInfo

getDescriptor()

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

newBuilder()

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

newBuilder(ForwardingRuleInfo prototype)

public static ForwardingRuleInfo.Builder newBuilder(ForwardingRuleInfo prototype)
Parameter
NameDescription
prototypeForwardingRuleInfo
Returns
TypeDescription
ForwardingRuleInfo.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ForwardingRuleInfo getDefaultInstanceForType()
Returns
TypeDescription
ForwardingRuleInfo

getDisplayName()

public String getDisplayName()

Name of a Compute Engine forwarding rule.

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Name of a Compute Engine forwarding rule.

string display_name = 1;

Returns
TypeDescription
ByteString

The bytes for displayName.

getMatchedPortRange()

public String getMatchedPortRange()

Port range defined in the forwarding rule that matches the test.

string matched_port_range = 6;