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
MATCHED_PORT_RANGE_FIELD_NUMBER
public static final int MATCHED_PORT_RANGE_FIELD_NUMBER
Field Value
MATCHED_PROTOCOL_FIELD_NUMBER
public static final int MATCHED_PROTOCOL_FIELD_NUMBER
Field Value
NETWORK_URI_FIELD_NUMBER
public static final int NETWORK_URI_FIELD_NUMBER
Field Value
TARGET_FIELD_NUMBER
public static final int TARGET_FIELD_NUMBER
Field Value
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER
Field Value
VIP_FIELD_NUMBER
public static final int VIP_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ForwardingRuleInfo getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ForwardingRuleInfo.Builder newBuilder()
Returns
newBuilder(ForwardingRuleInfo prototype)
public static ForwardingRuleInfo.Builder newBuilder(ForwardingRuleInfo prototype)
Parameter
Returns
public static ForwardingRuleInfo parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ForwardingRuleInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ForwardingRuleInfo parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ForwardingRuleInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ForwardingRuleInfo parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ForwardingRuleInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ForwardingRuleInfo parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ForwardingRuleInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ForwardingRuleInfo parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ForwardingRuleInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ForwardingRuleInfo parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ForwardingRuleInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ForwardingRuleInfo> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ForwardingRuleInfo getDefaultInstanceForType()
Returns
getDisplayName()
public String getDisplayName()
Name of a Compute Engine forwarding rule.
string display_name = 1;
Returns
Type | Description |
String | The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Name of a Compute Engine forwarding rule.
string display_name = 1;
Returns
Type | Description |
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
Type | Description |
String | The matchedPortRange.
|
getMatchedPortRangeBytes()
public ByteString getMatchedPortRangeBytes()
Port range defined in the forwarding rule that matches the test.
string matched_port_range = 6;
Returns
Type | Description |
ByteString | The bytes for matchedPortRange.
|
getMatchedProtocol()
public String getMatchedProtocol()
Protocol defined in the forwarding rule that matches the test.
string matched_protocol = 3;
Returns
Type | Description |
String | The matchedProtocol.
|
getMatchedProtocolBytes()
public ByteString getMatchedProtocolBytes()
Protocol defined in the forwarding rule that matches the test.
string matched_protocol = 3;
Returns
Type | Description |
ByteString | The bytes for matchedProtocol.
|
getNetworkUri()
public String getNetworkUri()
Network URI. Only valid for Internal Load Balancer.
string network_uri = 7;
Returns
Type | Description |
String | The networkUri.
|
getNetworkUriBytes()
public ByteString getNetworkUriBytes()
Network URI. Only valid for Internal Load Balancer.
string network_uri = 7;
Returns
Type | Description |
ByteString | The bytes for networkUri.
|
getParserForType()
public Parser<ForwardingRuleInfo> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTarget()
public String getTarget()
Target type of the forwarding rule.
string target = 5;
Returns
Type | Description |
String | The target.
|
getTargetBytes()
public ByteString getTargetBytes()
Target type of the forwarding rule.
string target = 5;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUri()
URI of a Compute Engine forwarding rule.
string uri = 2;
Returns
getUriBytes()
public ByteString getUriBytes()
URI of a Compute Engine forwarding rule.
string uri = 2;
Returns
getVip()
VIP of the forwarding rule.
string vip = 4;
Returns
getVipBytes()
public ByteString getVipBytes()
VIP of the forwarding rule.
string vip = 4;
Returns
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ForwardingRuleInfo.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ForwardingRuleInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ForwardingRuleInfo.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions