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;

Returns
TypeDescription
String

The matchedPortRange.

getMatchedPortRangeBytes()

public ByteString getMatchedPortRangeBytes()

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

string matched_port_range = 6;

Returns
TypeDescription
ByteString

The bytes for matchedPortRange.

getMatchedProtocol()

public String getMatchedProtocol()

Protocol defined in the forwarding rule that matches the test.

string matched_protocol = 3;

Returns
TypeDescription
String

The matchedProtocol.

getMatchedProtocolBytes()

public ByteString getMatchedProtocolBytes()

Protocol defined in the forwarding rule that matches the test.

string matched_protocol = 3;

Returns
TypeDescription
ByteString

The bytes for matchedProtocol.

getNetworkUri()

public String getNetworkUri()

Network URI. Only valid for Internal Load Balancer.

string network_uri = 7;

Returns
TypeDescription
String

The networkUri.

getNetworkUriBytes()

public ByteString getNetworkUriBytes()

Network URI. Only valid for Internal Load Balancer.

string network_uri = 7;

Returns
TypeDescription
ByteString

The bytes for networkUri.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTarget()

public String getTarget()

Target type of the forwarding rule.

string target = 5;

Returns
TypeDescription
String

The target.

getTargetBytes()

public ByteString getTargetBytes()

Target type of the forwarding rule.

string target = 5;

Returns
TypeDescription
ByteString

The bytes for target.

getUri()

public String getUri()

URI of a Compute Engine forwarding rule.

string uri = 2;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI of a Compute Engine forwarding rule.

string uri = 2;

Returns
TypeDescription
ByteString

The bytes for uri.

getVip()

public String getVip()

VIP of the forwarding rule.

string vip = 4;

Returns
TypeDescription
String

The vip.

getVipBytes()

public ByteString getVipBytes()

VIP of the forwarding rule.

string vip = 4;

Returns
TypeDescription
ByteString

The bytes for vip.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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