Package p4.v1

Class P4RuntimeOuterClass.CapabilitiesResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
p4.v1.P4RuntimeOuterClass.CapabilitiesResponse
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, P4RuntimeOuterClass.CapabilitiesResponseOrBuilder
Enclosing class:
P4RuntimeOuterClass

public static final class P4RuntimeOuterClass.CapabilitiesResponse extends com.google.protobuf.GeneratedMessage implements P4RuntimeOuterClass.CapabilitiesResponseOrBuilder
Protobuf type p4.v1.CapabilitiesResponse
See Also:
  • Field Details

    • P4RUNTIME_API_VERSION_FIELD_NUMBER

      public static final int P4RUNTIME_API_VERSION_FIELD_NUMBER
      See Also:
    • EXPERIMENTAL_FIELD_NUMBER

      public static final int EXPERIMENTAL_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getP4RuntimeApiVersion

      public String getP4RuntimeApiVersion()
       The full semantic version string (e.g. "1.1.0-rc.1") corresponding to the
       version of the P4Runtime API currently implemented by the server.
       
      string p4runtime_api_version = 1;
      Specified by:
      getP4RuntimeApiVersion in interface P4RuntimeOuterClass.CapabilitiesResponseOrBuilder
      Returns:
      The p4runtimeApiVersion.
    • getP4RuntimeApiVersionBytes

      public com.google.protobuf.ByteString getP4RuntimeApiVersionBytes()
       The full semantic version string (e.g. "1.1.0-rc.1") corresponding to the
       version of the P4Runtime API currently implemented by the server.
       
      string p4runtime_api_version = 1;
      Specified by:
      getP4RuntimeApiVersionBytes in interface P4RuntimeOuterClass.CapabilitiesResponseOrBuilder
      Returns:
      The bytes for p4runtimeApiVersion.
    • hasExperimental

      public boolean hasExperimental()
       Used for experimental features before proposing them for standardization.
       Added in 1.5.0.
       
      .google.protobuf.Any experimental = 999;
      Specified by:
      hasExperimental in interface P4RuntimeOuterClass.CapabilitiesResponseOrBuilder
      Returns:
      Whether the experimental field is set.
    • getExperimental

      public com.google.protobuf.Any getExperimental()
       Used for experimental features before proposing them for standardization.
       Added in 1.5.0.
       
      .google.protobuf.Any experimental = 999;
      Specified by:
      getExperimental in interface P4RuntimeOuterClass.CapabilitiesResponseOrBuilder
      Returns:
      The experimental.
    • getExperimentalOrBuilder

      public com.google.protobuf.AnyOrBuilder getExperimentalOrBuilder()
       Used for experimental features before proposing them for standardization.
       Added in 1.5.0.
       
      .google.protobuf.Any experimental = 999;
      Specified by:
      getExperimentalOrBuilder in interface P4RuntimeOuterClass.CapabilitiesResponseOrBuilder
    • 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 P4RuntimeOuterClass.CapabilitiesResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static P4RuntimeOuterClass.CapabilitiesResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static P4RuntimeOuterClass.CapabilitiesResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static P4RuntimeOuterClass.CapabilitiesResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static P4RuntimeOuterClass.CapabilitiesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static P4RuntimeOuterClass.CapabilitiesResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static P4RuntimeOuterClass.CapabilitiesResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static P4RuntimeOuterClass.CapabilitiesResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static P4RuntimeOuterClass.CapabilitiesResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static P4RuntimeOuterClass.CapabilitiesResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static P4RuntimeOuterClass.CapabilitiesResponse getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<P4RuntimeOuterClass.CapabilitiesResponse> 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 P4RuntimeOuterClass.CapabilitiesResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder