接口 Common.ValueOrBuilder
-
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 所有已知实现类:
Common.Value,Common.Value.Builder
- 封闭类:
- Common
public static interface Common.ValueOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 com.google.protobuf.ByteStringgetBlob()bytes blob = 7;booleangetBoolean()bool boolean = 2;Common.Date32getDate().common.Date32 date = 14;Common.Date32OrBuildergetDateOrBuilder().common.Date32 date = 14;doublegetF64()double f64 = 5;Common.DoubleArraygetF64Array().common.DoubleArray f64_array = 10;Common.DoubleArrayOrBuildergetF64ArrayOrBuilder().common.DoubleArray f64_array = 10;intgetI32()int32 i32 = 3;Common.I32ArraygetI32Array().common.I32Array i32_array = 8;Common.I32ArrayOrBuildergetI32ArrayOrBuilder().common.I32Array i32_array = 8;longgetI64()int64 i64 = 4;Common.I64ArraygetI64Array().common.I64Array i64_array = 9;Common.I64ArrayOrBuildergetI64ArrayOrBuilder().common.I64Array i64_array = 9;Common.Value.ItemCasegetItemCase()Common.NonegetNone().common.None none = 13;Common.NoneOrBuildergetNoneOrBuilder().common.None none = 13;Common.PairArraygetPairArray().common.PairArray pair_array = 12;Common.PairArrayOrBuildergetPairArrayOrBuilder().common.PairArray pair_array = 12;StringgetStr()string str = 6;Common.StringArraygetStrArray().common.StringArray str_array = 11;Common.StringArrayOrBuildergetStrArrayOrBuilder().common.StringArray str_array = 11;com.google.protobuf.ByteStringgetStrBytes()string str = 6;Common.Time32getTime().common.Time32 time = 15;Common.Time32OrBuildergetTimeOrBuilder().common.Time32 time = 15;Common.TimestampgetTimestamp().common.Timestamp timestamp = 16;Common.TimestampOrBuildergetTimestampOrBuilder().common.Timestamp timestamp = 16;booleanhasBlob()bytes blob = 7;booleanhasBoolean()bool boolean = 2;booleanhasDate().common.Date32 date = 14;booleanhasF64()double f64 = 5;booleanhasF64Array().common.DoubleArray f64_array = 10;booleanhasI32()int32 i32 = 3;booleanhasI32Array().common.I32Array i32_array = 8;booleanhasI64()int64 i64 = 4;booleanhasI64Array().common.I64Array i64_array = 9;booleanhasNone().common.None none = 13;booleanhasPairArray().common.PairArray pair_array = 12;booleanhasStr()string str = 6;booleanhasStrArray().common.StringArray str_array = 11;booleanhasTime().common.Time32 time = 15;booleanhasTimestamp().common.Timestamp timestamp = 16;
-
-
-
方法详细资料
-
hasBoolean
boolean hasBoolean()
bool boolean = 2;- 返回:
- Whether the boolean field is set.
-
getBoolean
boolean getBoolean()
bool boolean = 2;- 返回:
- The boolean.
-
hasI32
boolean hasI32()
int32 i32 = 3;- 返回:
- Whether the i32 field is set.
-
getI32
int getI32()
int32 i32 = 3;- 返回:
- The i32.
-
hasI64
boolean hasI64()
int64 i64 = 4;- 返回:
- Whether the i64 field is set.
-
getI64
long getI64()
int64 i64 = 4;- 返回:
- The i64.
-
hasF64
boolean hasF64()
double f64 = 5;- 返回:
- Whether the f64 field is set.
-
getF64
double getF64()
double f64 = 5;- 返回:
- The f64.
-
hasStr
boolean hasStr()
string str = 6;- 返回:
- Whether the str field is set.
-
getStr
String getStr()
string str = 6;- 返回:
- The str.
-
getStrBytes
com.google.protobuf.ByteString getStrBytes()
string str = 6;- 返回:
- The bytes for str.
-
hasBlob
boolean hasBlob()
bytes blob = 7;- 返回:
- Whether the blob field is set.
-
getBlob
com.google.protobuf.ByteString getBlob()
bytes blob = 7;- 返回:
- The blob.
-
hasI32Array
boolean hasI32Array()
.common.I32Array i32_array = 8;- 返回:
- Whether the i32Array field is set.
-
getI32Array
Common.I32Array getI32Array()
.common.I32Array i32_array = 8;- 返回:
- The i32Array.
-
getI32ArrayOrBuilder
Common.I32ArrayOrBuilder getI32ArrayOrBuilder()
.common.I32Array i32_array = 8;
-
hasI64Array
boolean hasI64Array()
.common.I64Array i64_array = 9;- 返回:
- Whether the i64Array field is set.
-
getI64Array
Common.I64Array getI64Array()
.common.I64Array i64_array = 9;- 返回:
- The i64Array.
-
getI64ArrayOrBuilder
Common.I64ArrayOrBuilder getI64ArrayOrBuilder()
.common.I64Array i64_array = 9;
-
hasF64Array
boolean hasF64Array()
.common.DoubleArray f64_array = 10;- 返回:
- Whether the f64Array field is set.
-
getF64Array
Common.DoubleArray getF64Array()
.common.DoubleArray f64_array = 10;- 返回:
- The f64Array.
-
getF64ArrayOrBuilder
Common.DoubleArrayOrBuilder getF64ArrayOrBuilder()
.common.DoubleArray f64_array = 10;
-
hasStrArray
boolean hasStrArray()
.common.StringArray str_array = 11;- 返回:
- Whether the strArray field is set.
-
getStrArray
Common.StringArray getStrArray()
.common.StringArray str_array = 11;- 返回:
- The strArray.
-
getStrArrayOrBuilder
Common.StringArrayOrBuilder getStrArrayOrBuilder()
.common.StringArray str_array = 11;
-
hasPairArray
boolean hasPairArray()
.common.PairArray pair_array = 12;- 返回:
- Whether the pairArray field is set.
-
getPairArray
Common.PairArray getPairArray()
.common.PairArray pair_array = 12;- 返回:
- The pairArray.
-
getPairArrayOrBuilder
Common.PairArrayOrBuilder getPairArrayOrBuilder()
.common.PairArray pair_array = 12;
-
hasNone
boolean hasNone()
.common.None none = 13;- 返回:
- Whether the none field is set.
-
getNone
Common.None getNone()
.common.None none = 13;- 返回:
- The none.
-
getNoneOrBuilder
Common.NoneOrBuilder getNoneOrBuilder()
.common.None none = 13;
-
hasDate
boolean hasDate()
.common.Date32 date = 14;- 返回:
- Whether the date field is set.
-
getDate
Common.Date32 getDate()
.common.Date32 date = 14;- 返回:
- The date.
-
getDateOrBuilder
Common.Date32OrBuilder getDateOrBuilder()
.common.Date32 date = 14;
-
hasTime
boolean hasTime()
.common.Time32 time = 15;- 返回:
- Whether the time field is set.
-
getTime
Common.Time32 getTime()
.common.Time32 time = 15;- 返回:
- The time.
-
getTimeOrBuilder
Common.Time32OrBuilder getTimeOrBuilder()
.common.Time32 time = 15;
-
hasTimestamp
boolean hasTimestamp()
.common.Timestamp timestamp = 16;- 返回:
- Whether the timestamp field is set.
-
getTimestamp
Common.Timestamp getTimestamp()
.common.Timestamp timestamp = 16;- 返回:
- The timestamp.
-
getTimestampOrBuilder
Common.TimestampOrBuilder getTimestampOrBuilder()
.common.Timestamp timestamp = 16;
-
getItemCase
Common.Value.ItemCase getItemCase()
-
-