com.alibaba.graphscope.proto.groot.RelationShipProto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of groot-client Show documentation
Show all versions of groot-client Show documentation
The Java client of Groot, a persistence storage engine
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: groot/sdk/schema.proto
package com.alibaba.graphscope.proto.groot;
/**
* Protobuf type {@code gs.rpc.groot.RelationShipProto}
*/
public final class RelationShipProto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gs.rpc.groot.RelationShipProto)
RelationShipProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use RelationShipProto.newBuilder() to construct.
private RelationShipProto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RelationShipProto() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RelationShipProto();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.alibaba.graphscope.proto.groot.Schema.internal_static_gs_rpc_groot_RelationShipProto_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.alibaba.graphscope.proto.groot.Schema.internal_static_gs_rpc_groot_RelationShipProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.alibaba.graphscope.proto.groot.RelationShipProto.class, com.alibaba.graphscope.proto.groot.RelationShipProto.Builder.class);
}
public static final int SRCID_FIELD_NUMBER = 1;
private com.alibaba.graphscope.proto.groot.TypeIdProto srcId_;
/**
* .gs.rpc.groot.TypeIdProto srcId = 1;
* @return Whether the srcId field is set.
*/
@java.lang.Override
public boolean hasSrcId() {
return srcId_ != null;
}
/**
* .gs.rpc.groot.TypeIdProto srcId = 1;
* @return The srcId.
*/
@java.lang.Override
public com.alibaba.graphscope.proto.groot.TypeIdProto getSrcId() {
return srcId_ == null ? com.alibaba.graphscope.proto.groot.TypeIdProto.getDefaultInstance() : srcId_;
}
/**
* .gs.rpc.groot.TypeIdProto srcId = 1;
*/
@java.lang.Override
public com.alibaba.graphscope.proto.groot.TypeIdProtoOrBuilder getSrcIdOrBuilder() {
return srcId_ == null ? com.alibaba.graphscope.proto.groot.TypeIdProto.getDefaultInstance() : srcId_;
}
public static final int DSTID_FIELD_NUMBER = 2;
private com.alibaba.graphscope.proto.groot.TypeIdProto dstId_;
/**
* .gs.rpc.groot.TypeIdProto dstId = 2;
* @return Whether the dstId field is set.
*/
@java.lang.Override
public boolean hasDstId() {
return dstId_ != null;
}
/**
* .gs.rpc.groot.TypeIdProto dstId = 2;
* @return The dstId.
*/
@java.lang.Override
public com.alibaba.graphscope.proto.groot.TypeIdProto getDstId() {
return dstId_ == null ? com.alibaba.graphscope.proto.groot.TypeIdProto.getDefaultInstance() : dstId_;
}
/**
* .gs.rpc.groot.TypeIdProto dstId = 2;
*/
@java.lang.Override
public com.alibaba.graphscope.proto.groot.TypeIdProtoOrBuilder getDstIdOrBuilder() {
return dstId_ == null ? com.alibaba.graphscope.proto.groot.TypeIdProto.getDefaultInstance() : dstId_;
}
public static final int EDGEID_FIELD_NUMBER = 3;
private com.alibaba.graphscope.proto.groot.TypeIdProto edgeId_;
/**
* .gs.rpc.groot.TypeIdProto edgeId = 3;
* @return Whether the edgeId field is set.
*/
@java.lang.Override
public boolean hasEdgeId() {
return edgeId_ != null;
}
/**
* .gs.rpc.groot.TypeIdProto edgeId = 3;
* @return The edgeId.
*/
@java.lang.Override
public com.alibaba.graphscope.proto.groot.TypeIdProto getEdgeId() {
return edgeId_ == null ? com.alibaba.graphscope.proto.groot.TypeIdProto.getDefaultInstance() : edgeId_;
}
/**
* .gs.rpc.groot.TypeIdProto edgeId = 3;
*/
@java.lang.Override
public com.alibaba.graphscope.proto.groot.TypeIdProtoOrBuilder getEdgeIdOrBuilder() {
return edgeId_ == null ? com.alibaba.graphscope.proto.groot.TypeIdProto.getDefaultInstance() : edgeId_;
}
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 (srcId_ != null) {
output.writeMessage(1, getSrcId());
}
if (dstId_ != null) {
output.writeMessage(2, getDstId());
}
if (edgeId_ != null) {
output.writeMessage(3, getEdgeId());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (srcId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getSrcId());
}
if (dstId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getDstId());
}
if (edgeId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getEdgeId());
}
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.groot.RelationShipProto)) {
return super.equals(obj);
}
com.alibaba.graphscope.proto.groot.RelationShipProto other = (com.alibaba.graphscope.proto.groot.RelationShipProto) obj;
if (hasSrcId() != other.hasSrcId()) return false;
if (hasSrcId()) {
if (!getSrcId()
.equals(other.getSrcId())) return false;
}
if (hasDstId() != other.hasDstId()) return false;
if (hasDstId()) {
if (!getDstId()
.equals(other.getDstId())) return false;
}
if (hasEdgeId() != other.hasEdgeId()) return false;
if (hasEdgeId()) {
if (!getEdgeId()
.equals(other.getEdgeId())) 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();
if (hasSrcId()) {
hash = (37 * hash) + SRCID_FIELD_NUMBER;
hash = (53 * hash) + getSrcId().hashCode();
}
if (hasDstId()) {
hash = (37 * hash) + DSTID_FIELD_NUMBER;
hash = (53 * hash) + getDstId().hashCode();
}
if (hasEdgeId()) {
hash = (37 * hash) + EDGEID_FIELD_NUMBER;
hash = (53 * hash) + getEdgeId().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.alibaba.graphscope.proto.groot.RelationShipProto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.alibaba.graphscope.proto.groot.RelationShipProto 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.groot.RelationShipProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.alibaba.graphscope.proto.groot.RelationShipProto 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.groot.RelationShipProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.alibaba.graphscope.proto.groot.RelationShipProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.alibaba.graphscope.proto.groot.RelationShipProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.alibaba.graphscope.proto.groot.RelationShipProto 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.groot.RelationShipProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.alibaba.graphscope.proto.groot.RelationShipProto 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.groot.RelationShipProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.alibaba.graphscope.proto.groot.RelationShipProto 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.groot.RelationShipProto 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;
}
/**
* Protobuf type {@code gs.rpc.groot.RelationShipProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gs.rpc.groot.RelationShipProto)
com.alibaba.graphscope.proto.groot.RelationShipProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.alibaba.graphscope.proto.groot.Schema.internal_static_gs_rpc_groot_RelationShipProto_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.alibaba.graphscope.proto.groot.Schema.internal_static_gs_rpc_groot_RelationShipProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.alibaba.graphscope.proto.groot.RelationShipProto.class, com.alibaba.graphscope.proto.groot.RelationShipProto.Builder.class);
}
// Construct using com.alibaba.graphscope.proto.groot.RelationShipProto.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
srcId_ = null;
if (srcIdBuilder_ != null) {
srcIdBuilder_.dispose();
srcIdBuilder_ = null;
}
dstId_ = null;
if (dstIdBuilder_ != null) {
dstIdBuilder_.dispose();
dstIdBuilder_ = null;
}
edgeId_ = null;
if (edgeIdBuilder_ != null) {
edgeIdBuilder_.dispose();
edgeIdBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.alibaba.graphscope.proto.groot.Schema.internal_static_gs_rpc_groot_RelationShipProto_descriptor;
}
@java.lang.Override
public com.alibaba.graphscope.proto.groot.RelationShipProto getDefaultInstanceForType() {
return com.alibaba.graphscope.proto.groot.RelationShipProto.getDefaultInstance();
}
@java.lang.Override
public com.alibaba.graphscope.proto.groot.RelationShipProto build() {
com.alibaba.graphscope.proto.groot.RelationShipProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.alibaba.graphscope.proto.groot.RelationShipProto buildPartial() {
com.alibaba.graphscope.proto.groot.RelationShipProto result = new com.alibaba.graphscope.proto.groot.RelationShipProto(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.alibaba.graphscope.proto.groot.RelationShipProto result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.srcId_ = srcIdBuilder_ == null
? srcId_
: srcIdBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.dstId_ = dstIdBuilder_ == null
? dstId_
: dstIdBuilder_.build();
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.edgeId_ = edgeIdBuilder_ == null
? edgeId_
: edgeIdBuilder_.build();
}
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.alibaba.graphscope.proto.groot.RelationShipProto) {
return mergeFrom((com.alibaba.graphscope.proto.groot.RelationShipProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.alibaba.graphscope.proto.groot.RelationShipProto other) {
if (other == com.alibaba.graphscope.proto.groot.RelationShipProto.getDefaultInstance()) return this;
if (other.hasSrcId()) {
mergeSrcId(other.getSrcId());
}
if (other.hasDstId()) {
mergeDstId(other.getDstId());
}
if (other.hasEdgeId()) {
mergeEdgeId(other.getEdgeId());
}
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 10: {
input.readMessage(
getSrcIdFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getDstIdFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
input.readMessage(
getEdgeIdFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
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 com.alibaba.graphscope.proto.groot.TypeIdProto srcId_;
private com.google.protobuf.SingleFieldBuilderV3<
com.alibaba.graphscope.proto.groot.TypeIdProto, com.alibaba.graphscope.proto.groot.TypeIdProto.Builder, com.alibaba.graphscope.proto.groot.TypeIdProtoOrBuilder> srcIdBuilder_;
/**
* .gs.rpc.groot.TypeIdProto srcId = 1;
* @return Whether the srcId field is set.
*/
public boolean hasSrcId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .gs.rpc.groot.TypeIdProto srcId = 1;
* @return The srcId.
*/
public com.alibaba.graphscope.proto.groot.TypeIdProto getSrcId() {
if (srcIdBuilder_ == null) {
return srcId_ == null ? com.alibaba.graphscope.proto.groot.TypeIdProto.getDefaultInstance() : srcId_;
} else {
return srcIdBuilder_.getMessage();
}
}
/**
* .gs.rpc.groot.TypeIdProto srcId = 1;
*/
public Builder setSrcId(com.alibaba.graphscope.proto.groot.TypeIdProto value) {
if (srcIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
srcId_ = value;
} else {
srcIdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .gs.rpc.groot.TypeIdProto srcId = 1;
*/
public Builder setSrcId(
com.alibaba.graphscope.proto.groot.TypeIdProto.Builder builderForValue) {
if (srcIdBuilder_ == null) {
srcId_ = builderForValue.build();
} else {
srcIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .gs.rpc.groot.TypeIdProto srcId = 1;
*/
public Builder mergeSrcId(com.alibaba.graphscope.proto.groot.TypeIdProto value) {
if (srcIdBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
srcId_ != null &&
srcId_ != com.alibaba.graphscope.proto.groot.TypeIdProto.getDefaultInstance()) {
getSrcIdBuilder().mergeFrom(value);
} else {
srcId_ = value;
}
} else {
srcIdBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .gs.rpc.groot.TypeIdProto srcId = 1;
*/
public Builder clearSrcId() {
bitField0_ = (bitField0_ & ~0x00000001);
srcId_ = null;
if (srcIdBuilder_ != null) {
srcIdBuilder_.dispose();
srcIdBuilder_ = null;
}
onChanged();
return this;
}
/**
* .gs.rpc.groot.TypeIdProto srcId = 1;
*/
public com.alibaba.graphscope.proto.groot.TypeIdProto.Builder getSrcIdBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getSrcIdFieldBuilder().getBuilder();
}
/**
* .gs.rpc.groot.TypeIdProto srcId = 1;
*/
public com.alibaba.graphscope.proto.groot.TypeIdProtoOrBuilder getSrcIdOrBuilder() {
if (srcIdBuilder_ != null) {
return srcIdBuilder_.getMessageOrBuilder();
} else {
return srcId_ == null ?
com.alibaba.graphscope.proto.groot.TypeIdProto.getDefaultInstance() : srcId_;
}
}
/**
* .gs.rpc.groot.TypeIdProto srcId = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.alibaba.graphscope.proto.groot.TypeIdProto, com.alibaba.graphscope.proto.groot.TypeIdProto.Builder, com.alibaba.graphscope.proto.groot.TypeIdProtoOrBuilder>
getSrcIdFieldBuilder() {
if (srcIdBuilder_ == null) {
srcIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.alibaba.graphscope.proto.groot.TypeIdProto, com.alibaba.graphscope.proto.groot.TypeIdProto.Builder, com.alibaba.graphscope.proto.groot.TypeIdProtoOrBuilder>(
getSrcId(),
getParentForChildren(),
isClean());
srcId_ = null;
}
return srcIdBuilder_;
}
private com.alibaba.graphscope.proto.groot.TypeIdProto dstId_;
private com.google.protobuf.SingleFieldBuilderV3<
com.alibaba.graphscope.proto.groot.TypeIdProto, com.alibaba.graphscope.proto.groot.TypeIdProto.Builder, com.alibaba.graphscope.proto.groot.TypeIdProtoOrBuilder> dstIdBuilder_;
/**
* .gs.rpc.groot.TypeIdProto dstId = 2;
* @return Whether the dstId field is set.
*/
public boolean hasDstId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .gs.rpc.groot.TypeIdProto dstId = 2;
* @return The dstId.
*/
public com.alibaba.graphscope.proto.groot.TypeIdProto getDstId() {
if (dstIdBuilder_ == null) {
return dstId_ == null ? com.alibaba.graphscope.proto.groot.TypeIdProto.getDefaultInstance() : dstId_;
} else {
return dstIdBuilder_.getMessage();
}
}
/**
* .gs.rpc.groot.TypeIdProto dstId = 2;
*/
public Builder setDstId(com.alibaba.graphscope.proto.groot.TypeIdProto value) {
if (dstIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
dstId_ = value;
} else {
dstIdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .gs.rpc.groot.TypeIdProto dstId = 2;
*/
public Builder setDstId(
com.alibaba.graphscope.proto.groot.TypeIdProto.Builder builderForValue) {
if (dstIdBuilder_ == null) {
dstId_ = builderForValue.build();
} else {
dstIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .gs.rpc.groot.TypeIdProto dstId = 2;
*/
public Builder mergeDstId(com.alibaba.graphscope.proto.groot.TypeIdProto value) {
if (dstIdBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
dstId_ != null &&
dstId_ != com.alibaba.graphscope.proto.groot.TypeIdProto.getDefaultInstance()) {
getDstIdBuilder().mergeFrom(value);
} else {
dstId_ = value;
}
} else {
dstIdBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .gs.rpc.groot.TypeIdProto dstId = 2;
*/
public Builder clearDstId() {
bitField0_ = (bitField0_ & ~0x00000002);
dstId_ = null;
if (dstIdBuilder_ != null) {
dstIdBuilder_.dispose();
dstIdBuilder_ = null;
}
onChanged();
return this;
}
/**
* .gs.rpc.groot.TypeIdProto dstId = 2;
*/
public com.alibaba.graphscope.proto.groot.TypeIdProto.Builder getDstIdBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getDstIdFieldBuilder().getBuilder();
}
/**
* .gs.rpc.groot.TypeIdProto dstId = 2;
*/
public com.alibaba.graphscope.proto.groot.TypeIdProtoOrBuilder getDstIdOrBuilder() {
if (dstIdBuilder_ != null) {
return dstIdBuilder_.getMessageOrBuilder();
} else {
return dstId_ == null ?
com.alibaba.graphscope.proto.groot.TypeIdProto.getDefaultInstance() : dstId_;
}
}
/**
* .gs.rpc.groot.TypeIdProto dstId = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.alibaba.graphscope.proto.groot.TypeIdProto, com.alibaba.graphscope.proto.groot.TypeIdProto.Builder, com.alibaba.graphscope.proto.groot.TypeIdProtoOrBuilder>
getDstIdFieldBuilder() {
if (dstIdBuilder_ == null) {
dstIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.alibaba.graphscope.proto.groot.TypeIdProto, com.alibaba.graphscope.proto.groot.TypeIdProto.Builder, com.alibaba.graphscope.proto.groot.TypeIdProtoOrBuilder>(
getDstId(),
getParentForChildren(),
isClean());
dstId_ = null;
}
return dstIdBuilder_;
}
private com.alibaba.graphscope.proto.groot.TypeIdProto edgeId_;
private com.google.protobuf.SingleFieldBuilderV3<
com.alibaba.graphscope.proto.groot.TypeIdProto, com.alibaba.graphscope.proto.groot.TypeIdProto.Builder, com.alibaba.graphscope.proto.groot.TypeIdProtoOrBuilder> edgeIdBuilder_;
/**
* .gs.rpc.groot.TypeIdProto edgeId = 3;
* @return Whether the edgeId field is set.
*/
public boolean hasEdgeId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* .gs.rpc.groot.TypeIdProto edgeId = 3;
* @return The edgeId.
*/
public com.alibaba.graphscope.proto.groot.TypeIdProto getEdgeId() {
if (edgeIdBuilder_ == null) {
return edgeId_ == null ? com.alibaba.graphscope.proto.groot.TypeIdProto.getDefaultInstance() : edgeId_;
} else {
return edgeIdBuilder_.getMessage();
}
}
/**
* .gs.rpc.groot.TypeIdProto edgeId = 3;
*/
public Builder setEdgeId(com.alibaba.graphscope.proto.groot.TypeIdProto value) {
if (edgeIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
edgeId_ = value;
} else {
edgeIdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .gs.rpc.groot.TypeIdProto edgeId = 3;
*/
public Builder setEdgeId(
com.alibaba.graphscope.proto.groot.TypeIdProto.Builder builderForValue) {
if (edgeIdBuilder_ == null) {
edgeId_ = builderForValue.build();
} else {
edgeIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .gs.rpc.groot.TypeIdProto edgeId = 3;
*/
public Builder mergeEdgeId(com.alibaba.graphscope.proto.groot.TypeIdProto value) {
if (edgeIdBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
edgeId_ != null &&
edgeId_ != com.alibaba.graphscope.proto.groot.TypeIdProto.getDefaultInstance()) {
getEdgeIdBuilder().mergeFrom(value);
} else {
edgeId_ = value;
}
} else {
edgeIdBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .gs.rpc.groot.TypeIdProto edgeId = 3;
*/
public Builder clearEdgeId() {
bitField0_ = (bitField0_ & ~0x00000004);
edgeId_ = null;
if (edgeIdBuilder_ != null) {
edgeIdBuilder_.dispose();
edgeIdBuilder_ = null;
}
onChanged();
return this;
}
/**
* .gs.rpc.groot.TypeIdProto edgeId = 3;
*/
public com.alibaba.graphscope.proto.groot.TypeIdProto.Builder getEdgeIdBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getEdgeIdFieldBuilder().getBuilder();
}
/**
* .gs.rpc.groot.TypeIdProto edgeId = 3;
*/
public com.alibaba.graphscope.proto.groot.TypeIdProtoOrBuilder getEdgeIdOrBuilder() {
if (edgeIdBuilder_ != null) {
return edgeIdBuilder_.getMessageOrBuilder();
} else {
return edgeId_ == null ?
com.alibaba.graphscope.proto.groot.TypeIdProto.getDefaultInstance() : edgeId_;
}
}
/**
* .gs.rpc.groot.TypeIdProto edgeId = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.alibaba.graphscope.proto.groot.TypeIdProto, com.alibaba.graphscope.proto.groot.TypeIdProto.Builder, com.alibaba.graphscope.proto.groot.TypeIdProtoOrBuilder>
getEdgeIdFieldBuilder() {
if (edgeIdBuilder_ == null) {
edgeIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.alibaba.graphscope.proto.groot.TypeIdProto, com.alibaba.graphscope.proto.groot.TypeIdProto.Builder, com.alibaba.graphscope.proto.groot.TypeIdProtoOrBuilder>(
getEdgeId(),
getParentForChildren(),
isClean());
edgeId_ = null;
}
return edgeIdBuilder_;
}
@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.groot.RelationShipProto)
}
// @@protoc_insertion_point(class_scope:gs.rpc.groot.RelationShipProto)
private static final com.alibaba.graphscope.proto.groot.RelationShipProto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.alibaba.graphscope.proto.groot.RelationShipProto();
}
public static com.alibaba.graphscope.proto.groot.RelationShipProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RelationShipProto 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.groot.RelationShipProto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy