Interface Generated.IntOrStringOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Generated.IntOrString, Generated.IntOrString.Builder
    Enclosing class:
    Generated

    public static interface Generated.IntOrStringOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getIntVal()
      optional int32 intVal = 2;
      String getStrVal()
      optional string strVal = 3;
      com.google.protobuf.ByteString getStrValBytes()
      optional string strVal = 3;
      long getType()
      optional int64 type = 1;
      boolean hasIntVal()
      optional int32 intVal = 2;
      boolean hasStrVal()
      optional string strVal = 3;
      boolean hasType()
      optional int64 type = 1;
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasType

        boolean hasType()
        optional int64 type = 1;
        Returns:
        Whether the type field is set.
      • getType

        long getType()
        optional int64 type = 1;
        Returns:
        The type.
      • hasIntVal

        boolean hasIntVal()
        optional int32 intVal = 2;
        Returns:
        Whether the intVal field is set.
      • getIntVal

        int getIntVal()
        optional int32 intVal = 2;
        Returns:
        The intVal.
      • hasStrVal

        boolean hasStrVal()
        optional string strVal = 3;
        Returns:
        Whether the strVal field is set.
      • getStrVal

        String getStrVal()
        optional string strVal = 3;
        Returns:
        The strVal.
      • getStrValBytes

        com.google.protobuf.ByteString getStrValBytes()
        optional string strVal = 3;
        Returns:
        The bytes for strVal.