All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vesoft.nebula.proto.common.Value Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: common.proto

// Protobuf Java Version: 3.25.1
package com.vesoft.nebula.proto.common;

/**
 * 
 **
 * NOTE
 *  - There is no (u)int8 or (u)int16 in protobuf, we use (u)int32 instead.
 *  - We use `bytes' for the `string' type, because the latter is subject to
 *    the UTF8 checking in the protobuf's encoding.
 * 
* * Protobuf type {@code nebula.proto.common.Value} */ public final class Value extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:nebula.proto.common.Value) ValueOrBuilder { private static final long serialVersionUID = 0L; // Use Value.newBuilder() to construct. private Value(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Value() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Value(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.vesoft.nebula.proto.common.Common.internal_static_nebula_proto_common_Value_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.vesoft.nebula.proto.common.Common.internal_static_nebula_proto_common_Value_fieldAccessorTable .ensureFieldAccessorsInitialized( com.vesoft.nebula.proto.common.Value.class, com.vesoft.nebula.proto.common.Value.Builder.class); } /** * Protobuf enum {@code nebula.proto.common.Value.Type} */ public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** * kNull = 0; */ kNull(0), /** * kBool = 1; */ kBool(1), /** * kInt8 = 2; */ kInt8(2), /** * kUInt8 = 3; */ kUInt8(3), /** * kInt16 = 4; */ kInt16(4), /** * kUInt16 = 5; */ kUInt16(5), /** * kInt32 = 6; */ kInt32(6), /** * kUInt32 = 7; */ kUInt32(7), /** * kInt64 = 8; */ kInt64(8), /** * kUInt64 = 9; */ kUInt64(9), /** * kFloat = 10; */ kFloat(10), /** * kDouble = 11; */ kDouble(11), /** * kString = 12; */ kString(12), /** * kList = 13; */ kList(13), /** * kRecord = 14; */ kRecord(14), /** * kNode = 15; */ kNode(15), /** * kEdge = 16; */ kEdge(16), /** * kPath = 17; */ kPath(17), /** * kDuration = 18; */ kDuration(18), /** * kLocalTime = 19; */ kLocalTime(19), /** * kZonedTime = 20; */ kZonedTime(20), /** * kDate = 21; */ kDate(21), /** * kLocalDatetime = 22; */ kLocalDatetime(22), /** * kZonedDatetime = 23; */ kZonedDatetime(23), /** * kRef = 24; */ kRef(24), /** * kDecimal = 25; */ kDecimal(25), /** * kVector = 26; */ kVector(26), UNRECOGNIZED(-1), ; /** * kNull = 0; */ public static final int kNull_VALUE = 0; /** * kBool = 1; */ public static final int kBool_VALUE = 1; /** * kInt8 = 2; */ public static final int kInt8_VALUE = 2; /** * kUInt8 = 3; */ public static final int kUInt8_VALUE = 3; /** * kInt16 = 4; */ public static final int kInt16_VALUE = 4; /** * kUInt16 = 5; */ public static final int kUInt16_VALUE = 5; /** * kInt32 = 6; */ public static final int kInt32_VALUE = 6; /** * kUInt32 = 7; */ public static final int kUInt32_VALUE = 7; /** * kInt64 = 8; */ public static final int kInt64_VALUE = 8; /** * kUInt64 = 9; */ public static final int kUInt64_VALUE = 9; /** * kFloat = 10; */ public static final int kFloat_VALUE = 10; /** * kDouble = 11; */ public static final int kDouble_VALUE = 11; /** * kString = 12; */ public static final int kString_VALUE = 12; /** * kList = 13; */ public static final int kList_VALUE = 13; /** * kRecord = 14; */ public static final int kRecord_VALUE = 14; /** * kNode = 15; */ public static final int kNode_VALUE = 15; /** * kEdge = 16; */ public static final int kEdge_VALUE = 16; /** * kPath = 17; */ public static final int kPath_VALUE = 17; /** * kDuration = 18; */ public static final int kDuration_VALUE = 18; /** * kLocalTime = 19; */ public static final int kLocalTime_VALUE = 19; /** * kZonedTime = 20; */ public static final int kZonedTime_VALUE = 20; /** * kDate = 21; */ public static final int kDate_VALUE = 21; /** * kLocalDatetime = 22; */ public static final int kLocalDatetime_VALUE = 22; /** * kZonedDatetime = 23; */ public static final int kZonedDatetime_VALUE = 23; /** * kRef = 24; */ public static final int kRef_VALUE = 24; /** * kDecimal = 25; */ public static final int kDecimal_VALUE = 25; /** * kVector = 26; */ public static final int kVector_VALUE = 26; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Type valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static Type forNumber(int value) { switch (value) { case 0: return kNull; case 1: return kBool; case 2: return kInt8; case 3: return kUInt8; case 4: return kInt16; case 5: return kUInt16; case 6: return kInt32; case 7: return kUInt32; case 8: return kInt64; case 9: return kUInt64; case 10: return kFloat; case 11: return kDouble; case 12: return kString; case 13: return kList; case 14: return kRecord; case 15: return kNode; case 16: return kEdge; case 17: return kPath; case 18: return kDuration; case 19: return kLocalTime; case 20: return kZonedTime; case 21: return kDate; case 22: return kLocalDatetime; case 23: return kZonedDatetime; case 24: return kRef; case 25: return kDecimal; case 26: return kVector; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Type> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Type findValueByNumber(int number) { return Type.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.vesoft.nebula.proto.common.Value.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); public static Type valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private Type(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:nebula.proto.common.Value.Type) } private int dataCase_ = 0; @SuppressWarnings("serial") private java.lang.Object data_; public enum DataCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BOOL_VALUE(1), INT8_VALUE(2), UINT8_VALUE(3), INT16_VALUE(4), UINT16_VALUE(5), INT32_VALUE(6), UINT32_VALUE(7), INT64_VALUE(8), UINT64_VALUE(9), FLOAT_VALUE(10), DOUBLE_VALUE(11), STRING_VALUE(12), LIST_VALUE(13), RECORD_VALUE(14), NODE_VALUE(15), EDGE_VALUE(16), PATH_VALUE(17), DURATION_VALUE(18), LOCAL_TIME_VALUE(19), ZONED_TIME_VALUE(20), DATE_VALUE(21), LOCAL_DATETIME_VALUE(22), ZONED_DATETIME_VALUE(23), REF_VALUE(24), DECIMAL_VALUE(25), VECTOR_VALUE(26), DATA_NOT_SET(0); private final int value; private DataCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DataCase valueOf(int value) { return forNumber(value); } public static DataCase forNumber(int value) { switch (value) { case 1: return BOOL_VALUE; case 2: return INT8_VALUE; case 3: return UINT8_VALUE; case 4: return INT16_VALUE; case 5: return UINT16_VALUE; case 6: return INT32_VALUE; case 7: return UINT32_VALUE; case 8: return INT64_VALUE; case 9: return UINT64_VALUE; case 10: return FLOAT_VALUE; case 11: return DOUBLE_VALUE; case 12: return STRING_VALUE; case 13: return LIST_VALUE; case 14: return RECORD_VALUE; case 15: return NODE_VALUE; case 16: return EDGE_VALUE; case 17: return PATH_VALUE; case 18: return DURATION_VALUE; case 19: return LOCAL_TIME_VALUE; case 20: return ZONED_TIME_VALUE; case 21: return DATE_VALUE; case 22: return LOCAL_DATETIME_VALUE; case 23: return ZONED_DATETIME_VALUE; case 24: return REF_VALUE; case 25: return DECIMAL_VALUE; case 26: return VECTOR_VALUE; case 0: return DATA_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DataCase getDataCase() { return DataCase.forNumber( dataCase_); } public static final int BOOL_VALUE_FIELD_NUMBER = 1; /** * bool bool_value = 1; * @return Whether the boolValue field is set. */ @java.lang.Override public boolean hasBoolValue() { return dataCase_ == 1; } /** * bool bool_value = 1; * @return The boolValue. */ @java.lang.Override public boolean getBoolValue() { if (dataCase_ == 1) { return (java.lang.Boolean) data_; } return false; } public static final int INT8_VALUE_FIELD_NUMBER = 2; /** * int32 int8_value = 2; * @return Whether the int8Value field is set. */ @java.lang.Override public boolean hasInt8Value() { return dataCase_ == 2; } /** * int32 int8_value = 2; * @return The int8Value. */ @java.lang.Override public int getInt8Value() { if (dataCase_ == 2) { return (java.lang.Integer) data_; } return 0; } public static final int UINT8_VALUE_FIELD_NUMBER = 3; /** * uint32 uint8_value = 3; * @return Whether the uint8Value field is set. */ @java.lang.Override public boolean hasUint8Value() { return dataCase_ == 3; } /** * uint32 uint8_value = 3; * @return The uint8Value. */ @java.lang.Override public int getUint8Value() { if (dataCase_ == 3) { return (java.lang.Integer) data_; } return 0; } public static final int INT16_VALUE_FIELD_NUMBER = 4; /** * int32 int16_value = 4; * @return Whether the int16Value field is set. */ @java.lang.Override public boolean hasInt16Value() { return dataCase_ == 4; } /** * int32 int16_value = 4; * @return The int16Value. */ @java.lang.Override public int getInt16Value() { if (dataCase_ == 4) { return (java.lang.Integer) data_; } return 0; } public static final int UINT16_VALUE_FIELD_NUMBER = 5; /** * uint32 uint16_value = 5; * @return Whether the uint16Value field is set. */ @java.lang.Override public boolean hasUint16Value() { return dataCase_ == 5; } /** * uint32 uint16_value = 5; * @return The uint16Value. */ @java.lang.Override public int getUint16Value() { if (dataCase_ == 5) { return (java.lang.Integer) data_; } return 0; } public static final int INT32_VALUE_FIELD_NUMBER = 6; /** * int32 int32_value = 6; * @return Whether the int32Value field is set. */ @java.lang.Override public boolean hasInt32Value() { return dataCase_ == 6; } /** * int32 int32_value = 6; * @return The int32Value. */ @java.lang.Override public int getInt32Value() { if (dataCase_ == 6) { return (java.lang.Integer) data_; } return 0; } public static final int UINT32_VALUE_FIELD_NUMBER = 7; /** * uint32 uint32_value = 7; * @return Whether the uint32Value field is set. */ @java.lang.Override public boolean hasUint32Value() { return dataCase_ == 7; } /** * uint32 uint32_value = 7; * @return The uint32Value. */ @java.lang.Override public int getUint32Value() { if (dataCase_ == 7) { return (java.lang.Integer) data_; } return 0; } public static final int INT64_VALUE_FIELD_NUMBER = 8; /** * int64 int64_value = 8; * @return Whether the int64Value field is set. */ @java.lang.Override public boolean hasInt64Value() { return dataCase_ == 8; } /** * int64 int64_value = 8; * @return The int64Value. */ @java.lang.Override public long getInt64Value() { if (dataCase_ == 8) { return (java.lang.Long) data_; } return 0L; } public static final int UINT64_VALUE_FIELD_NUMBER = 9; /** * uint64 uint64_value = 9; * @return Whether the uint64Value field is set. */ @java.lang.Override public boolean hasUint64Value() { return dataCase_ == 9; } /** * uint64 uint64_value = 9; * @return The uint64Value. */ @java.lang.Override public long getUint64Value() { if (dataCase_ == 9) { return (java.lang.Long) data_; } return 0L; } public static final int FLOAT_VALUE_FIELD_NUMBER = 10; /** * float float_value = 10; * @return Whether the floatValue field is set. */ @java.lang.Override public boolean hasFloatValue() { return dataCase_ == 10; } /** * float float_value = 10; * @return The floatValue. */ @java.lang.Override public float getFloatValue() { if (dataCase_ == 10) { return (java.lang.Float) data_; } return 0F; } public static final int DOUBLE_VALUE_FIELD_NUMBER = 11; /** * double double_value = 11; * @return Whether the doubleValue field is set. */ @java.lang.Override public boolean hasDoubleValue() { return dataCase_ == 11; } /** * double double_value = 11; * @return The doubleValue. */ @java.lang.Override public double getDoubleValue() { if (dataCase_ == 11) { return (java.lang.Double) data_; } return 0D; } public static final int STRING_VALUE_FIELD_NUMBER = 12; /** * bytes string_value = 12; * @return Whether the stringValue field is set. */ @java.lang.Override public boolean hasStringValue() { return dataCase_ == 12; } /** * bytes string_value = 12; * @return The stringValue. */ @java.lang.Override public com.google.protobuf.ByteString getStringValue() { if (dataCase_ == 12) { return (com.google.protobuf.ByteString) data_; } return com.google.protobuf.ByteString.EMPTY; } public static final int LIST_VALUE_FIELD_NUMBER = 13; /** * .nebula.proto.common.List list_value = 13; * @return Whether the listValue field is set. */ @java.lang.Override public boolean hasListValue() { return dataCase_ == 13; } /** * .nebula.proto.common.List list_value = 13; * @return The listValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.List getListValue() { if (dataCase_ == 13) { return (com.vesoft.nebula.proto.common.List) data_; } return com.vesoft.nebula.proto.common.List.getDefaultInstance(); } /** * .nebula.proto.common.List list_value = 13; */ @java.lang.Override public com.vesoft.nebula.proto.common.ListOrBuilder getListValueOrBuilder() { if (dataCase_ == 13) { return (com.vesoft.nebula.proto.common.List) data_; } return com.vesoft.nebula.proto.common.List.getDefaultInstance(); } public static final int RECORD_VALUE_FIELD_NUMBER = 14; /** * .nebula.proto.common.Record record_value = 14; * @return Whether the recordValue field is set. */ @java.lang.Override public boolean hasRecordValue() { return dataCase_ == 14; } /** * .nebula.proto.common.Record record_value = 14; * @return The recordValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.Record getRecordValue() { if (dataCase_ == 14) { return (com.vesoft.nebula.proto.common.Record) data_; } return com.vesoft.nebula.proto.common.Record.getDefaultInstance(); } /** * .nebula.proto.common.Record record_value = 14; */ @java.lang.Override public com.vesoft.nebula.proto.common.RecordOrBuilder getRecordValueOrBuilder() { if (dataCase_ == 14) { return (com.vesoft.nebula.proto.common.Record) data_; } return com.vesoft.nebula.proto.common.Record.getDefaultInstance(); } public static final int NODE_VALUE_FIELD_NUMBER = 15; /** * .nebula.proto.common.Node node_value = 15; * @return Whether the nodeValue field is set. */ @java.lang.Override public boolean hasNodeValue() { return dataCase_ == 15; } /** * .nebula.proto.common.Node node_value = 15; * @return The nodeValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.Node getNodeValue() { if (dataCase_ == 15) { return (com.vesoft.nebula.proto.common.Node) data_; } return com.vesoft.nebula.proto.common.Node.getDefaultInstance(); } /** * .nebula.proto.common.Node node_value = 15; */ @java.lang.Override public com.vesoft.nebula.proto.common.NodeOrBuilder getNodeValueOrBuilder() { if (dataCase_ == 15) { return (com.vesoft.nebula.proto.common.Node) data_; } return com.vesoft.nebula.proto.common.Node.getDefaultInstance(); } public static final int EDGE_VALUE_FIELD_NUMBER = 16; /** * .nebula.proto.common.Edge edge_value = 16; * @return Whether the edgeValue field is set. */ @java.lang.Override public boolean hasEdgeValue() { return dataCase_ == 16; } /** * .nebula.proto.common.Edge edge_value = 16; * @return The edgeValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.Edge getEdgeValue() { if (dataCase_ == 16) { return (com.vesoft.nebula.proto.common.Edge) data_; } return com.vesoft.nebula.proto.common.Edge.getDefaultInstance(); } /** * .nebula.proto.common.Edge edge_value = 16; */ @java.lang.Override public com.vesoft.nebula.proto.common.EdgeOrBuilder getEdgeValueOrBuilder() { if (dataCase_ == 16) { return (com.vesoft.nebula.proto.common.Edge) data_; } return com.vesoft.nebula.proto.common.Edge.getDefaultInstance(); } public static final int PATH_VALUE_FIELD_NUMBER = 17; /** * .nebula.proto.common.Path path_value = 17; * @return Whether the pathValue field is set. */ @java.lang.Override public boolean hasPathValue() { return dataCase_ == 17; } /** * .nebula.proto.common.Path path_value = 17; * @return The pathValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.Path getPathValue() { if (dataCase_ == 17) { return (com.vesoft.nebula.proto.common.Path) data_; } return com.vesoft.nebula.proto.common.Path.getDefaultInstance(); } /** * .nebula.proto.common.Path path_value = 17; */ @java.lang.Override public com.vesoft.nebula.proto.common.PathOrBuilder getPathValueOrBuilder() { if (dataCase_ == 17) { return (com.vesoft.nebula.proto.common.Path) data_; } return com.vesoft.nebula.proto.common.Path.getDefaultInstance(); } public static final int DURATION_VALUE_FIELD_NUMBER = 18; /** * .nebula.proto.common.Duration duration_value = 18; * @return Whether the durationValue field is set. */ @java.lang.Override public boolean hasDurationValue() { return dataCase_ == 18; } /** * .nebula.proto.common.Duration duration_value = 18; * @return The durationValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.Duration getDurationValue() { if (dataCase_ == 18) { return (com.vesoft.nebula.proto.common.Duration) data_; } return com.vesoft.nebula.proto.common.Duration.getDefaultInstance(); } /** * .nebula.proto.common.Duration duration_value = 18; */ @java.lang.Override public com.vesoft.nebula.proto.common.DurationOrBuilder getDurationValueOrBuilder() { if (dataCase_ == 18) { return (com.vesoft.nebula.proto.common.Duration) data_; } return com.vesoft.nebula.proto.common.Duration.getDefaultInstance(); } public static final int LOCAL_TIME_VALUE_FIELD_NUMBER = 19; /** * .nebula.proto.common.LocalTime local_time_value = 19; * @return Whether the localTimeValue field is set. */ @java.lang.Override public boolean hasLocalTimeValue() { return dataCase_ == 19; } /** * .nebula.proto.common.LocalTime local_time_value = 19; * @return The localTimeValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.LocalTime getLocalTimeValue() { if (dataCase_ == 19) { return (com.vesoft.nebula.proto.common.LocalTime) data_; } return com.vesoft.nebula.proto.common.LocalTime.getDefaultInstance(); } /** * .nebula.proto.common.LocalTime local_time_value = 19; */ @java.lang.Override public com.vesoft.nebula.proto.common.LocalTimeOrBuilder getLocalTimeValueOrBuilder() { if (dataCase_ == 19) { return (com.vesoft.nebula.proto.common.LocalTime) data_; } return com.vesoft.nebula.proto.common.LocalTime.getDefaultInstance(); } public static final int ZONED_TIME_VALUE_FIELD_NUMBER = 20; /** * .nebula.proto.common.ZonedTime zoned_time_value = 20; * @return Whether the zonedTimeValue field is set. */ @java.lang.Override public boolean hasZonedTimeValue() { return dataCase_ == 20; } /** * .nebula.proto.common.ZonedTime zoned_time_value = 20; * @return The zonedTimeValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.ZonedTime getZonedTimeValue() { if (dataCase_ == 20) { return (com.vesoft.nebula.proto.common.ZonedTime) data_; } return com.vesoft.nebula.proto.common.ZonedTime.getDefaultInstance(); } /** * .nebula.proto.common.ZonedTime zoned_time_value = 20; */ @java.lang.Override public com.vesoft.nebula.proto.common.ZonedTimeOrBuilder getZonedTimeValueOrBuilder() { if (dataCase_ == 20) { return (com.vesoft.nebula.proto.common.ZonedTime) data_; } return com.vesoft.nebula.proto.common.ZonedTime.getDefaultInstance(); } public static final int DATE_VALUE_FIELD_NUMBER = 21; /** * .nebula.proto.common.Date date_value = 21; * @return Whether the dateValue field is set. */ @java.lang.Override public boolean hasDateValue() { return dataCase_ == 21; } /** * .nebula.proto.common.Date date_value = 21; * @return The dateValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.Date getDateValue() { if (dataCase_ == 21) { return (com.vesoft.nebula.proto.common.Date) data_; } return com.vesoft.nebula.proto.common.Date.getDefaultInstance(); } /** * .nebula.proto.common.Date date_value = 21; */ @java.lang.Override public com.vesoft.nebula.proto.common.DateOrBuilder getDateValueOrBuilder() { if (dataCase_ == 21) { return (com.vesoft.nebula.proto.common.Date) data_; } return com.vesoft.nebula.proto.common.Date.getDefaultInstance(); } public static final int LOCAL_DATETIME_VALUE_FIELD_NUMBER = 22; /** * .nebula.proto.common.LocalDatetime local_datetime_value = 22; * @return Whether the localDatetimeValue field is set. */ @java.lang.Override public boolean hasLocalDatetimeValue() { return dataCase_ == 22; } /** * .nebula.proto.common.LocalDatetime local_datetime_value = 22; * @return The localDatetimeValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.LocalDatetime getLocalDatetimeValue() { if (dataCase_ == 22) { return (com.vesoft.nebula.proto.common.LocalDatetime) data_; } return com.vesoft.nebula.proto.common.LocalDatetime.getDefaultInstance(); } /** * .nebula.proto.common.LocalDatetime local_datetime_value = 22; */ @java.lang.Override public com.vesoft.nebula.proto.common.LocalDatetimeOrBuilder getLocalDatetimeValueOrBuilder() { if (dataCase_ == 22) { return (com.vesoft.nebula.proto.common.LocalDatetime) data_; } return com.vesoft.nebula.proto.common.LocalDatetime.getDefaultInstance(); } public static final int ZONED_DATETIME_VALUE_FIELD_NUMBER = 23; /** * .nebula.proto.common.ZonedDatetime zoned_datetime_value = 23; * @return Whether the zonedDatetimeValue field is set. */ @java.lang.Override public boolean hasZonedDatetimeValue() { return dataCase_ == 23; } /** * .nebula.proto.common.ZonedDatetime zoned_datetime_value = 23; * @return The zonedDatetimeValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.ZonedDatetime getZonedDatetimeValue() { if (dataCase_ == 23) { return (com.vesoft.nebula.proto.common.ZonedDatetime) data_; } return com.vesoft.nebula.proto.common.ZonedDatetime.getDefaultInstance(); } /** * .nebula.proto.common.ZonedDatetime zoned_datetime_value = 23; */ @java.lang.Override public com.vesoft.nebula.proto.common.ZonedDatetimeOrBuilder getZonedDatetimeValueOrBuilder() { if (dataCase_ == 23) { return (com.vesoft.nebula.proto.common.ZonedDatetime) data_; } return com.vesoft.nebula.proto.common.ZonedDatetime.getDefaultInstance(); } public static final int REF_VALUE_FIELD_NUMBER = 24; /** * .nebula.proto.common.Ref ref_value = 24; * @return Whether the refValue field is set. */ @java.lang.Override public boolean hasRefValue() { return dataCase_ == 24; } /** * .nebula.proto.common.Ref ref_value = 24; * @return The refValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.Ref getRefValue() { if (dataCase_ == 24) { return (com.vesoft.nebula.proto.common.Ref) data_; } return com.vesoft.nebula.proto.common.Ref.getDefaultInstance(); } /** * .nebula.proto.common.Ref ref_value = 24; */ @java.lang.Override public com.vesoft.nebula.proto.common.RefOrBuilder getRefValueOrBuilder() { if (dataCase_ == 24) { return (com.vesoft.nebula.proto.common.Ref) data_; } return com.vesoft.nebula.proto.common.Ref.getDefaultInstance(); } public static final int DECIMAL_VALUE_FIELD_NUMBER = 25; /** * .nebula.proto.common.Decimal decimal_value = 25; * @return Whether the decimalValue field is set. */ @java.lang.Override public boolean hasDecimalValue() { return dataCase_ == 25; } /** * .nebula.proto.common.Decimal decimal_value = 25; * @return The decimalValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.Decimal getDecimalValue() { if (dataCase_ == 25) { return (com.vesoft.nebula.proto.common.Decimal) data_; } return com.vesoft.nebula.proto.common.Decimal.getDefaultInstance(); } /** * .nebula.proto.common.Decimal decimal_value = 25; */ @java.lang.Override public com.vesoft.nebula.proto.common.DecimalOrBuilder getDecimalValueOrBuilder() { if (dataCase_ == 25) { return (com.vesoft.nebula.proto.common.Decimal) data_; } return com.vesoft.nebula.proto.common.Decimal.getDefaultInstance(); } public static final int VECTOR_VALUE_FIELD_NUMBER = 26; /** * .nebula.proto.common.Vector vector_value = 26; * @return Whether the vectorValue field is set. */ @java.lang.Override public boolean hasVectorValue() { return dataCase_ == 26; } /** * .nebula.proto.common.Vector vector_value = 26; * @return The vectorValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.Vector getVectorValue() { if (dataCase_ == 26) { return (com.vesoft.nebula.proto.common.Vector) data_; } return com.vesoft.nebula.proto.common.Vector.getDefaultInstance(); } /** * .nebula.proto.common.Vector vector_value = 26; */ @java.lang.Override public com.vesoft.nebula.proto.common.VectorOrBuilder getVectorValueOrBuilder() { if (dataCase_ == 26) { return (com.vesoft.nebula.proto.common.Vector) data_; } return com.vesoft.nebula.proto.common.Vector.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (dataCase_ == 1) { output.writeBool( 1, (boolean)((java.lang.Boolean) data_)); } if (dataCase_ == 2) { output.writeInt32( 2, (int)((java.lang.Integer) data_)); } if (dataCase_ == 3) { output.writeUInt32( 3, (int)((java.lang.Integer) data_)); } if (dataCase_ == 4) { output.writeInt32( 4, (int)((java.lang.Integer) data_)); } if (dataCase_ == 5) { output.writeUInt32( 5, (int)((java.lang.Integer) data_)); } if (dataCase_ == 6) { output.writeInt32( 6, (int)((java.lang.Integer) data_)); } if (dataCase_ == 7) { output.writeUInt32( 7, (int)((java.lang.Integer) data_)); } if (dataCase_ == 8) { output.writeInt64( 8, (long)((java.lang.Long) data_)); } if (dataCase_ == 9) { output.writeUInt64( 9, (long)((java.lang.Long) data_)); } if (dataCase_ == 10) { output.writeFloat( 10, (float)((java.lang.Float) data_)); } if (dataCase_ == 11) { output.writeDouble( 11, (double)((java.lang.Double) data_)); } if (dataCase_ == 12) { output.writeBytes( 12, (com.google.protobuf.ByteString) data_); } if (dataCase_ == 13) { output.writeMessage(13, (com.vesoft.nebula.proto.common.List) data_); } if (dataCase_ == 14) { output.writeMessage(14, (com.vesoft.nebula.proto.common.Record) data_); } if (dataCase_ == 15) { output.writeMessage(15, (com.vesoft.nebula.proto.common.Node) data_); } if (dataCase_ == 16) { output.writeMessage(16, (com.vesoft.nebula.proto.common.Edge) data_); } if (dataCase_ == 17) { output.writeMessage(17, (com.vesoft.nebula.proto.common.Path) data_); } if (dataCase_ == 18) { output.writeMessage(18, (com.vesoft.nebula.proto.common.Duration) data_); } if (dataCase_ == 19) { output.writeMessage(19, (com.vesoft.nebula.proto.common.LocalTime) data_); } if (dataCase_ == 20) { output.writeMessage(20, (com.vesoft.nebula.proto.common.ZonedTime) data_); } if (dataCase_ == 21) { output.writeMessage(21, (com.vesoft.nebula.proto.common.Date) data_); } if (dataCase_ == 22) { output.writeMessage(22, (com.vesoft.nebula.proto.common.LocalDatetime) data_); } if (dataCase_ == 23) { output.writeMessage(23, (com.vesoft.nebula.proto.common.ZonedDatetime) data_); } if (dataCase_ == 24) { output.writeMessage(24, (com.vesoft.nebula.proto.common.Ref) data_); } if (dataCase_ == 25) { output.writeMessage(25, (com.vesoft.nebula.proto.common.Decimal) data_); } if (dataCase_ == 26) { output.writeMessage(26, (com.vesoft.nebula.proto.common.Vector) data_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (dataCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 1, (boolean)((java.lang.Boolean) data_)); } if (dataCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeInt32Size( 2, (int)((java.lang.Integer) data_)); } if (dataCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size( 3, (int)((java.lang.Integer) data_)); } if (dataCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeInt32Size( 4, (int)((java.lang.Integer) data_)); } if (dataCase_ == 5) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size( 5, (int)((java.lang.Integer) data_)); } if (dataCase_ == 6) { size += com.google.protobuf.CodedOutputStream .computeInt32Size( 6, (int)((java.lang.Integer) data_)); } if (dataCase_ == 7) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size( 7, (int)((java.lang.Integer) data_)); } if (dataCase_ == 8) { size += com.google.protobuf.CodedOutputStream .computeInt64Size( 8, (long)((java.lang.Long) data_)); } if (dataCase_ == 9) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size( 9, (long)((java.lang.Long) data_)); } if (dataCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeFloatSize( 10, (float)((java.lang.Float) data_)); } if (dataCase_ == 11) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize( 11, (double)((java.lang.Double) data_)); } if (dataCase_ == 12) { size += com.google.protobuf.CodedOutputStream .computeBytesSize( 12, (com.google.protobuf.ByteString) data_); } if (dataCase_ == 13) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, (com.vesoft.nebula.proto.common.List) data_); } if (dataCase_ == 14) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, (com.vesoft.nebula.proto.common.Record) data_); } if (dataCase_ == 15) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, (com.vesoft.nebula.proto.common.Node) data_); } if (dataCase_ == 16) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, (com.vesoft.nebula.proto.common.Edge) data_); } if (dataCase_ == 17) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, (com.vesoft.nebula.proto.common.Path) data_); } if (dataCase_ == 18) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(18, (com.vesoft.nebula.proto.common.Duration) data_); } if (dataCase_ == 19) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, (com.vesoft.nebula.proto.common.LocalTime) data_); } if (dataCase_ == 20) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(20, (com.vesoft.nebula.proto.common.ZonedTime) data_); } if (dataCase_ == 21) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(21, (com.vesoft.nebula.proto.common.Date) data_); } if (dataCase_ == 22) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(22, (com.vesoft.nebula.proto.common.LocalDatetime) data_); } if (dataCase_ == 23) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(23, (com.vesoft.nebula.proto.common.ZonedDatetime) data_); } if (dataCase_ == 24) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(24, (com.vesoft.nebula.proto.common.Ref) data_); } if (dataCase_ == 25) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(25, (com.vesoft.nebula.proto.common.Decimal) data_); } if (dataCase_ == 26) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(26, (com.vesoft.nebula.proto.common.Vector) data_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.vesoft.nebula.proto.common.Value)) { return super.equals(obj); } com.vesoft.nebula.proto.common.Value other = (com.vesoft.nebula.proto.common.Value) obj; if (!getDataCase().equals(other.getDataCase())) return false; switch (dataCase_) { case 1: if (getBoolValue() != other.getBoolValue()) return false; break; case 2: if (getInt8Value() != other.getInt8Value()) return false; break; case 3: if (getUint8Value() != other.getUint8Value()) return false; break; case 4: if (getInt16Value() != other.getInt16Value()) return false; break; case 5: if (getUint16Value() != other.getUint16Value()) return false; break; case 6: if (getInt32Value() != other.getInt32Value()) return false; break; case 7: if (getUint32Value() != other.getUint32Value()) return false; break; case 8: if (getInt64Value() != other.getInt64Value()) return false; break; case 9: if (getUint64Value() != other.getUint64Value()) return false; break; case 10: if (java.lang.Float.floatToIntBits(getFloatValue()) != java.lang.Float.floatToIntBits( other.getFloatValue())) return false; break; case 11: if (java.lang.Double.doubleToLongBits(getDoubleValue()) != java.lang.Double.doubleToLongBits( other.getDoubleValue())) return false; break; case 12: if (!getStringValue() .equals(other.getStringValue())) return false; break; case 13: if (!getListValue() .equals(other.getListValue())) return false; break; case 14: if (!getRecordValue() .equals(other.getRecordValue())) return false; break; case 15: if (!getNodeValue() .equals(other.getNodeValue())) return false; break; case 16: if (!getEdgeValue() .equals(other.getEdgeValue())) return false; break; case 17: if (!getPathValue() .equals(other.getPathValue())) return false; break; case 18: if (!getDurationValue() .equals(other.getDurationValue())) return false; break; case 19: if (!getLocalTimeValue() .equals(other.getLocalTimeValue())) return false; break; case 20: if (!getZonedTimeValue() .equals(other.getZonedTimeValue())) return false; break; case 21: if (!getDateValue() .equals(other.getDateValue())) return false; break; case 22: if (!getLocalDatetimeValue() .equals(other.getLocalDatetimeValue())) return false; break; case 23: if (!getZonedDatetimeValue() .equals(other.getZonedDatetimeValue())) return false; break; case 24: if (!getRefValue() .equals(other.getRefValue())) return false; break; case 25: if (!getDecimalValue() .equals(other.getDecimalValue())) return false; break; case 26: if (!getVectorValue() .equals(other.getVectorValue())) return false; break; case 0: default: } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (dataCase_) { case 1: hash = (37 * hash) + BOOL_VALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getBoolValue()); break; case 2: hash = (37 * hash) + INT8_VALUE_FIELD_NUMBER; hash = (53 * hash) + getInt8Value(); break; case 3: hash = (37 * hash) + UINT8_VALUE_FIELD_NUMBER; hash = (53 * hash) + getUint8Value(); break; case 4: hash = (37 * hash) + INT16_VALUE_FIELD_NUMBER; hash = (53 * hash) + getInt16Value(); break; case 5: hash = (37 * hash) + UINT16_VALUE_FIELD_NUMBER; hash = (53 * hash) + getUint16Value(); break; case 6: hash = (37 * hash) + INT32_VALUE_FIELD_NUMBER; hash = (53 * hash) + getInt32Value(); break; case 7: hash = (37 * hash) + UINT32_VALUE_FIELD_NUMBER; hash = (53 * hash) + getUint32Value(); break; case 8: hash = (37 * hash) + INT64_VALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getInt64Value()); break; case 9: hash = (37 * hash) + UINT64_VALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getUint64Value()); break; case 10: hash = (37 * hash) + FLOAT_VALUE_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getFloatValue()); break; case 11: hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getDoubleValue())); break; case 12: hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; hash = (53 * hash) + getStringValue().hashCode(); break; case 13: hash = (37 * hash) + LIST_VALUE_FIELD_NUMBER; hash = (53 * hash) + getListValue().hashCode(); break; case 14: hash = (37 * hash) + RECORD_VALUE_FIELD_NUMBER; hash = (53 * hash) + getRecordValue().hashCode(); break; case 15: hash = (37 * hash) + NODE_VALUE_FIELD_NUMBER; hash = (53 * hash) + getNodeValue().hashCode(); break; case 16: hash = (37 * hash) + EDGE_VALUE_FIELD_NUMBER; hash = (53 * hash) + getEdgeValue().hashCode(); break; case 17: hash = (37 * hash) + PATH_VALUE_FIELD_NUMBER; hash = (53 * hash) + getPathValue().hashCode(); break; case 18: hash = (37 * hash) + DURATION_VALUE_FIELD_NUMBER; hash = (53 * hash) + getDurationValue().hashCode(); break; case 19: hash = (37 * hash) + LOCAL_TIME_VALUE_FIELD_NUMBER; hash = (53 * hash) + getLocalTimeValue().hashCode(); break; case 20: hash = (37 * hash) + ZONED_TIME_VALUE_FIELD_NUMBER; hash = (53 * hash) + getZonedTimeValue().hashCode(); break; case 21: hash = (37 * hash) + DATE_VALUE_FIELD_NUMBER; hash = (53 * hash) + getDateValue().hashCode(); break; case 22: hash = (37 * hash) + LOCAL_DATETIME_VALUE_FIELD_NUMBER; hash = (53 * hash) + getLocalDatetimeValue().hashCode(); break; case 23: hash = (37 * hash) + ZONED_DATETIME_VALUE_FIELD_NUMBER; hash = (53 * hash) + getZonedDatetimeValue().hashCode(); break; case 24: hash = (37 * hash) + REF_VALUE_FIELD_NUMBER; hash = (53 * hash) + getRefValue().hashCode(); break; case 25: hash = (37 * hash) + DECIMAL_VALUE_FIELD_NUMBER; hash = (53 * hash) + getDecimalValue().hashCode(); break; case 26: hash = (37 * hash) + VECTOR_VALUE_FIELD_NUMBER; hash = (53 * hash) + getVectorValue().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.vesoft.nebula.proto.common.Value parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.vesoft.nebula.proto.common.Value parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.vesoft.nebula.proto.common.Value parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.vesoft.nebula.proto.common.Value parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.vesoft.nebula.proto.common.Value parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.vesoft.nebula.proto.common.Value parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.vesoft.nebula.proto.common.Value parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.vesoft.nebula.proto.common.Value parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.vesoft.nebula.proto.common.Value parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.vesoft.nebula.proto.common.Value parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.vesoft.nebula.proto.common.Value parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.vesoft.nebula.proto.common.Value parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.vesoft.nebula.proto.common.Value prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   **
   * NOTE
   *  - There is no (u)int8 or (u)int16 in protobuf, we use (u)int32 instead.
   *  - We use `bytes' for the `string' type, because the latter is subject to
   *    the UTF8 checking in the protobuf's encoding.
   * 
* * Protobuf type {@code nebula.proto.common.Value} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:nebula.proto.common.Value) com.vesoft.nebula.proto.common.ValueOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.vesoft.nebula.proto.common.Common.internal_static_nebula_proto_common_Value_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.vesoft.nebula.proto.common.Common.internal_static_nebula_proto_common_Value_fieldAccessorTable .ensureFieldAccessorsInitialized( com.vesoft.nebula.proto.common.Value.class, com.vesoft.nebula.proto.common.Value.Builder.class); } // Construct using com.vesoft.nebula.proto.common.Value.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (listValueBuilder_ != null) { listValueBuilder_.clear(); } if (recordValueBuilder_ != null) { recordValueBuilder_.clear(); } if (nodeValueBuilder_ != null) { nodeValueBuilder_.clear(); } if (edgeValueBuilder_ != null) { edgeValueBuilder_.clear(); } if (pathValueBuilder_ != null) { pathValueBuilder_.clear(); } if (durationValueBuilder_ != null) { durationValueBuilder_.clear(); } if (localTimeValueBuilder_ != null) { localTimeValueBuilder_.clear(); } if (zonedTimeValueBuilder_ != null) { zonedTimeValueBuilder_.clear(); } if (dateValueBuilder_ != null) { dateValueBuilder_.clear(); } if (localDatetimeValueBuilder_ != null) { localDatetimeValueBuilder_.clear(); } if (zonedDatetimeValueBuilder_ != null) { zonedDatetimeValueBuilder_.clear(); } if (refValueBuilder_ != null) { refValueBuilder_.clear(); } if (decimalValueBuilder_ != null) { decimalValueBuilder_.clear(); } if (vectorValueBuilder_ != null) { vectorValueBuilder_.clear(); } dataCase_ = 0; data_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.vesoft.nebula.proto.common.Common.internal_static_nebula_proto_common_Value_descriptor; } @java.lang.Override public com.vesoft.nebula.proto.common.Value getDefaultInstanceForType() { return com.vesoft.nebula.proto.common.Value.getDefaultInstance(); } @java.lang.Override public com.vesoft.nebula.proto.common.Value build() { com.vesoft.nebula.proto.common.Value result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.vesoft.nebula.proto.common.Value buildPartial() { com.vesoft.nebula.proto.common.Value result = new com.vesoft.nebula.proto.common.Value(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(com.vesoft.nebula.proto.common.Value result) { int from_bitField0_ = bitField0_; } private void buildPartialOneofs(com.vesoft.nebula.proto.common.Value result) { result.dataCase_ = dataCase_; result.data_ = this.data_; if (dataCase_ == 13 && listValueBuilder_ != null) { result.data_ = listValueBuilder_.build(); } if (dataCase_ == 14 && recordValueBuilder_ != null) { result.data_ = recordValueBuilder_.build(); } if (dataCase_ == 15 && nodeValueBuilder_ != null) { result.data_ = nodeValueBuilder_.build(); } if (dataCase_ == 16 && edgeValueBuilder_ != null) { result.data_ = edgeValueBuilder_.build(); } if (dataCase_ == 17 && pathValueBuilder_ != null) { result.data_ = pathValueBuilder_.build(); } if (dataCase_ == 18 && durationValueBuilder_ != null) { result.data_ = durationValueBuilder_.build(); } if (dataCase_ == 19 && localTimeValueBuilder_ != null) { result.data_ = localTimeValueBuilder_.build(); } if (dataCase_ == 20 && zonedTimeValueBuilder_ != null) { result.data_ = zonedTimeValueBuilder_.build(); } if (dataCase_ == 21 && dateValueBuilder_ != null) { result.data_ = dateValueBuilder_.build(); } if (dataCase_ == 22 && localDatetimeValueBuilder_ != null) { result.data_ = localDatetimeValueBuilder_.build(); } if (dataCase_ == 23 && zonedDatetimeValueBuilder_ != null) { result.data_ = zonedDatetimeValueBuilder_.build(); } if (dataCase_ == 24 && refValueBuilder_ != null) { result.data_ = refValueBuilder_.build(); } if (dataCase_ == 25 && decimalValueBuilder_ != null) { result.data_ = decimalValueBuilder_.build(); } if (dataCase_ == 26 && vectorValueBuilder_ != null) { result.data_ = vectorValueBuilder_.build(); } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.vesoft.nebula.proto.common.Value) { return mergeFrom((com.vesoft.nebula.proto.common.Value)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.vesoft.nebula.proto.common.Value other) { if (other == com.vesoft.nebula.proto.common.Value.getDefaultInstance()) return this; switch (other.getDataCase()) { case BOOL_VALUE: { setBoolValue(other.getBoolValue()); break; } case INT8_VALUE: { setInt8Value(other.getInt8Value()); break; } case UINT8_VALUE: { setUint8Value(other.getUint8Value()); break; } case INT16_VALUE: { setInt16Value(other.getInt16Value()); break; } case UINT16_VALUE: { setUint16Value(other.getUint16Value()); break; } case INT32_VALUE: { setInt32Value(other.getInt32Value()); break; } case UINT32_VALUE: { setUint32Value(other.getUint32Value()); break; } case INT64_VALUE: { setInt64Value(other.getInt64Value()); break; } case UINT64_VALUE: { setUint64Value(other.getUint64Value()); break; } case FLOAT_VALUE: { setFloatValue(other.getFloatValue()); break; } case DOUBLE_VALUE: { setDoubleValue(other.getDoubleValue()); break; } case STRING_VALUE: { setStringValue(other.getStringValue()); break; } case LIST_VALUE: { mergeListValue(other.getListValue()); break; } case RECORD_VALUE: { mergeRecordValue(other.getRecordValue()); break; } case NODE_VALUE: { mergeNodeValue(other.getNodeValue()); break; } case EDGE_VALUE: { mergeEdgeValue(other.getEdgeValue()); break; } case PATH_VALUE: { mergePathValue(other.getPathValue()); break; } case DURATION_VALUE: { mergeDurationValue(other.getDurationValue()); break; } case LOCAL_TIME_VALUE: { mergeLocalTimeValue(other.getLocalTimeValue()); break; } case ZONED_TIME_VALUE: { mergeZonedTimeValue(other.getZonedTimeValue()); break; } case DATE_VALUE: { mergeDateValue(other.getDateValue()); break; } case LOCAL_DATETIME_VALUE: { mergeLocalDatetimeValue(other.getLocalDatetimeValue()); break; } case ZONED_DATETIME_VALUE: { mergeZonedDatetimeValue(other.getZonedDatetimeValue()); break; } case REF_VALUE: { mergeRefValue(other.getRefValue()); break; } case DECIMAL_VALUE: { mergeDecimalValue(other.getDecimalValue()); break; } case VECTOR_VALUE: { mergeVectorValue(other.getVectorValue()); break; } case DATA_NOT_SET: { break; } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { data_ = input.readBool(); dataCase_ = 1; break; } // case 8 case 16: { data_ = input.readInt32(); dataCase_ = 2; break; } // case 16 case 24: { data_ = input.readUInt32(); dataCase_ = 3; break; } // case 24 case 32: { data_ = input.readInt32(); dataCase_ = 4; break; } // case 32 case 40: { data_ = input.readUInt32(); dataCase_ = 5; break; } // case 40 case 48: { data_ = input.readInt32(); dataCase_ = 6; break; } // case 48 case 56: { data_ = input.readUInt32(); dataCase_ = 7; break; } // case 56 case 64: { data_ = input.readInt64(); dataCase_ = 8; break; } // case 64 case 72: { data_ = input.readUInt64(); dataCase_ = 9; break; } // case 72 case 85: { data_ = input.readFloat(); dataCase_ = 10; break; } // case 85 case 89: { data_ = input.readDouble(); dataCase_ = 11; break; } // case 89 case 98: { data_ = input.readBytes(); dataCase_ = 12; break; } // case 98 case 106: { input.readMessage( getListValueFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 13; break; } // case 106 case 114: { input.readMessage( getRecordValueFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 14; break; } // case 114 case 122: { input.readMessage( getNodeValueFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 15; break; } // case 122 case 130: { input.readMessage( getEdgeValueFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 16; break; } // case 130 case 138: { input.readMessage( getPathValueFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 17; break; } // case 138 case 146: { input.readMessage( getDurationValueFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 18; break; } // case 146 case 154: { input.readMessage( getLocalTimeValueFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 19; break; } // case 154 case 162: { input.readMessage( getZonedTimeValueFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 20; break; } // case 162 case 170: { input.readMessage( getDateValueFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 21; break; } // case 170 case 178: { input.readMessage( getLocalDatetimeValueFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 22; break; } // case 178 case 186: { input.readMessage( getZonedDatetimeValueFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 23; break; } // case 186 case 194: { input.readMessage( getRefValueFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 24; break; } // case 194 case 202: { input.readMessage( getDecimalValueFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 25; break; } // case 202 case 210: { input.readMessage( getVectorValueFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 26; break; } // case 210 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int dataCase_ = 0; private java.lang.Object data_; public DataCase getDataCase() { return DataCase.forNumber( dataCase_); } public Builder clearData() { dataCase_ = 0; data_ = null; onChanged(); return this; } private int bitField0_; /** * bool bool_value = 1; * @return Whether the boolValue field is set. */ public boolean hasBoolValue() { return dataCase_ == 1; } /** * bool bool_value = 1; * @return The boolValue. */ public boolean getBoolValue() { if (dataCase_ == 1) { return (java.lang.Boolean) data_; } return false; } /** * bool bool_value = 1; * @param value The boolValue to set. * @return This builder for chaining. */ public Builder setBoolValue(boolean value) { dataCase_ = 1; data_ = value; onChanged(); return this; } /** * bool bool_value = 1; * @return This builder for chaining. */ public Builder clearBoolValue() { if (dataCase_ == 1) { dataCase_ = 0; data_ = null; onChanged(); } return this; } /** * int32 int8_value = 2; * @return Whether the int8Value field is set. */ public boolean hasInt8Value() { return dataCase_ == 2; } /** * int32 int8_value = 2; * @return The int8Value. */ public int getInt8Value() { if (dataCase_ == 2) { return (java.lang.Integer) data_; } return 0; } /** * int32 int8_value = 2; * @param value The int8Value to set. * @return This builder for chaining. */ public Builder setInt8Value(int value) { dataCase_ = 2; data_ = value; onChanged(); return this; } /** * int32 int8_value = 2; * @return This builder for chaining. */ public Builder clearInt8Value() { if (dataCase_ == 2) { dataCase_ = 0; data_ = null; onChanged(); } return this; } /** * uint32 uint8_value = 3; * @return Whether the uint8Value field is set. */ public boolean hasUint8Value() { return dataCase_ == 3; } /** * uint32 uint8_value = 3; * @return The uint8Value. */ public int getUint8Value() { if (dataCase_ == 3) { return (java.lang.Integer) data_; } return 0; } /** * uint32 uint8_value = 3; * @param value The uint8Value to set. * @return This builder for chaining. */ public Builder setUint8Value(int value) { dataCase_ = 3; data_ = value; onChanged(); return this; } /** * uint32 uint8_value = 3; * @return This builder for chaining. */ public Builder clearUint8Value() { if (dataCase_ == 3) { dataCase_ = 0; data_ = null; onChanged(); } return this; } /** * int32 int16_value = 4; * @return Whether the int16Value field is set. */ public boolean hasInt16Value() { return dataCase_ == 4; } /** * int32 int16_value = 4; * @return The int16Value. */ public int getInt16Value() { if (dataCase_ == 4) { return (java.lang.Integer) data_; } return 0; } /** * int32 int16_value = 4; * @param value The int16Value to set. * @return This builder for chaining. */ public Builder setInt16Value(int value) { dataCase_ = 4; data_ = value; onChanged(); return this; } /** * int32 int16_value = 4; * @return This builder for chaining. */ public Builder clearInt16Value() { if (dataCase_ == 4) { dataCase_ = 0; data_ = null; onChanged(); } return this; } /** * uint32 uint16_value = 5; * @return Whether the uint16Value field is set. */ public boolean hasUint16Value() { return dataCase_ == 5; } /** * uint32 uint16_value = 5; * @return The uint16Value. */ public int getUint16Value() { if (dataCase_ == 5) { return (java.lang.Integer) data_; } return 0; } /** * uint32 uint16_value = 5; * @param value The uint16Value to set. * @return This builder for chaining. */ public Builder setUint16Value(int value) { dataCase_ = 5; data_ = value; onChanged(); return this; } /** * uint32 uint16_value = 5; * @return This builder for chaining. */ public Builder clearUint16Value() { if (dataCase_ == 5) { dataCase_ = 0; data_ = null; onChanged(); } return this; } /** * int32 int32_value = 6; * @return Whether the int32Value field is set. */ public boolean hasInt32Value() { return dataCase_ == 6; } /** * int32 int32_value = 6; * @return The int32Value. */ public int getInt32Value() { if (dataCase_ == 6) { return (java.lang.Integer) data_; } return 0; } /** * int32 int32_value = 6; * @param value The int32Value to set. * @return This builder for chaining. */ public Builder setInt32Value(int value) { dataCase_ = 6; data_ = value; onChanged(); return this; } /** * int32 int32_value = 6; * @return This builder for chaining. */ public Builder clearInt32Value() { if (dataCase_ == 6) { dataCase_ = 0; data_ = null; onChanged(); } return this; } /** * uint32 uint32_value = 7; * @return Whether the uint32Value field is set. */ public boolean hasUint32Value() { return dataCase_ == 7; } /** * uint32 uint32_value = 7; * @return The uint32Value. */ public int getUint32Value() { if (dataCase_ == 7) { return (java.lang.Integer) data_; } return 0; } /** * uint32 uint32_value = 7; * @param value The uint32Value to set. * @return This builder for chaining. */ public Builder setUint32Value(int value) { dataCase_ = 7; data_ = value; onChanged(); return this; } /** * uint32 uint32_value = 7; * @return This builder for chaining. */ public Builder clearUint32Value() { if (dataCase_ == 7) { dataCase_ = 0; data_ = null; onChanged(); } return this; } /** * int64 int64_value = 8; * @return Whether the int64Value field is set. */ public boolean hasInt64Value() { return dataCase_ == 8; } /** * int64 int64_value = 8; * @return The int64Value. */ public long getInt64Value() { if (dataCase_ == 8) { return (java.lang.Long) data_; } return 0L; } /** * int64 int64_value = 8; * @param value The int64Value to set. * @return This builder for chaining. */ public Builder setInt64Value(long value) { dataCase_ = 8; data_ = value; onChanged(); return this; } /** * int64 int64_value = 8; * @return This builder for chaining. */ public Builder clearInt64Value() { if (dataCase_ == 8) { dataCase_ = 0; data_ = null; onChanged(); } return this; } /** * uint64 uint64_value = 9; * @return Whether the uint64Value field is set. */ public boolean hasUint64Value() { return dataCase_ == 9; } /** * uint64 uint64_value = 9; * @return The uint64Value. */ public long getUint64Value() { if (dataCase_ == 9) { return (java.lang.Long) data_; } return 0L; } /** * uint64 uint64_value = 9; * @param value The uint64Value to set. * @return This builder for chaining. */ public Builder setUint64Value(long value) { dataCase_ = 9; data_ = value; onChanged(); return this; } /** * uint64 uint64_value = 9; * @return This builder for chaining. */ public Builder clearUint64Value() { if (dataCase_ == 9) { dataCase_ = 0; data_ = null; onChanged(); } return this; } /** * float float_value = 10; * @return Whether the floatValue field is set. */ public boolean hasFloatValue() { return dataCase_ == 10; } /** * float float_value = 10; * @return The floatValue. */ public float getFloatValue() { if (dataCase_ == 10) { return (java.lang.Float) data_; } return 0F; } /** * float float_value = 10; * @param value The floatValue to set. * @return This builder for chaining. */ public Builder setFloatValue(float value) { dataCase_ = 10; data_ = value; onChanged(); return this; } /** * float float_value = 10; * @return This builder for chaining. */ public Builder clearFloatValue() { if (dataCase_ == 10) { dataCase_ = 0; data_ = null; onChanged(); } return this; } /** * double double_value = 11; * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return dataCase_ == 11; } /** * double double_value = 11; * @return The doubleValue. */ public double getDoubleValue() { if (dataCase_ == 11) { return (java.lang.Double) data_; } return 0D; } /** * double double_value = 11; * @param value The doubleValue to set. * @return This builder for chaining. */ public Builder setDoubleValue(double value) { dataCase_ = 11; data_ = value; onChanged(); return this; } /** * double double_value = 11; * @return This builder for chaining. */ public Builder clearDoubleValue() { if (dataCase_ == 11) { dataCase_ = 0; data_ = null; onChanged(); } return this; } /** * bytes string_value = 12; * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return dataCase_ == 12; } /** * bytes string_value = 12; * @return The stringValue. */ public com.google.protobuf.ByteString getStringValue() { if (dataCase_ == 12) { return (com.google.protobuf.ByteString) data_; } return com.google.protobuf.ByteString.EMPTY; } /** * bytes string_value = 12; * @param value The stringValue to set. * @return This builder for chaining. */ public Builder setStringValue(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } dataCase_ = 12; data_ = value; onChanged(); return this; } /** * bytes string_value = 12; * @return This builder for chaining. */ public Builder clearStringValue() { if (dataCase_ == 12) { dataCase_ = 0; data_ = null; onChanged(); } return this; } private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.List, com.vesoft.nebula.proto.common.List.Builder, com.vesoft.nebula.proto.common.ListOrBuilder> listValueBuilder_; /** * .nebula.proto.common.List list_value = 13; * @return Whether the listValue field is set. */ @java.lang.Override public boolean hasListValue() { return dataCase_ == 13; } /** * .nebula.proto.common.List list_value = 13; * @return The listValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.List getListValue() { if (listValueBuilder_ == null) { if (dataCase_ == 13) { return (com.vesoft.nebula.proto.common.List) data_; } return com.vesoft.nebula.proto.common.List.getDefaultInstance(); } else { if (dataCase_ == 13) { return listValueBuilder_.getMessage(); } return com.vesoft.nebula.proto.common.List.getDefaultInstance(); } } /** * .nebula.proto.common.List list_value = 13; */ public Builder setListValue(com.vesoft.nebula.proto.common.List value) { if (listValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { listValueBuilder_.setMessage(value); } dataCase_ = 13; return this; } /** * .nebula.proto.common.List list_value = 13; */ public Builder setListValue( com.vesoft.nebula.proto.common.List.Builder builderForValue) { if (listValueBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { listValueBuilder_.setMessage(builderForValue.build()); } dataCase_ = 13; return this; } /** * .nebula.proto.common.List list_value = 13; */ public Builder mergeListValue(com.vesoft.nebula.proto.common.List value) { if (listValueBuilder_ == null) { if (dataCase_ == 13 && data_ != com.vesoft.nebula.proto.common.List.getDefaultInstance()) { data_ = com.vesoft.nebula.proto.common.List.newBuilder((com.vesoft.nebula.proto.common.List) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 13) { listValueBuilder_.mergeFrom(value); } else { listValueBuilder_.setMessage(value); } } dataCase_ = 13; return this; } /** * .nebula.proto.common.List list_value = 13; */ public Builder clearListValue() { if (listValueBuilder_ == null) { if (dataCase_ == 13) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 13) { dataCase_ = 0; data_ = null; } listValueBuilder_.clear(); } return this; } /** * .nebula.proto.common.List list_value = 13; */ public com.vesoft.nebula.proto.common.List.Builder getListValueBuilder() { return getListValueFieldBuilder().getBuilder(); } /** * .nebula.proto.common.List list_value = 13; */ @java.lang.Override public com.vesoft.nebula.proto.common.ListOrBuilder getListValueOrBuilder() { if ((dataCase_ == 13) && (listValueBuilder_ != null)) { return listValueBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 13) { return (com.vesoft.nebula.proto.common.List) data_; } return com.vesoft.nebula.proto.common.List.getDefaultInstance(); } } /** * .nebula.proto.common.List list_value = 13; */ private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.List, com.vesoft.nebula.proto.common.List.Builder, com.vesoft.nebula.proto.common.ListOrBuilder> getListValueFieldBuilder() { if (listValueBuilder_ == null) { if (!(dataCase_ == 13)) { data_ = com.vesoft.nebula.proto.common.List.getDefaultInstance(); } listValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.List, com.vesoft.nebula.proto.common.List.Builder, com.vesoft.nebula.proto.common.ListOrBuilder>( (com.vesoft.nebula.proto.common.List) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 13; onChanged(); return listValueBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Record, com.vesoft.nebula.proto.common.Record.Builder, com.vesoft.nebula.proto.common.RecordOrBuilder> recordValueBuilder_; /** * .nebula.proto.common.Record record_value = 14; * @return Whether the recordValue field is set. */ @java.lang.Override public boolean hasRecordValue() { return dataCase_ == 14; } /** * .nebula.proto.common.Record record_value = 14; * @return The recordValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.Record getRecordValue() { if (recordValueBuilder_ == null) { if (dataCase_ == 14) { return (com.vesoft.nebula.proto.common.Record) data_; } return com.vesoft.nebula.proto.common.Record.getDefaultInstance(); } else { if (dataCase_ == 14) { return recordValueBuilder_.getMessage(); } return com.vesoft.nebula.proto.common.Record.getDefaultInstance(); } } /** * .nebula.proto.common.Record record_value = 14; */ public Builder setRecordValue(com.vesoft.nebula.proto.common.Record value) { if (recordValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { recordValueBuilder_.setMessage(value); } dataCase_ = 14; return this; } /** * .nebula.proto.common.Record record_value = 14; */ public Builder setRecordValue( com.vesoft.nebula.proto.common.Record.Builder builderForValue) { if (recordValueBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { recordValueBuilder_.setMessage(builderForValue.build()); } dataCase_ = 14; return this; } /** * .nebula.proto.common.Record record_value = 14; */ public Builder mergeRecordValue(com.vesoft.nebula.proto.common.Record value) { if (recordValueBuilder_ == null) { if (dataCase_ == 14 && data_ != com.vesoft.nebula.proto.common.Record.getDefaultInstance()) { data_ = com.vesoft.nebula.proto.common.Record.newBuilder((com.vesoft.nebula.proto.common.Record) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 14) { recordValueBuilder_.mergeFrom(value); } else { recordValueBuilder_.setMessage(value); } } dataCase_ = 14; return this; } /** * .nebula.proto.common.Record record_value = 14; */ public Builder clearRecordValue() { if (recordValueBuilder_ == null) { if (dataCase_ == 14) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 14) { dataCase_ = 0; data_ = null; } recordValueBuilder_.clear(); } return this; } /** * .nebula.proto.common.Record record_value = 14; */ public com.vesoft.nebula.proto.common.Record.Builder getRecordValueBuilder() { return getRecordValueFieldBuilder().getBuilder(); } /** * .nebula.proto.common.Record record_value = 14; */ @java.lang.Override public com.vesoft.nebula.proto.common.RecordOrBuilder getRecordValueOrBuilder() { if ((dataCase_ == 14) && (recordValueBuilder_ != null)) { return recordValueBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 14) { return (com.vesoft.nebula.proto.common.Record) data_; } return com.vesoft.nebula.proto.common.Record.getDefaultInstance(); } } /** * .nebula.proto.common.Record record_value = 14; */ private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Record, com.vesoft.nebula.proto.common.Record.Builder, com.vesoft.nebula.proto.common.RecordOrBuilder> getRecordValueFieldBuilder() { if (recordValueBuilder_ == null) { if (!(dataCase_ == 14)) { data_ = com.vesoft.nebula.proto.common.Record.getDefaultInstance(); } recordValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Record, com.vesoft.nebula.proto.common.Record.Builder, com.vesoft.nebula.proto.common.RecordOrBuilder>( (com.vesoft.nebula.proto.common.Record) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 14; onChanged(); return recordValueBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Node, com.vesoft.nebula.proto.common.Node.Builder, com.vesoft.nebula.proto.common.NodeOrBuilder> nodeValueBuilder_; /** * .nebula.proto.common.Node node_value = 15; * @return Whether the nodeValue field is set. */ @java.lang.Override public boolean hasNodeValue() { return dataCase_ == 15; } /** * .nebula.proto.common.Node node_value = 15; * @return The nodeValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.Node getNodeValue() { if (nodeValueBuilder_ == null) { if (dataCase_ == 15) { return (com.vesoft.nebula.proto.common.Node) data_; } return com.vesoft.nebula.proto.common.Node.getDefaultInstance(); } else { if (dataCase_ == 15) { return nodeValueBuilder_.getMessage(); } return com.vesoft.nebula.proto.common.Node.getDefaultInstance(); } } /** * .nebula.proto.common.Node node_value = 15; */ public Builder setNodeValue(com.vesoft.nebula.proto.common.Node value) { if (nodeValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { nodeValueBuilder_.setMessage(value); } dataCase_ = 15; return this; } /** * .nebula.proto.common.Node node_value = 15; */ public Builder setNodeValue( com.vesoft.nebula.proto.common.Node.Builder builderForValue) { if (nodeValueBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { nodeValueBuilder_.setMessage(builderForValue.build()); } dataCase_ = 15; return this; } /** * .nebula.proto.common.Node node_value = 15; */ public Builder mergeNodeValue(com.vesoft.nebula.proto.common.Node value) { if (nodeValueBuilder_ == null) { if (dataCase_ == 15 && data_ != com.vesoft.nebula.proto.common.Node.getDefaultInstance()) { data_ = com.vesoft.nebula.proto.common.Node.newBuilder((com.vesoft.nebula.proto.common.Node) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 15) { nodeValueBuilder_.mergeFrom(value); } else { nodeValueBuilder_.setMessage(value); } } dataCase_ = 15; return this; } /** * .nebula.proto.common.Node node_value = 15; */ public Builder clearNodeValue() { if (nodeValueBuilder_ == null) { if (dataCase_ == 15) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 15) { dataCase_ = 0; data_ = null; } nodeValueBuilder_.clear(); } return this; } /** * .nebula.proto.common.Node node_value = 15; */ public com.vesoft.nebula.proto.common.Node.Builder getNodeValueBuilder() { return getNodeValueFieldBuilder().getBuilder(); } /** * .nebula.proto.common.Node node_value = 15; */ @java.lang.Override public com.vesoft.nebula.proto.common.NodeOrBuilder getNodeValueOrBuilder() { if ((dataCase_ == 15) && (nodeValueBuilder_ != null)) { return nodeValueBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 15) { return (com.vesoft.nebula.proto.common.Node) data_; } return com.vesoft.nebula.proto.common.Node.getDefaultInstance(); } } /** * .nebula.proto.common.Node node_value = 15; */ private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Node, com.vesoft.nebula.proto.common.Node.Builder, com.vesoft.nebula.proto.common.NodeOrBuilder> getNodeValueFieldBuilder() { if (nodeValueBuilder_ == null) { if (!(dataCase_ == 15)) { data_ = com.vesoft.nebula.proto.common.Node.getDefaultInstance(); } nodeValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Node, com.vesoft.nebula.proto.common.Node.Builder, com.vesoft.nebula.proto.common.NodeOrBuilder>( (com.vesoft.nebula.proto.common.Node) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 15; onChanged(); return nodeValueBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Edge, com.vesoft.nebula.proto.common.Edge.Builder, com.vesoft.nebula.proto.common.EdgeOrBuilder> edgeValueBuilder_; /** * .nebula.proto.common.Edge edge_value = 16; * @return Whether the edgeValue field is set. */ @java.lang.Override public boolean hasEdgeValue() { return dataCase_ == 16; } /** * .nebula.proto.common.Edge edge_value = 16; * @return The edgeValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.Edge getEdgeValue() { if (edgeValueBuilder_ == null) { if (dataCase_ == 16) { return (com.vesoft.nebula.proto.common.Edge) data_; } return com.vesoft.nebula.proto.common.Edge.getDefaultInstance(); } else { if (dataCase_ == 16) { return edgeValueBuilder_.getMessage(); } return com.vesoft.nebula.proto.common.Edge.getDefaultInstance(); } } /** * .nebula.proto.common.Edge edge_value = 16; */ public Builder setEdgeValue(com.vesoft.nebula.proto.common.Edge value) { if (edgeValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { edgeValueBuilder_.setMessage(value); } dataCase_ = 16; return this; } /** * .nebula.proto.common.Edge edge_value = 16; */ public Builder setEdgeValue( com.vesoft.nebula.proto.common.Edge.Builder builderForValue) { if (edgeValueBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { edgeValueBuilder_.setMessage(builderForValue.build()); } dataCase_ = 16; return this; } /** * .nebula.proto.common.Edge edge_value = 16; */ public Builder mergeEdgeValue(com.vesoft.nebula.proto.common.Edge value) { if (edgeValueBuilder_ == null) { if (dataCase_ == 16 && data_ != com.vesoft.nebula.proto.common.Edge.getDefaultInstance()) { data_ = com.vesoft.nebula.proto.common.Edge.newBuilder((com.vesoft.nebula.proto.common.Edge) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 16) { edgeValueBuilder_.mergeFrom(value); } else { edgeValueBuilder_.setMessage(value); } } dataCase_ = 16; return this; } /** * .nebula.proto.common.Edge edge_value = 16; */ public Builder clearEdgeValue() { if (edgeValueBuilder_ == null) { if (dataCase_ == 16) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 16) { dataCase_ = 0; data_ = null; } edgeValueBuilder_.clear(); } return this; } /** * .nebula.proto.common.Edge edge_value = 16; */ public com.vesoft.nebula.proto.common.Edge.Builder getEdgeValueBuilder() { return getEdgeValueFieldBuilder().getBuilder(); } /** * .nebula.proto.common.Edge edge_value = 16; */ @java.lang.Override public com.vesoft.nebula.proto.common.EdgeOrBuilder getEdgeValueOrBuilder() { if ((dataCase_ == 16) && (edgeValueBuilder_ != null)) { return edgeValueBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 16) { return (com.vesoft.nebula.proto.common.Edge) data_; } return com.vesoft.nebula.proto.common.Edge.getDefaultInstance(); } } /** * .nebula.proto.common.Edge edge_value = 16; */ private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Edge, com.vesoft.nebula.proto.common.Edge.Builder, com.vesoft.nebula.proto.common.EdgeOrBuilder> getEdgeValueFieldBuilder() { if (edgeValueBuilder_ == null) { if (!(dataCase_ == 16)) { data_ = com.vesoft.nebula.proto.common.Edge.getDefaultInstance(); } edgeValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Edge, com.vesoft.nebula.proto.common.Edge.Builder, com.vesoft.nebula.proto.common.EdgeOrBuilder>( (com.vesoft.nebula.proto.common.Edge) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 16; onChanged(); return edgeValueBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Path, com.vesoft.nebula.proto.common.Path.Builder, com.vesoft.nebula.proto.common.PathOrBuilder> pathValueBuilder_; /** * .nebula.proto.common.Path path_value = 17; * @return Whether the pathValue field is set. */ @java.lang.Override public boolean hasPathValue() { return dataCase_ == 17; } /** * .nebula.proto.common.Path path_value = 17; * @return The pathValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.Path getPathValue() { if (pathValueBuilder_ == null) { if (dataCase_ == 17) { return (com.vesoft.nebula.proto.common.Path) data_; } return com.vesoft.nebula.proto.common.Path.getDefaultInstance(); } else { if (dataCase_ == 17) { return pathValueBuilder_.getMessage(); } return com.vesoft.nebula.proto.common.Path.getDefaultInstance(); } } /** * .nebula.proto.common.Path path_value = 17; */ public Builder setPathValue(com.vesoft.nebula.proto.common.Path value) { if (pathValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { pathValueBuilder_.setMessage(value); } dataCase_ = 17; return this; } /** * .nebula.proto.common.Path path_value = 17; */ public Builder setPathValue( com.vesoft.nebula.proto.common.Path.Builder builderForValue) { if (pathValueBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { pathValueBuilder_.setMessage(builderForValue.build()); } dataCase_ = 17; return this; } /** * .nebula.proto.common.Path path_value = 17; */ public Builder mergePathValue(com.vesoft.nebula.proto.common.Path value) { if (pathValueBuilder_ == null) { if (dataCase_ == 17 && data_ != com.vesoft.nebula.proto.common.Path.getDefaultInstance()) { data_ = com.vesoft.nebula.proto.common.Path.newBuilder((com.vesoft.nebula.proto.common.Path) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 17) { pathValueBuilder_.mergeFrom(value); } else { pathValueBuilder_.setMessage(value); } } dataCase_ = 17; return this; } /** * .nebula.proto.common.Path path_value = 17; */ public Builder clearPathValue() { if (pathValueBuilder_ == null) { if (dataCase_ == 17) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 17) { dataCase_ = 0; data_ = null; } pathValueBuilder_.clear(); } return this; } /** * .nebula.proto.common.Path path_value = 17; */ public com.vesoft.nebula.proto.common.Path.Builder getPathValueBuilder() { return getPathValueFieldBuilder().getBuilder(); } /** * .nebula.proto.common.Path path_value = 17; */ @java.lang.Override public com.vesoft.nebula.proto.common.PathOrBuilder getPathValueOrBuilder() { if ((dataCase_ == 17) && (pathValueBuilder_ != null)) { return pathValueBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 17) { return (com.vesoft.nebula.proto.common.Path) data_; } return com.vesoft.nebula.proto.common.Path.getDefaultInstance(); } } /** * .nebula.proto.common.Path path_value = 17; */ private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Path, com.vesoft.nebula.proto.common.Path.Builder, com.vesoft.nebula.proto.common.PathOrBuilder> getPathValueFieldBuilder() { if (pathValueBuilder_ == null) { if (!(dataCase_ == 17)) { data_ = com.vesoft.nebula.proto.common.Path.getDefaultInstance(); } pathValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Path, com.vesoft.nebula.proto.common.Path.Builder, com.vesoft.nebula.proto.common.PathOrBuilder>( (com.vesoft.nebula.proto.common.Path) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 17; onChanged(); return pathValueBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Duration, com.vesoft.nebula.proto.common.Duration.Builder, com.vesoft.nebula.proto.common.DurationOrBuilder> durationValueBuilder_; /** * .nebula.proto.common.Duration duration_value = 18; * @return Whether the durationValue field is set. */ @java.lang.Override public boolean hasDurationValue() { return dataCase_ == 18; } /** * .nebula.proto.common.Duration duration_value = 18; * @return The durationValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.Duration getDurationValue() { if (durationValueBuilder_ == null) { if (dataCase_ == 18) { return (com.vesoft.nebula.proto.common.Duration) data_; } return com.vesoft.nebula.proto.common.Duration.getDefaultInstance(); } else { if (dataCase_ == 18) { return durationValueBuilder_.getMessage(); } return com.vesoft.nebula.proto.common.Duration.getDefaultInstance(); } } /** * .nebula.proto.common.Duration duration_value = 18; */ public Builder setDurationValue(com.vesoft.nebula.proto.common.Duration value) { if (durationValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { durationValueBuilder_.setMessage(value); } dataCase_ = 18; return this; } /** * .nebula.proto.common.Duration duration_value = 18; */ public Builder setDurationValue( com.vesoft.nebula.proto.common.Duration.Builder builderForValue) { if (durationValueBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { durationValueBuilder_.setMessage(builderForValue.build()); } dataCase_ = 18; return this; } /** * .nebula.proto.common.Duration duration_value = 18; */ public Builder mergeDurationValue(com.vesoft.nebula.proto.common.Duration value) { if (durationValueBuilder_ == null) { if (dataCase_ == 18 && data_ != com.vesoft.nebula.proto.common.Duration.getDefaultInstance()) { data_ = com.vesoft.nebula.proto.common.Duration.newBuilder((com.vesoft.nebula.proto.common.Duration) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 18) { durationValueBuilder_.mergeFrom(value); } else { durationValueBuilder_.setMessage(value); } } dataCase_ = 18; return this; } /** * .nebula.proto.common.Duration duration_value = 18; */ public Builder clearDurationValue() { if (durationValueBuilder_ == null) { if (dataCase_ == 18) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 18) { dataCase_ = 0; data_ = null; } durationValueBuilder_.clear(); } return this; } /** * .nebula.proto.common.Duration duration_value = 18; */ public com.vesoft.nebula.proto.common.Duration.Builder getDurationValueBuilder() { return getDurationValueFieldBuilder().getBuilder(); } /** * .nebula.proto.common.Duration duration_value = 18; */ @java.lang.Override public com.vesoft.nebula.proto.common.DurationOrBuilder getDurationValueOrBuilder() { if ((dataCase_ == 18) && (durationValueBuilder_ != null)) { return durationValueBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 18) { return (com.vesoft.nebula.proto.common.Duration) data_; } return com.vesoft.nebula.proto.common.Duration.getDefaultInstance(); } } /** * .nebula.proto.common.Duration duration_value = 18; */ private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Duration, com.vesoft.nebula.proto.common.Duration.Builder, com.vesoft.nebula.proto.common.DurationOrBuilder> getDurationValueFieldBuilder() { if (durationValueBuilder_ == null) { if (!(dataCase_ == 18)) { data_ = com.vesoft.nebula.proto.common.Duration.getDefaultInstance(); } durationValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Duration, com.vesoft.nebula.proto.common.Duration.Builder, com.vesoft.nebula.proto.common.DurationOrBuilder>( (com.vesoft.nebula.proto.common.Duration) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 18; onChanged(); return durationValueBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.LocalTime, com.vesoft.nebula.proto.common.LocalTime.Builder, com.vesoft.nebula.proto.common.LocalTimeOrBuilder> localTimeValueBuilder_; /** * .nebula.proto.common.LocalTime local_time_value = 19; * @return Whether the localTimeValue field is set. */ @java.lang.Override public boolean hasLocalTimeValue() { return dataCase_ == 19; } /** * .nebula.proto.common.LocalTime local_time_value = 19; * @return The localTimeValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.LocalTime getLocalTimeValue() { if (localTimeValueBuilder_ == null) { if (dataCase_ == 19) { return (com.vesoft.nebula.proto.common.LocalTime) data_; } return com.vesoft.nebula.proto.common.LocalTime.getDefaultInstance(); } else { if (dataCase_ == 19) { return localTimeValueBuilder_.getMessage(); } return com.vesoft.nebula.proto.common.LocalTime.getDefaultInstance(); } } /** * .nebula.proto.common.LocalTime local_time_value = 19; */ public Builder setLocalTimeValue(com.vesoft.nebula.proto.common.LocalTime value) { if (localTimeValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { localTimeValueBuilder_.setMessage(value); } dataCase_ = 19; return this; } /** * .nebula.proto.common.LocalTime local_time_value = 19; */ public Builder setLocalTimeValue( com.vesoft.nebula.proto.common.LocalTime.Builder builderForValue) { if (localTimeValueBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { localTimeValueBuilder_.setMessage(builderForValue.build()); } dataCase_ = 19; return this; } /** * .nebula.proto.common.LocalTime local_time_value = 19; */ public Builder mergeLocalTimeValue(com.vesoft.nebula.proto.common.LocalTime value) { if (localTimeValueBuilder_ == null) { if (dataCase_ == 19 && data_ != com.vesoft.nebula.proto.common.LocalTime.getDefaultInstance()) { data_ = com.vesoft.nebula.proto.common.LocalTime.newBuilder((com.vesoft.nebula.proto.common.LocalTime) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 19) { localTimeValueBuilder_.mergeFrom(value); } else { localTimeValueBuilder_.setMessage(value); } } dataCase_ = 19; return this; } /** * .nebula.proto.common.LocalTime local_time_value = 19; */ public Builder clearLocalTimeValue() { if (localTimeValueBuilder_ == null) { if (dataCase_ == 19) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 19) { dataCase_ = 0; data_ = null; } localTimeValueBuilder_.clear(); } return this; } /** * .nebula.proto.common.LocalTime local_time_value = 19; */ public com.vesoft.nebula.proto.common.LocalTime.Builder getLocalTimeValueBuilder() { return getLocalTimeValueFieldBuilder().getBuilder(); } /** * .nebula.proto.common.LocalTime local_time_value = 19; */ @java.lang.Override public com.vesoft.nebula.proto.common.LocalTimeOrBuilder getLocalTimeValueOrBuilder() { if ((dataCase_ == 19) && (localTimeValueBuilder_ != null)) { return localTimeValueBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 19) { return (com.vesoft.nebula.proto.common.LocalTime) data_; } return com.vesoft.nebula.proto.common.LocalTime.getDefaultInstance(); } } /** * .nebula.proto.common.LocalTime local_time_value = 19; */ private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.LocalTime, com.vesoft.nebula.proto.common.LocalTime.Builder, com.vesoft.nebula.proto.common.LocalTimeOrBuilder> getLocalTimeValueFieldBuilder() { if (localTimeValueBuilder_ == null) { if (!(dataCase_ == 19)) { data_ = com.vesoft.nebula.proto.common.LocalTime.getDefaultInstance(); } localTimeValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.LocalTime, com.vesoft.nebula.proto.common.LocalTime.Builder, com.vesoft.nebula.proto.common.LocalTimeOrBuilder>( (com.vesoft.nebula.proto.common.LocalTime) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 19; onChanged(); return localTimeValueBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.ZonedTime, com.vesoft.nebula.proto.common.ZonedTime.Builder, com.vesoft.nebula.proto.common.ZonedTimeOrBuilder> zonedTimeValueBuilder_; /** * .nebula.proto.common.ZonedTime zoned_time_value = 20; * @return Whether the zonedTimeValue field is set. */ @java.lang.Override public boolean hasZonedTimeValue() { return dataCase_ == 20; } /** * .nebula.proto.common.ZonedTime zoned_time_value = 20; * @return The zonedTimeValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.ZonedTime getZonedTimeValue() { if (zonedTimeValueBuilder_ == null) { if (dataCase_ == 20) { return (com.vesoft.nebula.proto.common.ZonedTime) data_; } return com.vesoft.nebula.proto.common.ZonedTime.getDefaultInstance(); } else { if (dataCase_ == 20) { return zonedTimeValueBuilder_.getMessage(); } return com.vesoft.nebula.proto.common.ZonedTime.getDefaultInstance(); } } /** * .nebula.proto.common.ZonedTime zoned_time_value = 20; */ public Builder setZonedTimeValue(com.vesoft.nebula.proto.common.ZonedTime value) { if (zonedTimeValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { zonedTimeValueBuilder_.setMessage(value); } dataCase_ = 20; return this; } /** * .nebula.proto.common.ZonedTime zoned_time_value = 20; */ public Builder setZonedTimeValue( com.vesoft.nebula.proto.common.ZonedTime.Builder builderForValue) { if (zonedTimeValueBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { zonedTimeValueBuilder_.setMessage(builderForValue.build()); } dataCase_ = 20; return this; } /** * .nebula.proto.common.ZonedTime zoned_time_value = 20; */ public Builder mergeZonedTimeValue(com.vesoft.nebula.proto.common.ZonedTime value) { if (zonedTimeValueBuilder_ == null) { if (dataCase_ == 20 && data_ != com.vesoft.nebula.proto.common.ZonedTime.getDefaultInstance()) { data_ = com.vesoft.nebula.proto.common.ZonedTime.newBuilder((com.vesoft.nebula.proto.common.ZonedTime) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 20) { zonedTimeValueBuilder_.mergeFrom(value); } else { zonedTimeValueBuilder_.setMessage(value); } } dataCase_ = 20; return this; } /** * .nebula.proto.common.ZonedTime zoned_time_value = 20; */ public Builder clearZonedTimeValue() { if (zonedTimeValueBuilder_ == null) { if (dataCase_ == 20) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 20) { dataCase_ = 0; data_ = null; } zonedTimeValueBuilder_.clear(); } return this; } /** * .nebula.proto.common.ZonedTime zoned_time_value = 20; */ public com.vesoft.nebula.proto.common.ZonedTime.Builder getZonedTimeValueBuilder() { return getZonedTimeValueFieldBuilder().getBuilder(); } /** * .nebula.proto.common.ZonedTime zoned_time_value = 20; */ @java.lang.Override public com.vesoft.nebula.proto.common.ZonedTimeOrBuilder getZonedTimeValueOrBuilder() { if ((dataCase_ == 20) && (zonedTimeValueBuilder_ != null)) { return zonedTimeValueBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 20) { return (com.vesoft.nebula.proto.common.ZonedTime) data_; } return com.vesoft.nebula.proto.common.ZonedTime.getDefaultInstance(); } } /** * .nebula.proto.common.ZonedTime zoned_time_value = 20; */ private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.ZonedTime, com.vesoft.nebula.proto.common.ZonedTime.Builder, com.vesoft.nebula.proto.common.ZonedTimeOrBuilder> getZonedTimeValueFieldBuilder() { if (zonedTimeValueBuilder_ == null) { if (!(dataCase_ == 20)) { data_ = com.vesoft.nebula.proto.common.ZonedTime.getDefaultInstance(); } zonedTimeValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.ZonedTime, com.vesoft.nebula.proto.common.ZonedTime.Builder, com.vesoft.nebula.proto.common.ZonedTimeOrBuilder>( (com.vesoft.nebula.proto.common.ZonedTime) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 20; onChanged(); return zonedTimeValueBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Date, com.vesoft.nebula.proto.common.Date.Builder, com.vesoft.nebula.proto.common.DateOrBuilder> dateValueBuilder_; /** * .nebula.proto.common.Date date_value = 21; * @return Whether the dateValue field is set. */ @java.lang.Override public boolean hasDateValue() { return dataCase_ == 21; } /** * .nebula.proto.common.Date date_value = 21; * @return The dateValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.Date getDateValue() { if (dateValueBuilder_ == null) { if (dataCase_ == 21) { return (com.vesoft.nebula.proto.common.Date) data_; } return com.vesoft.nebula.proto.common.Date.getDefaultInstance(); } else { if (dataCase_ == 21) { return dateValueBuilder_.getMessage(); } return com.vesoft.nebula.proto.common.Date.getDefaultInstance(); } } /** * .nebula.proto.common.Date date_value = 21; */ public Builder setDateValue(com.vesoft.nebula.proto.common.Date value) { if (dateValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { dateValueBuilder_.setMessage(value); } dataCase_ = 21; return this; } /** * .nebula.proto.common.Date date_value = 21; */ public Builder setDateValue( com.vesoft.nebula.proto.common.Date.Builder builderForValue) { if (dateValueBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { dateValueBuilder_.setMessage(builderForValue.build()); } dataCase_ = 21; return this; } /** * .nebula.proto.common.Date date_value = 21; */ public Builder mergeDateValue(com.vesoft.nebula.proto.common.Date value) { if (dateValueBuilder_ == null) { if (dataCase_ == 21 && data_ != com.vesoft.nebula.proto.common.Date.getDefaultInstance()) { data_ = com.vesoft.nebula.proto.common.Date.newBuilder((com.vesoft.nebula.proto.common.Date) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 21) { dateValueBuilder_.mergeFrom(value); } else { dateValueBuilder_.setMessage(value); } } dataCase_ = 21; return this; } /** * .nebula.proto.common.Date date_value = 21; */ public Builder clearDateValue() { if (dateValueBuilder_ == null) { if (dataCase_ == 21) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 21) { dataCase_ = 0; data_ = null; } dateValueBuilder_.clear(); } return this; } /** * .nebula.proto.common.Date date_value = 21; */ public com.vesoft.nebula.proto.common.Date.Builder getDateValueBuilder() { return getDateValueFieldBuilder().getBuilder(); } /** * .nebula.proto.common.Date date_value = 21; */ @java.lang.Override public com.vesoft.nebula.proto.common.DateOrBuilder getDateValueOrBuilder() { if ((dataCase_ == 21) && (dateValueBuilder_ != null)) { return dateValueBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 21) { return (com.vesoft.nebula.proto.common.Date) data_; } return com.vesoft.nebula.proto.common.Date.getDefaultInstance(); } } /** * .nebula.proto.common.Date date_value = 21; */ private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Date, com.vesoft.nebula.proto.common.Date.Builder, com.vesoft.nebula.proto.common.DateOrBuilder> getDateValueFieldBuilder() { if (dateValueBuilder_ == null) { if (!(dataCase_ == 21)) { data_ = com.vesoft.nebula.proto.common.Date.getDefaultInstance(); } dateValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Date, com.vesoft.nebula.proto.common.Date.Builder, com.vesoft.nebula.proto.common.DateOrBuilder>( (com.vesoft.nebula.proto.common.Date) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 21; onChanged(); return dateValueBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.LocalDatetime, com.vesoft.nebula.proto.common.LocalDatetime.Builder, com.vesoft.nebula.proto.common.LocalDatetimeOrBuilder> localDatetimeValueBuilder_; /** * .nebula.proto.common.LocalDatetime local_datetime_value = 22; * @return Whether the localDatetimeValue field is set. */ @java.lang.Override public boolean hasLocalDatetimeValue() { return dataCase_ == 22; } /** * .nebula.proto.common.LocalDatetime local_datetime_value = 22; * @return The localDatetimeValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.LocalDatetime getLocalDatetimeValue() { if (localDatetimeValueBuilder_ == null) { if (dataCase_ == 22) { return (com.vesoft.nebula.proto.common.LocalDatetime) data_; } return com.vesoft.nebula.proto.common.LocalDatetime.getDefaultInstance(); } else { if (dataCase_ == 22) { return localDatetimeValueBuilder_.getMessage(); } return com.vesoft.nebula.proto.common.LocalDatetime.getDefaultInstance(); } } /** * .nebula.proto.common.LocalDatetime local_datetime_value = 22; */ public Builder setLocalDatetimeValue(com.vesoft.nebula.proto.common.LocalDatetime value) { if (localDatetimeValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { localDatetimeValueBuilder_.setMessage(value); } dataCase_ = 22; return this; } /** * .nebula.proto.common.LocalDatetime local_datetime_value = 22; */ public Builder setLocalDatetimeValue( com.vesoft.nebula.proto.common.LocalDatetime.Builder builderForValue) { if (localDatetimeValueBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { localDatetimeValueBuilder_.setMessage(builderForValue.build()); } dataCase_ = 22; return this; } /** * .nebula.proto.common.LocalDatetime local_datetime_value = 22; */ public Builder mergeLocalDatetimeValue(com.vesoft.nebula.proto.common.LocalDatetime value) { if (localDatetimeValueBuilder_ == null) { if (dataCase_ == 22 && data_ != com.vesoft.nebula.proto.common.LocalDatetime.getDefaultInstance()) { data_ = com.vesoft.nebula.proto.common.LocalDatetime.newBuilder((com.vesoft.nebula.proto.common.LocalDatetime) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 22) { localDatetimeValueBuilder_.mergeFrom(value); } else { localDatetimeValueBuilder_.setMessage(value); } } dataCase_ = 22; return this; } /** * .nebula.proto.common.LocalDatetime local_datetime_value = 22; */ public Builder clearLocalDatetimeValue() { if (localDatetimeValueBuilder_ == null) { if (dataCase_ == 22) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 22) { dataCase_ = 0; data_ = null; } localDatetimeValueBuilder_.clear(); } return this; } /** * .nebula.proto.common.LocalDatetime local_datetime_value = 22; */ public com.vesoft.nebula.proto.common.LocalDatetime.Builder getLocalDatetimeValueBuilder() { return getLocalDatetimeValueFieldBuilder().getBuilder(); } /** * .nebula.proto.common.LocalDatetime local_datetime_value = 22; */ @java.lang.Override public com.vesoft.nebula.proto.common.LocalDatetimeOrBuilder getLocalDatetimeValueOrBuilder() { if ((dataCase_ == 22) && (localDatetimeValueBuilder_ != null)) { return localDatetimeValueBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 22) { return (com.vesoft.nebula.proto.common.LocalDatetime) data_; } return com.vesoft.nebula.proto.common.LocalDatetime.getDefaultInstance(); } } /** * .nebula.proto.common.LocalDatetime local_datetime_value = 22; */ private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.LocalDatetime, com.vesoft.nebula.proto.common.LocalDatetime.Builder, com.vesoft.nebula.proto.common.LocalDatetimeOrBuilder> getLocalDatetimeValueFieldBuilder() { if (localDatetimeValueBuilder_ == null) { if (!(dataCase_ == 22)) { data_ = com.vesoft.nebula.proto.common.LocalDatetime.getDefaultInstance(); } localDatetimeValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.LocalDatetime, com.vesoft.nebula.proto.common.LocalDatetime.Builder, com.vesoft.nebula.proto.common.LocalDatetimeOrBuilder>( (com.vesoft.nebula.proto.common.LocalDatetime) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 22; onChanged(); return localDatetimeValueBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.ZonedDatetime, com.vesoft.nebula.proto.common.ZonedDatetime.Builder, com.vesoft.nebula.proto.common.ZonedDatetimeOrBuilder> zonedDatetimeValueBuilder_; /** * .nebula.proto.common.ZonedDatetime zoned_datetime_value = 23; * @return Whether the zonedDatetimeValue field is set. */ @java.lang.Override public boolean hasZonedDatetimeValue() { return dataCase_ == 23; } /** * .nebula.proto.common.ZonedDatetime zoned_datetime_value = 23; * @return The zonedDatetimeValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.ZonedDatetime getZonedDatetimeValue() { if (zonedDatetimeValueBuilder_ == null) { if (dataCase_ == 23) { return (com.vesoft.nebula.proto.common.ZonedDatetime) data_; } return com.vesoft.nebula.proto.common.ZonedDatetime.getDefaultInstance(); } else { if (dataCase_ == 23) { return zonedDatetimeValueBuilder_.getMessage(); } return com.vesoft.nebula.proto.common.ZonedDatetime.getDefaultInstance(); } } /** * .nebula.proto.common.ZonedDatetime zoned_datetime_value = 23; */ public Builder setZonedDatetimeValue(com.vesoft.nebula.proto.common.ZonedDatetime value) { if (zonedDatetimeValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { zonedDatetimeValueBuilder_.setMessage(value); } dataCase_ = 23; return this; } /** * .nebula.proto.common.ZonedDatetime zoned_datetime_value = 23; */ public Builder setZonedDatetimeValue( com.vesoft.nebula.proto.common.ZonedDatetime.Builder builderForValue) { if (zonedDatetimeValueBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { zonedDatetimeValueBuilder_.setMessage(builderForValue.build()); } dataCase_ = 23; return this; } /** * .nebula.proto.common.ZonedDatetime zoned_datetime_value = 23; */ public Builder mergeZonedDatetimeValue(com.vesoft.nebula.proto.common.ZonedDatetime value) { if (zonedDatetimeValueBuilder_ == null) { if (dataCase_ == 23 && data_ != com.vesoft.nebula.proto.common.ZonedDatetime.getDefaultInstance()) { data_ = com.vesoft.nebula.proto.common.ZonedDatetime.newBuilder((com.vesoft.nebula.proto.common.ZonedDatetime) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 23) { zonedDatetimeValueBuilder_.mergeFrom(value); } else { zonedDatetimeValueBuilder_.setMessage(value); } } dataCase_ = 23; return this; } /** * .nebula.proto.common.ZonedDatetime zoned_datetime_value = 23; */ public Builder clearZonedDatetimeValue() { if (zonedDatetimeValueBuilder_ == null) { if (dataCase_ == 23) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 23) { dataCase_ = 0; data_ = null; } zonedDatetimeValueBuilder_.clear(); } return this; } /** * .nebula.proto.common.ZonedDatetime zoned_datetime_value = 23; */ public com.vesoft.nebula.proto.common.ZonedDatetime.Builder getZonedDatetimeValueBuilder() { return getZonedDatetimeValueFieldBuilder().getBuilder(); } /** * .nebula.proto.common.ZonedDatetime zoned_datetime_value = 23; */ @java.lang.Override public com.vesoft.nebula.proto.common.ZonedDatetimeOrBuilder getZonedDatetimeValueOrBuilder() { if ((dataCase_ == 23) && (zonedDatetimeValueBuilder_ != null)) { return zonedDatetimeValueBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 23) { return (com.vesoft.nebula.proto.common.ZonedDatetime) data_; } return com.vesoft.nebula.proto.common.ZonedDatetime.getDefaultInstance(); } } /** * .nebula.proto.common.ZonedDatetime zoned_datetime_value = 23; */ private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.ZonedDatetime, com.vesoft.nebula.proto.common.ZonedDatetime.Builder, com.vesoft.nebula.proto.common.ZonedDatetimeOrBuilder> getZonedDatetimeValueFieldBuilder() { if (zonedDatetimeValueBuilder_ == null) { if (!(dataCase_ == 23)) { data_ = com.vesoft.nebula.proto.common.ZonedDatetime.getDefaultInstance(); } zonedDatetimeValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.ZonedDatetime, com.vesoft.nebula.proto.common.ZonedDatetime.Builder, com.vesoft.nebula.proto.common.ZonedDatetimeOrBuilder>( (com.vesoft.nebula.proto.common.ZonedDatetime) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 23; onChanged(); return zonedDatetimeValueBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Ref, com.vesoft.nebula.proto.common.Ref.Builder, com.vesoft.nebula.proto.common.RefOrBuilder> refValueBuilder_; /** * .nebula.proto.common.Ref ref_value = 24; * @return Whether the refValue field is set. */ @java.lang.Override public boolean hasRefValue() { return dataCase_ == 24; } /** * .nebula.proto.common.Ref ref_value = 24; * @return The refValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.Ref getRefValue() { if (refValueBuilder_ == null) { if (dataCase_ == 24) { return (com.vesoft.nebula.proto.common.Ref) data_; } return com.vesoft.nebula.proto.common.Ref.getDefaultInstance(); } else { if (dataCase_ == 24) { return refValueBuilder_.getMessage(); } return com.vesoft.nebula.proto.common.Ref.getDefaultInstance(); } } /** * .nebula.proto.common.Ref ref_value = 24; */ public Builder setRefValue(com.vesoft.nebula.proto.common.Ref value) { if (refValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { refValueBuilder_.setMessage(value); } dataCase_ = 24; return this; } /** * .nebula.proto.common.Ref ref_value = 24; */ public Builder setRefValue( com.vesoft.nebula.proto.common.Ref.Builder builderForValue) { if (refValueBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { refValueBuilder_.setMessage(builderForValue.build()); } dataCase_ = 24; return this; } /** * .nebula.proto.common.Ref ref_value = 24; */ public Builder mergeRefValue(com.vesoft.nebula.proto.common.Ref value) { if (refValueBuilder_ == null) { if (dataCase_ == 24 && data_ != com.vesoft.nebula.proto.common.Ref.getDefaultInstance()) { data_ = com.vesoft.nebula.proto.common.Ref.newBuilder((com.vesoft.nebula.proto.common.Ref) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 24) { refValueBuilder_.mergeFrom(value); } else { refValueBuilder_.setMessage(value); } } dataCase_ = 24; return this; } /** * .nebula.proto.common.Ref ref_value = 24; */ public Builder clearRefValue() { if (refValueBuilder_ == null) { if (dataCase_ == 24) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 24) { dataCase_ = 0; data_ = null; } refValueBuilder_.clear(); } return this; } /** * .nebula.proto.common.Ref ref_value = 24; */ public com.vesoft.nebula.proto.common.Ref.Builder getRefValueBuilder() { return getRefValueFieldBuilder().getBuilder(); } /** * .nebula.proto.common.Ref ref_value = 24; */ @java.lang.Override public com.vesoft.nebula.proto.common.RefOrBuilder getRefValueOrBuilder() { if ((dataCase_ == 24) && (refValueBuilder_ != null)) { return refValueBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 24) { return (com.vesoft.nebula.proto.common.Ref) data_; } return com.vesoft.nebula.proto.common.Ref.getDefaultInstance(); } } /** * .nebula.proto.common.Ref ref_value = 24; */ private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Ref, com.vesoft.nebula.proto.common.Ref.Builder, com.vesoft.nebula.proto.common.RefOrBuilder> getRefValueFieldBuilder() { if (refValueBuilder_ == null) { if (!(dataCase_ == 24)) { data_ = com.vesoft.nebula.proto.common.Ref.getDefaultInstance(); } refValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Ref, com.vesoft.nebula.proto.common.Ref.Builder, com.vesoft.nebula.proto.common.RefOrBuilder>( (com.vesoft.nebula.proto.common.Ref) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 24; onChanged(); return refValueBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Decimal, com.vesoft.nebula.proto.common.Decimal.Builder, com.vesoft.nebula.proto.common.DecimalOrBuilder> decimalValueBuilder_; /** * .nebula.proto.common.Decimal decimal_value = 25; * @return Whether the decimalValue field is set. */ @java.lang.Override public boolean hasDecimalValue() { return dataCase_ == 25; } /** * .nebula.proto.common.Decimal decimal_value = 25; * @return The decimalValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.Decimal getDecimalValue() { if (decimalValueBuilder_ == null) { if (dataCase_ == 25) { return (com.vesoft.nebula.proto.common.Decimal) data_; } return com.vesoft.nebula.proto.common.Decimal.getDefaultInstance(); } else { if (dataCase_ == 25) { return decimalValueBuilder_.getMessage(); } return com.vesoft.nebula.proto.common.Decimal.getDefaultInstance(); } } /** * .nebula.proto.common.Decimal decimal_value = 25; */ public Builder setDecimalValue(com.vesoft.nebula.proto.common.Decimal value) { if (decimalValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { decimalValueBuilder_.setMessage(value); } dataCase_ = 25; return this; } /** * .nebula.proto.common.Decimal decimal_value = 25; */ public Builder setDecimalValue( com.vesoft.nebula.proto.common.Decimal.Builder builderForValue) { if (decimalValueBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { decimalValueBuilder_.setMessage(builderForValue.build()); } dataCase_ = 25; return this; } /** * .nebula.proto.common.Decimal decimal_value = 25; */ public Builder mergeDecimalValue(com.vesoft.nebula.proto.common.Decimal value) { if (decimalValueBuilder_ == null) { if (dataCase_ == 25 && data_ != com.vesoft.nebula.proto.common.Decimal.getDefaultInstance()) { data_ = com.vesoft.nebula.proto.common.Decimal.newBuilder((com.vesoft.nebula.proto.common.Decimal) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 25) { decimalValueBuilder_.mergeFrom(value); } else { decimalValueBuilder_.setMessage(value); } } dataCase_ = 25; return this; } /** * .nebula.proto.common.Decimal decimal_value = 25; */ public Builder clearDecimalValue() { if (decimalValueBuilder_ == null) { if (dataCase_ == 25) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 25) { dataCase_ = 0; data_ = null; } decimalValueBuilder_.clear(); } return this; } /** * .nebula.proto.common.Decimal decimal_value = 25; */ public com.vesoft.nebula.proto.common.Decimal.Builder getDecimalValueBuilder() { return getDecimalValueFieldBuilder().getBuilder(); } /** * .nebula.proto.common.Decimal decimal_value = 25; */ @java.lang.Override public com.vesoft.nebula.proto.common.DecimalOrBuilder getDecimalValueOrBuilder() { if ((dataCase_ == 25) && (decimalValueBuilder_ != null)) { return decimalValueBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 25) { return (com.vesoft.nebula.proto.common.Decimal) data_; } return com.vesoft.nebula.proto.common.Decimal.getDefaultInstance(); } } /** * .nebula.proto.common.Decimal decimal_value = 25; */ private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Decimal, com.vesoft.nebula.proto.common.Decimal.Builder, com.vesoft.nebula.proto.common.DecimalOrBuilder> getDecimalValueFieldBuilder() { if (decimalValueBuilder_ == null) { if (!(dataCase_ == 25)) { data_ = com.vesoft.nebula.proto.common.Decimal.getDefaultInstance(); } decimalValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Decimal, com.vesoft.nebula.proto.common.Decimal.Builder, com.vesoft.nebula.proto.common.DecimalOrBuilder>( (com.vesoft.nebula.proto.common.Decimal) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 25; onChanged(); return decimalValueBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Vector, com.vesoft.nebula.proto.common.Vector.Builder, com.vesoft.nebula.proto.common.VectorOrBuilder> vectorValueBuilder_; /** * .nebula.proto.common.Vector vector_value = 26; * @return Whether the vectorValue field is set. */ @java.lang.Override public boolean hasVectorValue() { return dataCase_ == 26; } /** * .nebula.proto.common.Vector vector_value = 26; * @return The vectorValue. */ @java.lang.Override public com.vesoft.nebula.proto.common.Vector getVectorValue() { if (vectorValueBuilder_ == null) { if (dataCase_ == 26) { return (com.vesoft.nebula.proto.common.Vector) data_; } return com.vesoft.nebula.proto.common.Vector.getDefaultInstance(); } else { if (dataCase_ == 26) { return vectorValueBuilder_.getMessage(); } return com.vesoft.nebula.proto.common.Vector.getDefaultInstance(); } } /** * .nebula.proto.common.Vector vector_value = 26; */ public Builder setVectorValue(com.vesoft.nebula.proto.common.Vector value) { if (vectorValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { vectorValueBuilder_.setMessage(value); } dataCase_ = 26; return this; } /** * .nebula.proto.common.Vector vector_value = 26; */ public Builder setVectorValue( com.vesoft.nebula.proto.common.Vector.Builder builderForValue) { if (vectorValueBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { vectorValueBuilder_.setMessage(builderForValue.build()); } dataCase_ = 26; return this; } /** * .nebula.proto.common.Vector vector_value = 26; */ public Builder mergeVectorValue(com.vesoft.nebula.proto.common.Vector value) { if (vectorValueBuilder_ == null) { if (dataCase_ == 26 && data_ != com.vesoft.nebula.proto.common.Vector.getDefaultInstance()) { data_ = com.vesoft.nebula.proto.common.Vector.newBuilder((com.vesoft.nebula.proto.common.Vector) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 26) { vectorValueBuilder_.mergeFrom(value); } else { vectorValueBuilder_.setMessage(value); } } dataCase_ = 26; return this; } /** * .nebula.proto.common.Vector vector_value = 26; */ public Builder clearVectorValue() { if (vectorValueBuilder_ == null) { if (dataCase_ == 26) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 26) { dataCase_ = 0; data_ = null; } vectorValueBuilder_.clear(); } return this; } /** * .nebula.proto.common.Vector vector_value = 26; */ public com.vesoft.nebula.proto.common.Vector.Builder getVectorValueBuilder() { return getVectorValueFieldBuilder().getBuilder(); } /** * .nebula.proto.common.Vector vector_value = 26; */ @java.lang.Override public com.vesoft.nebula.proto.common.VectorOrBuilder getVectorValueOrBuilder() { if ((dataCase_ == 26) && (vectorValueBuilder_ != null)) { return vectorValueBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 26) { return (com.vesoft.nebula.proto.common.Vector) data_; } return com.vesoft.nebula.proto.common.Vector.getDefaultInstance(); } } /** * .nebula.proto.common.Vector vector_value = 26; */ private com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Vector, com.vesoft.nebula.proto.common.Vector.Builder, com.vesoft.nebula.proto.common.VectorOrBuilder> getVectorValueFieldBuilder() { if (vectorValueBuilder_ == null) { if (!(dataCase_ == 26)) { data_ = com.vesoft.nebula.proto.common.Vector.getDefaultInstance(); } vectorValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.vesoft.nebula.proto.common.Vector, com.vesoft.nebula.proto.common.Vector.Builder, com.vesoft.nebula.proto.common.VectorOrBuilder>( (com.vesoft.nebula.proto.common.Vector) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 26; onChanged(); return vectorValueBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:nebula.proto.common.Value) } // @@protoc_insertion_point(class_scope:nebula.proto.common.Value) private static final com.vesoft.nebula.proto.common.Value DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.vesoft.nebula.proto.common.Value(); } public static com.vesoft.nebula.proto.common.Value getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Value parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.vesoft.nebula.proto.common.Value getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy