Interface IntStr.IntOrStringOrBuilder

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

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

    Modifier and Type
    Method
    Description
    int
    optional int32 intVal = 2;
    optional string strVal = 3;
    com.google.protobuf.ByteString
    optional string strVal = 3;
    long
    optional int64 type = 1;
    boolean
    optional int32 intVal = 2;
    boolean
    optional string strVal = 3;
    boolean
    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 Details

    • hasType

      boolean hasType()
      optional int64 type = 1;
    • getType

      long getType()
      optional int64 type = 1;
    • hasIntVal

      boolean hasIntVal()
      optional int32 intVal = 2;
    • getIntVal

      int getIntVal()
      optional int32 intVal = 2;
    • hasStrVal

      boolean hasStrVal()
      optional string strVal = 3;
    • getStrVal

      String getStrVal()
      optional string strVal = 3;
    • getStrValBytes

      com.google.protobuf.ByteString getStrValBytes()
      optional string strVal = 3;