Class ForwardingRuleInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo
- All Implemented Interfaces:
ForwardingRuleInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class ForwardingRuleInfo
extends com.google.protobuf.GeneratedMessage
implements ForwardingRuleInfoOrBuilder
For display only. Metadata associated with a Compute Engine forwarding rule.Protobuf type
google.cloud.networkmanagement.v1beta1.ForwardingRuleInfo- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ForwardingRuleInfostatic final com.google.protobuf.Descriptors.DescriptorName of the forwarding rule.com.google.protobuf.ByteStringName of the forwarding rule.Name of the load balancer the forwarding rule belongs to.com.google.protobuf.ByteStringName of the load balancer the forwarding rule belongs to.Port range defined in the forwarding rule that matches the packet.com.google.protobuf.ByteStringPort range defined in the forwarding rule that matches the packet.Protocol defined in the forwarding rule that matches the packet.com.google.protobuf.ByteStringProtocol defined in the forwarding rule that matches the packet.Network URI.com.google.protobuf.ByteStringNetwork URI.com.google.protobuf.Parser<ForwardingRuleInfo>PSC Google API target this forwarding rule targets (if applicable).com.google.protobuf.ByteStringPSC Google API target this forwarding rule targets (if applicable).URI of the PSC service attachment this forwarding rule targets (if applicable).com.google.protobuf.ByteStringURI of the PSC service attachment this forwarding rule targets (if applicable).Region of the forwarding rule.com.google.protobuf.ByteStringRegion of the forwarding rule.intTarget type of the forwarding rule.com.google.protobuf.ByteStringTarget type of the forwarding rule.getUri()URI of the forwarding rule.com.google.protobuf.ByteStringURI of the forwarding rule.getVip()VIP of the forwarding rule.com.google.protobuf.ByteStringVIP of the forwarding rule.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ForwardingRuleInfo.Builderstatic ForwardingRuleInfo.BuildernewBuilder(ForwardingRuleInfo prototype) protected ForwardingRuleInfo.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ForwardingRuleInfoparseDelimitedFrom(InputStream input) static ForwardingRuleInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ForwardingRuleInfoparseFrom(byte[] data) static ForwardingRuleInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ForwardingRuleInfoparseFrom(com.google.protobuf.ByteString data) static ForwardingRuleInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ForwardingRuleInfoparseFrom(com.google.protobuf.CodedInputStream input) static ForwardingRuleInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ForwardingRuleInfoparseFrom(InputStream input) static ForwardingRuleInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ForwardingRuleInfoparseFrom(ByteBuffer data) static ForwardingRuleInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ForwardingRuleInfo>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER- See Also:
-
MATCHED_PROTOCOL_FIELD_NUMBER
public static final int MATCHED_PROTOCOL_FIELD_NUMBER- See Also:
-
MATCHED_PORT_RANGE_FIELD_NUMBER
public static final int MATCHED_PORT_RANGE_FIELD_NUMBER- See Also:
-
VIP_FIELD_NUMBER
public static final int VIP_FIELD_NUMBER- See Also:
-
TARGET_FIELD_NUMBER
public static final int TARGET_FIELD_NUMBER- See Also:
-
NETWORK_URI_FIELD_NUMBER
public static final int NETWORK_URI_FIELD_NUMBER- See Also:
-
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER- See Also:
-
LOAD_BALANCER_NAME_FIELD_NUMBER
public static final int LOAD_BALANCER_NAME_FIELD_NUMBER- See Also:
-
PSC_SERVICE_ATTACHMENT_URI_FIELD_NUMBER
public static final int PSC_SERVICE_ATTACHMENT_URI_FIELD_NUMBER- See Also:
-
PSC_GOOGLE_API_TARGET_FIELD_NUMBER
public static final int PSC_GOOGLE_API_TARGET_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getDisplayName
Name of the forwarding rule.
string display_name = 1;- Specified by:
getDisplayNamein interfaceForwardingRuleInfoOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Name of the forwarding rule.
string display_name = 1;- Specified by:
getDisplayNameBytesin interfaceForwardingRuleInfoOrBuilder- Returns:
- The bytes for displayName.
-
getUri
URI of the forwarding rule.
string uri = 2;- Specified by:
getUriin interfaceForwardingRuleInfoOrBuilder- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()URI of the forwarding rule.
string uri = 2;- Specified by:
getUriBytesin interfaceForwardingRuleInfoOrBuilder- Returns:
- The bytes for uri.
-
getMatchedProtocol
Protocol defined in the forwarding rule that matches the packet.
string matched_protocol = 3;- Specified by:
getMatchedProtocolin interfaceForwardingRuleInfoOrBuilder- Returns:
- The matchedProtocol.
-
getMatchedProtocolBytes
public com.google.protobuf.ByteString getMatchedProtocolBytes()Protocol defined in the forwarding rule that matches the packet.
string matched_protocol = 3;- Specified by:
getMatchedProtocolBytesin interfaceForwardingRuleInfoOrBuilder- Returns:
- The bytes for matchedProtocol.
-
getMatchedPortRange
Port range defined in the forwarding rule that matches the packet.
string matched_port_range = 6;- Specified by:
getMatchedPortRangein interfaceForwardingRuleInfoOrBuilder- Returns:
- The matchedPortRange.
-
getMatchedPortRangeBytes
public com.google.protobuf.ByteString getMatchedPortRangeBytes()Port range defined in the forwarding rule that matches the packet.
string matched_port_range = 6;- Specified by:
getMatchedPortRangeBytesin interfaceForwardingRuleInfoOrBuilder- Returns:
- The bytes for matchedPortRange.
-
getVip
VIP of the forwarding rule.
string vip = 4;- Specified by:
getVipin interfaceForwardingRuleInfoOrBuilder- Returns:
- The vip.
-
getVipBytes
public com.google.protobuf.ByteString getVipBytes()VIP of the forwarding rule.
string vip = 4;- Specified by:
getVipBytesin interfaceForwardingRuleInfoOrBuilder- Returns:
- The bytes for vip.
-
getTarget
Target type of the forwarding rule.
string target = 5;- Specified by:
getTargetin interfaceForwardingRuleInfoOrBuilder- Returns:
- The target.
-
getTargetBytes
public com.google.protobuf.ByteString getTargetBytes()Target type of the forwarding rule.
string target = 5;- Specified by:
getTargetBytesin interfaceForwardingRuleInfoOrBuilder- Returns:
- The bytes for target.
-
getNetworkUri
Network URI.
string network_uri = 7;- Specified by:
getNetworkUriin interfaceForwardingRuleInfoOrBuilder- Returns:
- The networkUri.
-
getNetworkUriBytes
public com.google.protobuf.ByteString getNetworkUriBytes()Network URI.
string network_uri = 7;- Specified by:
getNetworkUriBytesin interfaceForwardingRuleInfoOrBuilder- Returns:
- The bytes for networkUri.
-
getRegion
Region of the forwarding rule. Set only for regional forwarding rules.
string region = 8;- Specified by:
getRegionin interfaceForwardingRuleInfoOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()Region of the forwarding rule. Set only for regional forwarding rules.
string region = 8;- Specified by:
getRegionBytesin interfaceForwardingRuleInfoOrBuilder- Returns:
- The bytes for region.
-
getLoadBalancerName
Name of the load balancer the forwarding rule belongs to. Empty for forwarding rules not related to load balancers (like PSC forwarding rules).
string load_balancer_name = 9;- Specified by:
getLoadBalancerNamein interfaceForwardingRuleInfoOrBuilder- Returns:
- The loadBalancerName.
-
getLoadBalancerNameBytes
public com.google.protobuf.ByteString getLoadBalancerNameBytes()Name of the load balancer the forwarding rule belongs to. Empty for forwarding rules not related to load balancers (like PSC forwarding rules).
string load_balancer_name = 9;- Specified by:
getLoadBalancerNameBytesin interfaceForwardingRuleInfoOrBuilder- Returns:
- The bytes for loadBalancerName.
-
getPscServiceAttachmentUri
URI of the PSC service attachment this forwarding rule targets (if applicable).
string psc_service_attachment_uri = 10;- Specified by:
getPscServiceAttachmentUriin interfaceForwardingRuleInfoOrBuilder- Returns:
- The pscServiceAttachmentUri.
-
getPscServiceAttachmentUriBytes
public com.google.protobuf.ByteString getPscServiceAttachmentUriBytes()URI of the PSC service attachment this forwarding rule targets (if applicable).
string psc_service_attachment_uri = 10;- Specified by:
getPscServiceAttachmentUriBytesin interfaceForwardingRuleInfoOrBuilder- Returns:
- The bytes for pscServiceAttachmentUri.
-
getPscGoogleApiTarget
PSC Google API target this forwarding rule targets (if applicable).
string psc_google_api_target = 11;- Specified by:
getPscGoogleApiTargetin interfaceForwardingRuleInfoOrBuilder- Returns:
- The pscGoogleApiTarget.
-
getPscGoogleApiTargetBytes
public com.google.protobuf.ByteString getPscGoogleApiTargetBytes()PSC Google API target this forwarding rule targets (if applicable).
string psc_google_api_target = 11;- Specified by:
getPscGoogleApiTargetBytesin interfaceForwardingRuleInfoOrBuilder- Returns:
- The bytes for pscGoogleApiTarget.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ForwardingRuleInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ForwardingRuleInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ForwardingRuleInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ForwardingRuleInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ForwardingRuleInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ForwardingRuleInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ForwardingRuleInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ForwardingRuleInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ForwardingRuleInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ForwardingRuleInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ForwardingRuleInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-