Package p4.config.v1

Class P4InfoOuterClass.Register

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
p4.config.v1.P4InfoOuterClass.Register
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, P4InfoOuterClass.RegisterOrBuilder
Enclosing class:
P4InfoOuterClass

public static final class P4InfoOuterClass.Register extends com.google.protobuf.GeneratedMessage implements P4InfoOuterClass.RegisterOrBuilder
Protobuf type p4.config.v1.Register
See Also:
  • Field Details

  • 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
    • hasPreamble

      public boolean hasPreamble()
      .p4.config.v1.Preamble preamble = 1;
      Specified by:
      hasPreamble in interface P4InfoOuterClass.RegisterOrBuilder
      Returns:
      Whether the preamble field is set.
    • getPreamble

      public P4InfoOuterClass.Preamble getPreamble()
      .p4.config.v1.Preamble preamble = 1;
      Specified by:
      getPreamble in interface P4InfoOuterClass.RegisterOrBuilder
      Returns:
      The preamble.
    • getPreambleOrBuilder

      public P4InfoOuterClass.PreambleOrBuilder getPreambleOrBuilder()
      .p4.config.v1.Preamble preamble = 1;
      Specified by:
      getPreambleOrBuilder in interface P4InfoOuterClass.RegisterOrBuilder
    • hasTypeSpec

      public boolean hasTypeSpec()
      .p4.config.v1.P4DataTypeSpec type_spec = 2;
      Specified by:
      hasTypeSpec in interface P4InfoOuterClass.RegisterOrBuilder
      Returns:
      Whether the typeSpec field is set.
    • getTypeSpec

      public P4Types.P4DataTypeSpec getTypeSpec()
      .p4.config.v1.P4DataTypeSpec type_spec = 2;
      Specified by:
      getTypeSpec in interface P4InfoOuterClass.RegisterOrBuilder
      Returns:
      The typeSpec.
    • getTypeSpecOrBuilder

      public P4Types.P4DataTypeSpecOrBuilder getTypeSpecOrBuilder()
      .p4.config.v1.P4DataTypeSpec type_spec = 2;
      Specified by:
      getTypeSpecOrBuilder in interface P4InfoOuterClass.RegisterOrBuilder
    • getSize

      public int getSize()
      int32 size = 3;
      Specified by:
      getSize in interface P4InfoOuterClass.RegisterOrBuilder
      Returns:
      The size.
    • hasIndexTypeName

      public boolean hasIndexTypeName()
       unset if index is not user-defined type
       
      .p4.config.v1.P4NamedType index_type_name = 4;
      Specified by:
      hasIndexTypeName in interface P4InfoOuterClass.RegisterOrBuilder
      Returns:
      Whether the indexTypeName field is set.
    • getIndexTypeName

      public P4Types.P4NamedType getIndexTypeName()
       unset if index is not user-defined type
       
      .p4.config.v1.P4NamedType index_type_name = 4;
      Specified by:
      getIndexTypeName in interface P4InfoOuterClass.RegisterOrBuilder
      Returns:
      The indexTypeName.
    • getIndexTypeNameOrBuilder

      public P4Types.P4NamedTypeOrBuilder getIndexTypeNameOrBuilder()
       unset if index is not user-defined type
       
      .p4.config.v1.P4NamedType index_type_name = 4;
      Specified by:
      getIndexTypeNameOrBuilder in interface P4InfoOuterClass.RegisterOrBuilder
    • 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 P4InfoOuterClass.Register parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static P4InfoOuterClass.Register parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static P4InfoOuterClass.Register parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static P4InfoOuterClass.Register.Builder newBuilder()
    • newBuilder

      public static P4InfoOuterClass.Register.Builder newBuilder(P4InfoOuterClass.Register prototype)
    • toBuilder

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

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

      public static P4InfoOuterClass.Register getDefaultInstance()
    • parser

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

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