
com.alibaba.graphscope.proto.VineyardInfoPb Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: graph_def.proto
package com.alibaba.graphscope.proto;
/**
*
* Attributes that only meaningful to and will be set by vineyard storage
*
*
* Protobuf type {@code gs.rpc.graph.VineyardInfoPb}
*/
public final class VineyardInfoPb extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gs.rpc.graph.VineyardInfoPb)
VineyardInfoPbOrBuilder {
private static final long serialVersionUID = 0L;
// Use VineyardInfoPb.newBuilder() to construct.
private VineyardInfoPb(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private VineyardInfoPb() {
oidType_ = 0;
vidType_ = 0;
vdataType_ = 0;
edataType_ = 0;
schemaPath_ = "";
propertySchemaJson_ = "";
vertexMapType_ = 0;
fragments_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VineyardInfoPb();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.alibaba.graphscope.proto.GraphDef.internal_static_gs_rpc_graph_VineyardInfoPb_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.alibaba.graphscope.proto.GraphDef.internal_static_gs_rpc_graph_VineyardInfoPb_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.alibaba.graphscope.proto.VineyardInfoPb.class, com.alibaba.graphscope.proto.VineyardInfoPb.Builder.class);
}
public static final int OID_TYPE_FIELD_NUMBER = 1;
private int oidType_ = 0;
/**
* .gs.rpc.graph.DataTypePb oid_type = 1;
* @return The enum numeric value on the wire for oidType.
*/
@java.lang.Override public int getOidTypeValue() {
return oidType_;
}
/**
* .gs.rpc.graph.DataTypePb oid_type = 1;
* @return The oidType.
*/
@java.lang.Override public com.alibaba.graphscope.proto.groot.DataTypePb getOidType() {
com.alibaba.graphscope.proto.groot.DataTypePb result = com.alibaba.graphscope.proto.groot.DataTypePb.forNumber(oidType_);
return result == null ? com.alibaba.graphscope.proto.groot.DataTypePb.UNRECOGNIZED : result;
}
public static final int VID_TYPE_FIELD_NUMBER = 2;
private int vidType_ = 0;
/**
* .gs.rpc.graph.DataTypePb vid_type = 2;
* @return The enum numeric value on the wire for vidType.
*/
@java.lang.Override public int getVidTypeValue() {
return vidType_;
}
/**
* .gs.rpc.graph.DataTypePb vid_type = 2;
* @return The vidType.
*/
@java.lang.Override public com.alibaba.graphscope.proto.groot.DataTypePb getVidType() {
com.alibaba.graphscope.proto.groot.DataTypePb result = com.alibaba.graphscope.proto.groot.DataTypePb.forNumber(vidType_);
return result == null ? com.alibaba.graphscope.proto.groot.DataTypePb.UNRECOGNIZED : result;
}
public static final int VDATA_TYPE_FIELD_NUMBER = 3;
private int vdataType_ = 0;
/**
* .gs.rpc.graph.DataTypePb vdata_type = 3;
* @return The enum numeric value on the wire for vdataType.
*/
@java.lang.Override public int getVdataTypeValue() {
return vdataType_;
}
/**
* .gs.rpc.graph.DataTypePb vdata_type = 3;
* @return The vdataType.
*/
@java.lang.Override public com.alibaba.graphscope.proto.groot.DataTypePb getVdataType() {
com.alibaba.graphscope.proto.groot.DataTypePb result = com.alibaba.graphscope.proto.groot.DataTypePb.forNumber(vdataType_);
return result == null ? com.alibaba.graphscope.proto.groot.DataTypePb.UNRECOGNIZED : result;
}
public static final int EDATA_TYPE_FIELD_NUMBER = 4;
private int edataType_ = 0;
/**
* .gs.rpc.graph.DataTypePb edata_type = 4;
* @return The enum numeric value on the wire for edataType.
*/
@java.lang.Override public int getEdataTypeValue() {
return edataType_;
}
/**
* .gs.rpc.graph.DataTypePb edata_type = 4;
* @return The edataType.
*/
@java.lang.Override public com.alibaba.graphscope.proto.groot.DataTypePb getEdataType() {
com.alibaba.graphscope.proto.groot.DataTypePb result = com.alibaba.graphscope.proto.groot.DataTypePb.forNumber(edataType_);
return result == null ? com.alibaba.graphscope.proto.groot.DataTypePb.UNRECOGNIZED : result;
}
public static final int SCHEMA_PATH_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object schemaPath_ = "";
/**
*
* This is for sharing graph between vineyard storage and groot storage
*
*
* string schema_path = 5;
* @return The schemaPath.
*/
@java.lang.Override
public java.lang.String getSchemaPath() {
java.lang.Object ref = schemaPath_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
schemaPath_ = s;
return s;
}
}
/**
*
* This is for sharing graph between vineyard storage and groot storage
*
*
* string schema_path = 5;
* @return The bytes for schemaPath.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSchemaPathBytes() {
java.lang.Object ref = schemaPath_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
schemaPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GENERATE_EID_FIELD_NUMBER = 6;
private boolean generateEid_ = false;
/**
*
* Whether to automatically generate unique edge id for all edges.
*
*
* bool generate_eid = 6;
* @return The generateEid.
*/
@java.lang.Override
public boolean getGenerateEid() {
return generateEid_;
}
public static final int VINEYARD_ID_FIELD_NUMBER = 7;
private long vineyardId_ = 0L;
/**
*
* object id of the graph in vineyard
*
*
* int64 vineyard_id = 7;
* @return The vineyardId.
*/
@java.lang.Override
public long getVineyardId() {
return vineyardId_;
}
public static final int PROPERTY_SCHEMA_JSON_FIELD_NUMBER = 8;
@SuppressWarnings("serial")
private volatile java.lang.Object propertySchemaJson_ = "";
/**
*
* For client to reconstrut graph schema
*
*
* string property_schema_json = 8;
* @return The propertySchemaJson.
*/
@java.lang.Override
public java.lang.String getPropertySchemaJson() {
java.lang.Object ref = propertySchemaJson_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
propertySchemaJson_ = s;
return s;
}
}
/**
*
* For client to reconstrut graph schema
*
*
* string property_schema_json = 8;
* @return The bytes for propertySchemaJson.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPropertySchemaJsonBytes() {
java.lang.Object ref = propertySchemaJson_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
propertySchemaJson_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VERTEX_MAP_TYPE_FIELD_NUMBER = 9;
private int vertexMapType_ = 0;
/**
*
* Global or local vertex map
*
*
* .gs.rpc.graph.VertexMapTypePb vertex_map_type = 9;
* @return The enum numeric value on the wire for vertexMapType.
*/
@java.lang.Override public int getVertexMapTypeValue() {
return vertexMapType_;
}
/**
*
* Global or local vertex map
*
*
* .gs.rpc.graph.VertexMapTypePb vertex_map_type = 9;
* @return The vertexMapType.
*/
@java.lang.Override public com.alibaba.graphscope.proto.VertexMapTypePb getVertexMapType() {
com.alibaba.graphscope.proto.VertexMapTypePb result = com.alibaba.graphscope.proto.VertexMapTypePb.forNumber(vertexMapType_);
return result == null ? com.alibaba.graphscope.proto.VertexMapTypePb.UNRECOGNIZED : result;
}
public static final int FRAGMENTS_FIELD_NUMBER = 10;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList fragments_;
/**
*
* Fragment ids
*
*
* repeated int64 fragments = 10;
* @return A list containing the fragments.
*/
@java.lang.Override
public java.util.List
getFragmentsList() {
return fragments_;
}
/**
*
* Fragment ids
*
*
* repeated int64 fragments = 10;
* @return The count of fragments.
*/
public int getFragmentsCount() {
return fragments_.size();
}
/**
*
* Fragment ids
*
*
* repeated int64 fragments = 10;
* @param index The index of the element to return.
* @return The fragments at the given index.
*/
public long getFragments(int index) {
return fragments_.getLong(index);
}
private int fragmentsMemoizedSerializedSize = -1;
public static final int RETAIN_OID_FIELD_NUMBER = 11;
private boolean retainOid_ = false;
/**
*
* retain_oid
*
*
* bool retain_oid = 11;
* @return The retainOid.
*/
@java.lang.Override
public boolean getRetainOid() {
return retainOid_;
}
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 {
getSerializedSize();
if (oidType_ != com.alibaba.graphscope.proto.groot.DataTypePb.UNKNOWN.getNumber()) {
output.writeEnum(1, oidType_);
}
if (vidType_ != com.alibaba.graphscope.proto.groot.DataTypePb.UNKNOWN.getNumber()) {
output.writeEnum(2, vidType_);
}
if (vdataType_ != com.alibaba.graphscope.proto.groot.DataTypePb.UNKNOWN.getNumber()) {
output.writeEnum(3, vdataType_);
}
if (edataType_ != com.alibaba.graphscope.proto.groot.DataTypePb.UNKNOWN.getNumber()) {
output.writeEnum(4, edataType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaPath_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, schemaPath_);
}
if (generateEid_ != false) {
output.writeBool(6, generateEid_);
}
if (vineyardId_ != 0L) {
output.writeInt64(7, vineyardId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(propertySchemaJson_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, propertySchemaJson_);
}
if (vertexMapType_ != com.alibaba.graphscope.proto.VertexMapTypePb.UNKNOWN_VM_TYPE.getNumber()) {
output.writeEnum(9, vertexMapType_);
}
if (getFragmentsList().size() > 0) {
output.writeUInt32NoTag(82);
output.writeUInt32NoTag(fragmentsMemoizedSerializedSize);
}
for (int i = 0; i < fragments_.size(); i++) {
output.writeInt64NoTag(fragments_.getLong(i));
}
if (retainOid_ != false) {
output.writeBool(11, retainOid_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (oidType_ != com.alibaba.graphscope.proto.groot.DataTypePb.UNKNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, oidType_);
}
if (vidType_ != com.alibaba.graphscope.proto.groot.DataTypePb.UNKNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, vidType_);
}
if (vdataType_ != com.alibaba.graphscope.proto.groot.DataTypePb.UNKNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, vdataType_);
}
if (edataType_ != com.alibaba.graphscope.proto.groot.DataTypePb.UNKNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, edataType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaPath_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, schemaPath_);
}
if (generateEid_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, generateEid_);
}
if (vineyardId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, vineyardId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(propertySchemaJson_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, propertySchemaJson_);
}
if (vertexMapType_ != com.alibaba.graphscope.proto.VertexMapTypePb.UNKNOWN_VM_TYPE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(9, vertexMapType_);
}
{
int dataSize = 0;
for (int i = 0; i < fragments_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(fragments_.getLong(i));
}
size += dataSize;
if (!getFragmentsList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
fragmentsMemoizedSerializedSize = dataSize;
}
if (retainOid_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(11, retainOid_);
}
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.alibaba.graphscope.proto.VineyardInfoPb)) {
return super.equals(obj);
}
com.alibaba.graphscope.proto.VineyardInfoPb other = (com.alibaba.graphscope.proto.VineyardInfoPb) obj;
if (oidType_ != other.oidType_) return false;
if (vidType_ != other.vidType_) return false;
if (vdataType_ != other.vdataType_) return false;
if (edataType_ != other.edataType_) return false;
if (!getSchemaPath()
.equals(other.getSchemaPath())) return false;
if (getGenerateEid()
!= other.getGenerateEid()) return false;
if (getVineyardId()
!= other.getVineyardId()) return false;
if (!getPropertySchemaJson()
.equals(other.getPropertySchemaJson())) return false;
if (vertexMapType_ != other.vertexMapType_) return false;
if (!getFragmentsList()
.equals(other.getFragmentsList())) return false;
if (getRetainOid()
!= other.getRetainOid()) return false;
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();
hash = (37 * hash) + OID_TYPE_FIELD_NUMBER;
hash = (53 * hash) + oidType_;
hash = (37 * hash) + VID_TYPE_FIELD_NUMBER;
hash = (53 * hash) + vidType_;
hash = (37 * hash) + VDATA_TYPE_FIELD_NUMBER;
hash = (53 * hash) + vdataType_;
hash = (37 * hash) + EDATA_TYPE_FIELD_NUMBER;
hash = (53 * hash) + edataType_;
hash = (37 * hash) + SCHEMA_PATH_FIELD_NUMBER;
hash = (53 * hash) + getSchemaPath().hashCode();
hash = (37 * hash) + GENERATE_EID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getGenerateEid());
hash = (37 * hash) + VINEYARD_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getVineyardId());
hash = (37 * hash) + PROPERTY_SCHEMA_JSON_FIELD_NUMBER;
hash = (53 * hash) + getPropertySchemaJson().hashCode();
hash = (37 * hash) + VERTEX_MAP_TYPE_FIELD_NUMBER;
hash = (53 * hash) + vertexMapType_;
if (getFragmentsCount() > 0) {
hash = (37 * hash) + FRAGMENTS_FIELD_NUMBER;
hash = (53 * hash) + getFragmentsList().hashCode();
}
hash = (37 * hash) + RETAIN_OID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getRetainOid());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.alibaba.graphscope.proto.VineyardInfoPb parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.alibaba.graphscope.proto.VineyardInfoPb parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.alibaba.graphscope.proto.VineyardInfoPb parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.alibaba.graphscope.proto.VineyardInfoPb parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.alibaba.graphscope.proto.VineyardInfoPb parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.alibaba.graphscope.proto.VineyardInfoPb parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.alibaba.graphscope.proto.VineyardInfoPb parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.alibaba.graphscope.proto.VineyardInfoPb 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.alibaba.graphscope.proto.VineyardInfoPb parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.alibaba.graphscope.proto.VineyardInfoPb 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.alibaba.graphscope.proto.VineyardInfoPb parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.alibaba.graphscope.proto.VineyardInfoPb 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.alibaba.graphscope.proto.VineyardInfoPb 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;
}
/**
*
* Attributes that only meaningful to and will be set by vineyard storage
*
*
* Protobuf type {@code gs.rpc.graph.VineyardInfoPb}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gs.rpc.graph.VineyardInfoPb)
com.alibaba.graphscope.proto.VineyardInfoPbOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.alibaba.graphscope.proto.GraphDef.internal_static_gs_rpc_graph_VineyardInfoPb_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.alibaba.graphscope.proto.GraphDef.internal_static_gs_rpc_graph_VineyardInfoPb_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.alibaba.graphscope.proto.VineyardInfoPb.class, com.alibaba.graphscope.proto.VineyardInfoPb.Builder.class);
}
// Construct using com.alibaba.graphscope.proto.VineyardInfoPb.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
oidType_ = 0;
vidType_ = 0;
vdataType_ = 0;
edataType_ = 0;
schemaPath_ = "";
generateEid_ = false;
vineyardId_ = 0L;
propertySchemaJson_ = "";
vertexMapType_ = 0;
fragments_ = emptyLongList();
retainOid_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.alibaba.graphscope.proto.GraphDef.internal_static_gs_rpc_graph_VineyardInfoPb_descriptor;
}
@java.lang.Override
public com.alibaba.graphscope.proto.VineyardInfoPb getDefaultInstanceForType() {
return com.alibaba.graphscope.proto.VineyardInfoPb.getDefaultInstance();
}
@java.lang.Override
public com.alibaba.graphscope.proto.VineyardInfoPb build() {
com.alibaba.graphscope.proto.VineyardInfoPb result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.alibaba.graphscope.proto.VineyardInfoPb buildPartial() {
com.alibaba.graphscope.proto.VineyardInfoPb result = new com.alibaba.graphscope.proto.VineyardInfoPb(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(com.alibaba.graphscope.proto.VineyardInfoPb result) {
if (((bitField0_ & 0x00000200) != 0)) {
fragments_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000200);
}
result.fragments_ = fragments_;
}
private void buildPartial0(com.alibaba.graphscope.proto.VineyardInfoPb result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.oidType_ = oidType_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.vidType_ = vidType_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.vdataType_ = vdataType_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.edataType_ = edataType_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.schemaPath_ = schemaPath_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.generateEid_ = generateEid_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.vineyardId_ = vineyardId_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.propertySchemaJson_ = propertySchemaJson_;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.vertexMapType_ = vertexMapType_;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.retainOid_ = retainOid_;
}
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.alibaba.graphscope.proto.VineyardInfoPb) {
return mergeFrom((com.alibaba.graphscope.proto.VineyardInfoPb)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.alibaba.graphscope.proto.VineyardInfoPb other) {
if (other == com.alibaba.graphscope.proto.VineyardInfoPb.getDefaultInstance()) return this;
if (other.oidType_ != 0) {
setOidTypeValue(other.getOidTypeValue());
}
if (other.vidType_ != 0) {
setVidTypeValue(other.getVidTypeValue());
}
if (other.vdataType_ != 0) {
setVdataTypeValue(other.getVdataTypeValue());
}
if (other.edataType_ != 0) {
setEdataTypeValue(other.getEdataTypeValue());
}
if (!other.getSchemaPath().isEmpty()) {
schemaPath_ = other.schemaPath_;
bitField0_ |= 0x00000010;
onChanged();
}
if (other.getGenerateEid() != false) {
setGenerateEid(other.getGenerateEid());
}
if (other.getVineyardId() != 0L) {
setVineyardId(other.getVineyardId());
}
if (!other.getPropertySchemaJson().isEmpty()) {
propertySchemaJson_ = other.propertySchemaJson_;
bitField0_ |= 0x00000080;
onChanged();
}
if (other.vertexMapType_ != 0) {
setVertexMapTypeValue(other.getVertexMapTypeValue());
}
if (!other.fragments_.isEmpty()) {
if (fragments_.isEmpty()) {
fragments_ = other.fragments_;
bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureFragmentsIsMutable();
fragments_.addAll(other.fragments_);
}
onChanged();
}
if (other.getRetainOid() != false) {
setRetainOid(other.getRetainOid());
}
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: {
oidType_ = input.readEnum();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
vidType_ = input.readEnum();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
vdataType_ = input.readEnum();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
edataType_ = input.readEnum();
bitField0_ |= 0x00000008;
break;
} // case 32
case 42: {
schemaPath_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
case 48: {
generateEid_ = input.readBool();
bitField0_ |= 0x00000020;
break;
} // case 48
case 56: {
vineyardId_ = input.readInt64();
bitField0_ |= 0x00000040;
break;
} // case 56
case 66: {
propertySchemaJson_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000080;
break;
} // case 66
case 72: {
vertexMapType_ = input.readEnum();
bitField0_ |= 0x00000100;
break;
} // case 72
case 80: {
long v = input.readInt64();
ensureFragmentsIsMutable();
fragments_.addLong(v);
break;
} // case 80
case 82: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureFragmentsIsMutable();
while (input.getBytesUntilLimit() > 0) {
fragments_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 82
case 88: {
retainOid_ = input.readBool();
bitField0_ |= 0x00000400;
break;
} // case 88
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 bitField0_;
private int oidType_ = 0;
/**
* .gs.rpc.graph.DataTypePb oid_type = 1;
* @return The enum numeric value on the wire for oidType.
*/
@java.lang.Override public int getOidTypeValue() {
return oidType_;
}
/**
* .gs.rpc.graph.DataTypePb oid_type = 1;
* @param value The enum numeric value on the wire for oidType to set.
* @return This builder for chaining.
*/
public Builder setOidTypeValue(int value) {
oidType_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .gs.rpc.graph.DataTypePb oid_type = 1;
* @return The oidType.
*/
@java.lang.Override
public com.alibaba.graphscope.proto.groot.DataTypePb getOidType() {
com.alibaba.graphscope.proto.groot.DataTypePb result = com.alibaba.graphscope.proto.groot.DataTypePb.forNumber(oidType_);
return result == null ? com.alibaba.graphscope.proto.groot.DataTypePb.UNRECOGNIZED : result;
}
/**
* .gs.rpc.graph.DataTypePb oid_type = 1;
* @param value The oidType to set.
* @return This builder for chaining.
*/
public Builder setOidType(com.alibaba.graphscope.proto.groot.DataTypePb value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
oidType_ = value.getNumber();
onChanged();
return this;
}
/**
* .gs.rpc.graph.DataTypePb oid_type = 1;
* @return This builder for chaining.
*/
public Builder clearOidType() {
bitField0_ = (bitField0_ & ~0x00000001);
oidType_ = 0;
onChanged();
return this;
}
private int vidType_ = 0;
/**
* .gs.rpc.graph.DataTypePb vid_type = 2;
* @return The enum numeric value on the wire for vidType.
*/
@java.lang.Override public int getVidTypeValue() {
return vidType_;
}
/**
* .gs.rpc.graph.DataTypePb vid_type = 2;
* @param value The enum numeric value on the wire for vidType to set.
* @return This builder for chaining.
*/
public Builder setVidTypeValue(int value) {
vidType_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .gs.rpc.graph.DataTypePb vid_type = 2;
* @return The vidType.
*/
@java.lang.Override
public com.alibaba.graphscope.proto.groot.DataTypePb getVidType() {
com.alibaba.graphscope.proto.groot.DataTypePb result = com.alibaba.graphscope.proto.groot.DataTypePb.forNumber(vidType_);
return result == null ? com.alibaba.graphscope.proto.groot.DataTypePb.UNRECOGNIZED : result;
}
/**
* .gs.rpc.graph.DataTypePb vid_type = 2;
* @param value The vidType to set.
* @return This builder for chaining.
*/
public Builder setVidType(com.alibaba.graphscope.proto.groot.DataTypePb value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
vidType_ = value.getNumber();
onChanged();
return this;
}
/**
* .gs.rpc.graph.DataTypePb vid_type = 2;
* @return This builder for chaining.
*/
public Builder clearVidType() {
bitField0_ = (bitField0_ & ~0x00000002);
vidType_ = 0;
onChanged();
return this;
}
private int vdataType_ = 0;
/**
* .gs.rpc.graph.DataTypePb vdata_type = 3;
* @return The enum numeric value on the wire for vdataType.
*/
@java.lang.Override public int getVdataTypeValue() {
return vdataType_;
}
/**
* .gs.rpc.graph.DataTypePb vdata_type = 3;
* @param value The enum numeric value on the wire for vdataType to set.
* @return This builder for chaining.
*/
public Builder setVdataTypeValue(int value) {
vdataType_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .gs.rpc.graph.DataTypePb vdata_type = 3;
* @return The vdataType.
*/
@java.lang.Override
public com.alibaba.graphscope.proto.groot.DataTypePb getVdataType() {
com.alibaba.graphscope.proto.groot.DataTypePb result = com.alibaba.graphscope.proto.groot.DataTypePb.forNumber(vdataType_);
return result == null ? com.alibaba.graphscope.proto.groot.DataTypePb.UNRECOGNIZED : result;
}
/**
* .gs.rpc.graph.DataTypePb vdata_type = 3;
* @param value The vdataType to set.
* @return This builder for chaining.
*/
public Builder setVdataType(com.alibaba.graphscope.proto.groot.DataTypePb value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
vdataType_ = value.getNumber();
onChanged();
return this;
}
/**
* .gs.rpc.graph.DataTypePb vdata_type = 3;
* @return This builder for chaining.
*/
public Builder clearVdataType() {
bitField0_ = (bitField0_ & ~0x00000004);
vdataType_ = 0;
onChanged();
return this;
}
private int edataType_ = 0;
/**
* .gs.rpc.graph.DataTypePb edata_type = 4;
* @return The enum numeric value on the wire for edataType.
*/
@java.lang.Override public int getEdataTypeValue() {
return edataType_;
}
/**
* .gs.rpc.graph.DataTypePb edata_type = 4;
* @param value The enum numeric value on the wire for edataType to set.
* @return This builder for chaining.
*/
public Builder setEdataTypeValue(int value) {
edataType_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* .gs.rpc.graph.DataTypePb edata_type = 4;
* @return The edataType.
*/
@java.lang.Override
public com.alibaba.graphscope.proto.groot.DataTypePb getEdataType() {
com.alibaba.graphscope.proto.groot.DataTypePb result = com.alibaba.graphscope.proto.groot.DataTypePb.forNumber(edataType_);
return result == null ? com.alibaba.graphscope.proto.groot.DataTypePb.UNRECOGNIZED : result;
}
/**
* .gs.rpc.graph.DataTypePb edata_type = 4;
* @param value The edataType to set.
* @return This builder for chaining.
*/
public Builder setEdataType(com.alibaba.graphscope.proto.groot.DataTypePb value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
edataType_ = value.getNumber();
onChanged();
return this;
}
/**
* .gs.rpc.graph.DataTypePb edata_type = 4;
* @return This builder for chaining.
*/
public Builder clearEdataType() {
bitField0_ = (bitField0_ & ~0x00000008);
edataType_ = 0;
onChanged();
return this;
}
private java.lang.Object schemaPath_ = "";
/**
*
* This is for sharing graph between vineyard storage and groot storage
*
*
* string schema_path = 5;
* @return The schemaPath.
*/
public java.lang.String getSchemaPath() {
java.lang.Object ref = schemaPath_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
schemaPath_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* This is for sharing graph between vineyard storage and groot storage
*
*
* string schema_path = 5;
* @return The bytes for schemaPath.
*/
public com.google.protobuf.ByteString
getSchemaPathBytes() {
java.lang.Object ref = schemaPath_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
schemaPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* This is for sharing graph between vineyard storage and groot storage
*
*
* string schema_path = 5;
* @param value The schemaPath to set.
* @return This builder for chaining.
*/
public Builder setSchemaPath(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
schemaPath_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
*
* This is for sharing graph between vineyard storage and groot storage
*
*
* string schema_path = 5;
* @return This builder for chaining.
*/
public Builder clearSchemaPath() {
schemaPath_ = getDefaultInstance().getSchemaPath();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
*
* This is for sharing graph between vineyard storage and groot storage
*
*
* string schema_path = 5;
* @param value The bytes for schemaPath to set.
* @return This builder for chaining.
*/
public Builder setSchemaPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
schemaPath_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private boolean generateEid_ ;
/**
*
* Whether to automatically generate unique edge id for all edges.
*
*
* bool generate_eid = 6;
* @return The generateEid.
*/
@java.lang.Override
public boolean getGenerateEid() {
return generateEid_;
}
/**
*
* Whether to automatically generate unique edge id for all edges.
*
*
* bool generate_eid = 6;
* @param value The generateEid to set.
* @return This builder for chaining.
*/
public Builder setGenerateEid(boolean value) {
generateEid_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
*
* Whether to automatically generate unique edge id for all edges.
*
*
* bool generate_eid = 6;
* @return This builder for chaining.
*/
public Builder clearGenerateEid() {
bitField0_ = (bitField0_ & ~0x00000020);
generateEid_ = false;
onChanged();
return this;
}
private long vineyardId_ ;
/**
*
* object id of the graph in vineyard
*
*
* int64 vineyard_id = 7;
* @return The vineyardId.
*/
@java.lang.Override
public long getVineyardId() {
return vineyardId_;
}
/**
*
* object id of the graph in vineyard
*
*
* int64 vineyard_id = 7;
* @param value The vineyardId to set.
* @return This builder for chaining.
*/
public Builder setVineyardId(long value) {
vineyardId_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
*
* object id of the graph in vineyard
*
*
* int64 vineyard_id = 7;
* @return This builder for chaining.
*/
public Builder clearVineyardId() {
bitField0_ = (bitField0_ & ~0x00000040);
vineyardId_ = 0L;
onChanged();
return this;
}
private java.lang.Object propertySchemaJson_ = "";
/**
*
* For client to reconstrut graph schema
*
*
* string property_schema_json = 8;
* @return The propertySchemaJson.
*/
public java.lang.String getPropertySchemaJson() {
java.lang.Object ref = propertySchemaJson_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
propertySchemaJson_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* For client to reconstrut graph schema
*
*
* string property_schema_json = 8;
* @return The bytes for propertySchemaJson.
*/
public com.google.protobuf.ByteString
getPropertySchemaJsonBytes() {
java.lang.Object ref = propertySchemaJson_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
propertySchemaJson_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* For client to reconstrut graph schema
*
*
* string property_schema_json = 8;
* @param value The propertySchemaJson to set.
* @return This builder for chaining.
*/
public Builder setPropertySchemaJson(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
propertySchemaJson_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
*
* For client to reconstrut graph schema
*
*
* string property_schema_json = 8;
* @return This builder for chaining.
*/
public Builder clearPropertySchemaJson() {
propertySchemaJson_ = getDefaultInstance().getPropertySchemaJson();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
/**
*
* For client to reconstrut graph schema
*
*
* string property_schema_json = 8;
* @param value The bytes for propertySchemaJson to set.
* @return This builder for chaining.
*/
public Builder setPropertySchemaJsonBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
propertySchemaJson_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
private int vertexMapType_ = 0;
/**
*
* Global or local vertex map
*
*
* .gs.rpc.graph.VertexMapTypePb vertex_map_type = 9;
* @return The enum numeric value on the wire for vertexMapType.
*/
@java.lang.Override public int getVertexMapTypeValue() {
return vertexMapType_;
}
/**
*
* Global or local vertex map
*
*
* .gs.rpc.graph.VertexMapTypePb vertex_map_type = 9;
* @param value The enum numeric value on the wire for vertexMapType to set.
* @return This builder for chaining.
*/
public Builder setVertexMapTypeValue(int value) {
vertexMapType_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
*
* Global or local vertex map
*
*
* .gs.rpc.graph.VertexMapTypePb vertex_map_type = 9;
* @return The vertexMapType.
*/
@java.lang.Override
public com.alibaba.graphscope.proto.VertexMapTypePb getVertexMapType() {
com.alibaba.graphscope.proto.VertexMapTypePb result = com.alibaba.graphscope.proto.VertexMapTypePb.forNumber(vertexMapType_);
return result == null ? com.alibaba.graphscope.proto.VertexMapTypePb.UNRECOGNIZED : result;
}
/**
*
* Global or local vertex map
*
*
* .gs.rpc.graph.VertexMapTypePb vertex_map_type = 9;
* @param value The vertexMapType to set.
* @return This builder for chaining.
*/
public Builder setVertexMapType(com.alibaba.graphscope.proto.VertexMapTypePb value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
vertexMapType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Global or local vertex map
*
*
* .gs.rpc.graph.VertexMapTypePb vertex_map_type = 9;
* @return This builder for chaining.
*/
public Builder clearVertexMapType() {
bitField0_ = (bitField0_ & ~0x00000100);
vertexMapType_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList fragments_ = emptyLongList();
private void ensureFragmentsIsMutable() {
if (!((bitField0_ & 0x00000200) != 0)) {
fragments_ = mutableCopy(fragments_);
bitField0_ |= 0x00000200;
}
}
/**
*
* Fragment ids
*
*
* repeated int64 fragments = 10;
* @return A list containing the fragments.
*/
public java.util.List
getFragmentsList() {
return ((bitField0_ & 0x00000200) != 0) ?
java.util.Collections.unmodifiableList(fragments_) : fragments_;
}
/**
*
* Fragment ids
*
*
* repeated int64 fragments = 10;
* @return The count of fragments.
*/
public int getFragmentsCount() {
return fragments_.size();
}
/**
*
* Fragment ids
*
*
* repeated int64 fragments = 10;
* @param index The index of the element to return.
* @return The fragments at the given index.
*/
public long getFragments(int index) {
return fragments_.getLong(index);
}
/**
*
* Fragment ids
*
*
* repeated int64 fragments = 10;
* @param index The index to set the value at.
* @param value The fragments to set.
* @return This builder for chaining.
*/
public Builder setFragments(
int index, long value) {
ensureFragmentsIsMutable();
fragments_.setLong(index, value);
onChanged();
return this;
}
/**
*
* Fragment ids
*
*
* repeated int64 fragments = 10;
* @param value The fragments to add.
* @return This builder for chaining.
*/
public Builder addFragments(long value) {
ensureFragmentsIsMutable();
fragments_.addLong(value);
onChanged();
return this;
}
/**
*
* Fragment ids
*
*
* repeated int64 fragments = 10;
* @param values The fragments to add.
* @return This builder for chaining.
*/
public Builder addAllFragments(
java.lang.Iterable extends java.lang.Long> values) {
ensureFragmentsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, fragments_);
onChanged();
return this;
}
/**
*
* Fragment ids
*
*
* repeated int64 fragments = 10;
* @return This builder for chaining.
*/
public Builder clearFragments() {
fragments_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
return this;
}
private boolean retainOid_ ;
/**
*
* retain_oid
*
*
* bool retain_oid = 11;
* @return The retainOid.
*/
@java.lang.Override
public boolean getRetainOid() {
return retainOid_;
}
/**
*
* retain_oid
*
*
* bool retain_oid = 11;
* @param value The retainOid to set.
* @return This builder for chaining.
*/
public Builder setRetainOid(boolean value) {
retainOid_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
*
* retain_oid
*
*
* bool retain_oid = 11;
* @return This builder for chaining.
*/
public Builder clearRetainOid() {
bitField0_ = (bitField0_ & ~0x00000400);
retainOid_ = false;
onChanged();
return this;
}
@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:gs.rpc.graph.VineyardInfoPb)
}
// @@protoc_insertion_point(class_scope:gs.rpc.graph.VineyardInfoPb)
private static final com.alibaba.graphscope.proto.VineyardInfoPb DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.alibaba.graphscope.proto.VineyardInfoPb();
}
public static com.alibaba.graphscope.proto.VineyardInfoPb getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public VineyardInfoPb 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.alibaba.graphscope.proto.VineyardInfoPb getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy