Class Code

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, CodeOrBuilder

    public final class Code
    extends com.google.protobuf.GeneratedMessageV3
    implements CodeOrBuilder
    Protobuf type Code
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection​(int number)
        Overrides:
        internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getId

        public int getId()
        int32 id = 1;
        Specified by:
        getId in interface CodeOrBuilder
        Returns:
        The id.
      • getTagTypeValue

        public int getTagTypeValue()
        .TextFragment.TagType tagType = 2;
        Specified by:
        getTagTypeValue in interface CodeOrBuilder
        Returns:
        The enum numeric value on the wire for tagType.
      • hasOriginalId

        public boolean hasOriginalId()
        optional string originalId = 3;
        Specified by:
        hasOriginalId in interface CodeOrBuilder
        Returns:
        Whether the originalId field is set.
      • getOriginalId

        public String getOriginalId()
        optional string originalId = 3;
        Specified by:
        getOriginalId in interface CodeOrBuilder
        Returns:
        The originalId.
      • getOriginalIdBytes

        public com.google.protobuf.ByteString getOriginalIdBytes()
        optional string originalId = 3;
        Specified by:
        getOriginalIdBytes in interface CodeOrBuilder
        Returns:
        The bytes for originalId.
      • getCodeTypeBytes

        public com.google.protobuf.ByteString getCodeTypeBytes()
        string codeType = 4;
        Specified by:
        getCodeTypeBytes in interface CodeOrBuilder
        Returns:
        The bytes for codeType.
      • getDataBytes

        public com.google.protobuf.ByteString getDataBytes()
        string data = 5;
        Specified by:
        getDataBytes in interface CodeOrBuilder
        Returns:
        The bytes for data.
      • hasOuterData

        public boolean hasOuterData()
        optional string outerData = 6;
        Specified by:
        hasOuterData in interface CodeOrBuilder
        Returns:
        Whether the outerData field is set.
      • getOuterData

        public String getOuterData()
        optional string outerData = 6;
        Specified by:
        getOuterData in interface CodeOrBuilder
        Returns:
        The outerData.
      • getOuterDataBytes

        public com.google.protobuf.ByteString getOuterDataBytes()
        optional string outerData = 6;
        Specified by:
        getOuterDataBytes in interface CodeOrBuilder
        Returns:
        The bytes for outerData.
      • getFlag

        public int getFlag()
        int32 flag = 7;
        Specified by:
        getFlag in interface CodeOrBuilder
        Returns:
        The flag.
      • hasMergedData

        public boolean hasMergedData()
        optional string mergedData = 8;
        Specified by:
        hasMergedData in interface CodeOrBuilder
        Returns:
        Whether the mergedData field is set.
      • getMergedData

        public String getMergedData()
        optional string mergedData = 8;
        Specified by:
        getMergedData in interface CodeOrBuilder
        Returns:
        The mergedData.
      • getMergedDataBytes

        public com.google.protobuf.ByteString getMergedDataBytes()
        optional string mergedData = 8;
        Specified by:
        getMergedDataBytes in interface CodeOrBuilder
        Returns:
        The bytes for mergedData.
      • getPosition

        public int getPosition()
        int32 position = 9;
        Specified by:
        getPosition in interface CodeOrBuilder
        Returns:
        The position.
      • getIsolated

        public boolean getIsolated()
        bool isolated = 10;
        Specified by:
        getIsolated in interface CodeOrBuilder
        Returns:
        The isolated.
      • getAdded

        public boolean getAdded()
        bool added = 11;
        Specified by:
        getAdded in interface CodeOrBuilder
        Returns:
        The added.
      • hasDisplayText

        public boolean hasDisplayText()
        optional string displayText = 12;
        Specified by:
        hasDisplayText in interface CodeOrBuilder
        Returns:
        Whether the displayText field is set.
      • getDisplayText

        public String getDisplayText()
        optional string displayText = 12;
        Specified by:
        getDisplayText in interface CodeOrBuilder
        Returns:
        The displayText.
      • getDisplayTextBytes

        public com.google.protobuf.ByteString getDisplayTextBytes()
        optional string displayText = 12;
        Specified by:
        getDisplayTextBytes in interface CodeOrBuilder
        Returns:
        The bytes for displayText.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • 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 Code parseFrom​(ByteBuffer data)
                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

        protected Code.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Code getDefaultInstance()
      • parser

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

        public com.google.protobuf.Parser<Code> 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.GeneratedMessageV3
      • getDefaultInstanceForType

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