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:
  • 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getDisplayName

      public String getDisplayName()
       Name of the forwarding rule.
       
      string display_name = 1;
      Specified by:
      getDisplayName in interface ForwardingRuleInfoOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Name of the forwarding rule.
       
      string display_name = 1;
      Specified by:
      getDisplayNameBytes in interface ForwardingRuleInfoOrBuilder
      Returns:
      The bytes for displayName.
    • getUri

      public String getUri()
       URI of the forwarding rule.
       
      string uri = 2;
      Specified by:
      getUri in interface ForwardingRuleInfoOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       URI of the forwarding rule.
       
      string uri = 2;
      Specified by:
      getUriBytes in interface ForwardingRuleInfoOrBuilder
      Returns:
      The bytes for uri.
    • getMatchedProtocol

      public String getMatchedProtocol()
       Protocol defined in the forwarding rule that matches the packet.
       
      string matched_protocol = 3;
      Specified by:
      getMatchedProtocol in interface ForwardingRuleInfoOrBuilder
      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:
      getMatchedProtocolBytes in interface ForwardingRuleInfoOrBuilder
      Returns:
      The bytes for matchedProtocol.
    • getMatchedPortRange

      public String getMatchedPortRange()
       Port range defined in the forwarding rule that matches the packet.
       
      string matched_port_range = 6;
      Specified by:
      getMatchedPortRange in interface ForwardingRuleInfoOrBuilder
      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:
      getMatchedPortRangeBytes in interface ForwardingRuleInfoOrBuilder
      Returns:
      The bytes for matchedPortRange.
    • getVip

      public String getVip()
       VIP of the forwarding rule.
       
      string vip = 4;
      Specified by:
      getVip in interface ForwardingRuleInfoOrBuilder
      Returns:
      The vip.
    • getVipBytes

      public com.google.protobuf.ByteString getVipBytes()
       VIP of the forwarding rule.
       
      string vip = 4;
      Specified by:
      getVipBytes in interface ForwardingRuleInfoOrBuilder
      Returns:
      The bytes for vip.
    • getTarget

      public String getTarget()
       Target type of the forwarding rule.
       
      string target = 5;
      Specified by:
      getTarget in interface ForwardingRuleInfoOrBuilder
      Returns:
      The target.
    • getTargetBytes

      public com.google.protobuf.ByteString getTargetBytes()
       Target type of the forwarding rule.
       
      string target = 5;
      Specified by:
      getTargetBytes in interface ForwardingRuleInfoOrBuilder
      Returns:
      The bytes for target.
    • getNetworkUri

      public String getNetworkUri()
       Network URI.
       
      string network_uri = 7;
      Specified by:
      getNetworkUri in interface ForwardingRuleInfoOrBuilder
      Returns:
      The networkUri.
    • getNetworkUriBytes

      public com.google.protobuf.ByteString getNetworkUriBytes()
       Network URI.
       
      string network_uri = 7;
      Specified by:
      getNetworkUriBytes in interface ForwardingRuleInfoOrBuilder
      Returns:
      The bytes for networkUri.
    • getRegion

      public String getRegion()
       Region of the forwarding rule. Set only for regional forwarding rules.
       
      string region = 8;
      Specified by:
      getRegion in interface ForwardingRuleInfoOrBuilder
      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:
      getRegionBytes in interface ForwardingRuleInfoOrBuilder
      Returns:
      The bytes for region.
    • getLoadBalancerName

      public String 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:
      getLoadBalancerName in interface ForwardingRuleInfoOrBuilder
      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:
      getLoadBalancerNameBytes in interface ForwardingRuleInfoOrBuilder
      Returns:
      The bytes for loadBalancerName.
    • getPscServiceAttachmentUri

      public String getPscServiceAttachmentUri()
       URI of the PSC service attachment this forwarding rule targets (if
       applicable).
       
      string psc_service_attachment_uri = 10;
      Specified by:
      getPscServiceAttachmentUri in interface ForwardingRuleInfoOrBuilder
      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:
      getPscServiceAttachmentUriBytes in interface ForwardingRuleInfoOrBuilder
      Returns:
      The bytes for pscServiceAttachmentUri.
    • getPscGoogleApiTarget

      public String getPscGoogleApiTarget()
       PSC Google API target this forwarding rule targets (if applicable).
       
      string psc_google_api_target = 11;
      Specified by:
      getPscGoogleApiTarget in interface ForwardingRuleInfoOrBuilder
      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:
      getPscGoogleApiTargetBytes in interface ForwardingRuleInfoOrBuilder
      Returns:
      The bytes for pscGoogleApiTarget.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static ForwardingRuleInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ForwardingRuleInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ForwardingRuleInfo parseDelimitedFrom(InputStream input) throws IOException
      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

      public ForwardingRuleInfo.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ForwardingRuleInfo.Builder newBuilder()
    • newBuilder

      public static ForwardingRuleInfo.Builder newBuilder(ForwardingRuleInfo prototype)
    • toBuilder

      public ForwardingRuleInfo.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ForwardingRuleInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ForwardingRuleInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ForwardingRuleInfo> parser()
    • getParserForType

      public com.google.protobuf.Parser<ForwardingRuleInfo> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ForwardingRuleInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder