com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb 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: write_service.proto
package com.alibaba.graphscope.proto.groot;
/**
* Protobuf type {@code gs.rpc.groot.EdgeRecordKeyPb}
*/
public final class EdgeRecordKeyPb extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gs.rpc.groot.EdgeRecordKeyPb)
EdgeRecordKeyPbOrBuilder {
private static final long serialVersionUID = 0L;
// Use EdgeRecordKeyPb.newBuilder() to construct.
private EdgeRecordKeyPb(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private EdgeRecordKeyPb() {
label_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new EdgeRecordKeyPb();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.alibaba.graphscope.proto.groot.WriteService.internal_static_gs_rpc_groot_EdgeRecordKeyPb_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.alibaba.graphscope.proto.groot.WriteService.internal_static_gs_rpc_groot_EdgeRecordKeyPb_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb.class, com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb.Builder.class);
}
public static final int LABEL_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object label_ = "";
/**
* string label = 1;
* @return The label.
*/
@java.lang.Override
public java.lang.String getLabel() {
java.lang.Object ref = label_;
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();
label_ = s;
return s;
}
}
/**
* string label = 1;
* @return The bytes for label.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLabelBytes() {
java.lang.Object ref = label_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
label_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SRC_VERTEX_KEY_FIELD_NUMBER = 2;
private com.alibaba.graphscope.proto.groot.VertexRecordKeyPb srcVertexKey_;
/**
* .gs.rpc.groot.VertexRecordKeyPb src_vertex_key = 2;
* @return Whether the srcVertexKey field is set.
*/
@java.lang.Override
public boolean hasSrcVertexKey() {
return srcVertexKey_ != null;
}
/**
* .gs.rpc.groot.VertexRecordKeyPb src_vertex_key = 2;
* @return The srcVertexKey.
*/
@java.lang.Override
public com.alibaba.graphscope.proto.groot.VertexRecordKeyPb getSrcVertexKey() {
return srcVertexKey_ == null ? com.alibaba.graphscope.proto.groot.VertexRecordKeyPb.getDefaultInstance() : srcVertexKey_;
}
/**
* .gs.rpc.groot.VertexRecordKeyPb src_vertex_key = 2;
*/
@java.lang.Override
public com.alibaba.graphscope.proto.groot.VertexRecordKeyPbOrBuilder getSrcVertexKeyOrBuilder() {
return srcVertexKey_ == null ? com.alibaba.graphscope.proto.groot.VertexRecordKeyPb.getDefaultInstance() : srcVertexKey_;
}
public static final int DST_VERTEX_KEY_FIELD_NUMBER = 3;
private com.alibaba.graphscope.proto.groot.VertexRecordKeyPb dstVertexKey_;
/**
* .gs.rpc.groot.VertexRecordKeyPb dst_vertex_key = 3;
* @return Whether the dstVertexKey field is set.
*/
@java.lang.Override
public boolean hasDstVertexKey() {
return dstVertexKey_ != null;
}
/**
* .gs.rpc.groot.VertexRecordKeyPb dst_vertex_key = 3;
* @return The dstVertexKey.
*/
@java.lang.Override
public com.alibaba.graphscope.proto.groot.VertexRecordKeyPb getDstVertexKey() {
return dstVertexKey_ == null ? com.alibaba.graphscope.proto.groot.VertexRecordKeyPb.getDefaultInstance() : dstVertexKey_;
}
/**
* .gs.rpc.groot.VertexRecordKeyPb dst_vertex_key = 3;
*/
@java.lang.Override
public com.alibaba.graphscope.proto.groot.VertexRecordKeyPbOrBuilder getDstVertexKeyOrBuilder() {
return dstVertexKey_ == null ? com.alibaba.graphscope.proto.groot.VertexRecordKeyPb.getDefaultInstance() : dstVertexKey_;
}
public static final int INNER_ID_FIELD_NUMBER = 4;
private long innerId_ = 0L;
/**
* int64 inner_id = 4;
* @return The innerId.
*/
@java.lang.Override
public long getInnerId() {
return innerId_;
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(label_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, label_);
}
if (srcVertexKey_ != null) {
output.writeMessage(2, getSrcVertexKey());
}
if (dstVertexKey_ != null) {
output.writeMessage(3, getDstVertexKey());
}
if (innerId_ != 0L) {
output.writeInt64(4, innerId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(label_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, label_);
}
if (srcVertexKey_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getSrcVertexKey());
}
if (dstVertexKey_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getDstVertexKey());
}
if (innerId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, innerId_);
}
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.EdgeRecordKeyPb)) {
return super.equals(obj);
}
com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb other = (com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb) obj;
if (!getLabel()
.equals(other.getLabel())) return false;
if (hasSrcVertexKey() != other.hasSrcVertexKey()) return false;
if (hasSrcVertexKey()) {
if (!getSrcVertexKey()
.equals(other.getSrcVertexKey())) return false;
}
if (hasDstVertexKey() != other.hasDstVertexKey()) return false;
if (hasDstVertexKey()) {
if (!getDstVertexKey()
.equals(other.getDstVertexKey())) return false;
}
if (getInnerId()
!= other.getInnerId()) 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) + LABEL_FIELD_NUMBER;
hash = (53 * hash) + getLabel().hashCode();
if (hasSrcVertexKey()) {
hash = (37 * hash) + SRC_VERTEX_KEY_FIELD_NUMBER;
hash = (53 * hash) + getSrcVertexKey().hashCode();
}
if (hasDstVertexKey()) {
hash = (37 * hash) + DST_VERTEX_KEY_FIELD_NUMBER;
hash = (53 * hash) + getDstVertexKey().hashCode();
}
hash = (37 * hash) + INNER_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getInnerId());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb 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.EdgeRecordKeyPb parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb 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.EdgeRecordKeyPb parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb 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.EdgeRecordKeyPb parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb 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.EdgeRecordKeyPb parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb 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.EdgeRecordKeyPb 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.EdgeRecordKeyPb 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.EdgeRecordKeyPb 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.EdgeRecordKeyPb}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gs.rpc.groot.EdgeRecordKeyPb)
com.alibaba.graphscope.proto.groot.EdgeRecordKeyPbOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.alibaba.graphscope.proto.groot.WriteService.internal_static_gs_rpc_groot_EdgeRecordKeyPb_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.alibaba.graphscope.proto.groot.WriteService.internal_static_gs_rpc_groot_EdgeRecordKeyPb_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb.class, com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb.Builder.class);
}
// Construct using com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
label_ = "";
srcVertexKey_ = null;
if (srcVertexKeyBuilder_ != null) {
srcVertexKeyBuilder_.dispose();
srcVertexKeyBuilder_ = null;
}
dstVertexKey_ = null;
if (dstVertexKeyBuilder_ != null) {
dstVertexKeyBuilder_.dispose();
dstVertexKeyBuilder_ = null;
}
innerId_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.alibaba.graphscope.proto.groot.WriteService.internal_static_gs_rpc_groot_EdgeRecordKeyPb_descriptor;
}
@java.lang.Override
public com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb getDefaultInstanceForType() {
return com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb.getDefaultInstance();
}
@java.lang.Override
public com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb build() {
com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb buildPartial() {
com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb result = new com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.label_ = label_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.srcVertexKey_ = srcVertexKeyBuilder_ == null
? srcVertexKey_
: srcVertexKeyBuilder_.build();
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.dstVertexKey_ = dstVertexKeyBuilder_ == null
? dstVertexKey_
: dstVertexKeyBuilder_.build();
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.innerId_ = innerId_;
}
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb) {
return mergeFrom((com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb other) {
if (other == com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb.getDefaultInstance()) return this;
if (!other.getLabel().isEmpty()) {
label_ = other.label_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasSrcVertexKey()) {
mergeSrcVertexKey(other.getSrcVertexKey());
}
if (other.hasDstVertexKey()) {
mergeDstVertexKey(other.getDstVertexKey());
}
if (other.getInnerId() != 0L) {
setInnerId(other.getInnerId());
}
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: {
label_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getSrcVertexKeyFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
input.readMessage(
getDstVertexKeyFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
case 32: {
innerId_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
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 java.lang.Object label_ = "";
/**
* string label = 1;
* @return The label.
*/
public java.lang.String getLabel() {
java.lang.Object ref = label_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
label_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string label = 1;
* @return The bytes for label.
*/
public com.google.protobuf.ByteString
getLabelBytes() {
java.lang.Object ref = label_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
label_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string label = 1;
* @param value The label to set.
* @return This builder for chaining.
*/
public Builder setLabel(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
label_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string label = 1;
* @return This builder for chaining.
*/
public Builder clearLabel() {
label_ = getDefaultInstance().getLabel();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string label = 1;
* @param value The bytes for label to set.
* @return This builder for chaining.
*/
public Builder setLabelBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
label_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private com.alibaba.graphscope.proto.groot.VertexRecordKeyPb srcVertexKey_;
private com.google.protobuf.SingleFieldBuilderV3<
com.alibaba.graphscope.proto.groot.VertexRecordKeyPb, com.alibaba.graphscope.proto.groot.VertexRecordKeyPb.Builder, com.alibaba.graphscope.proto.groot.VertexRecordKeyPbOrBuilder> srcVertexKeyBuilder_;
/**
* .gs.rpc.groot.VertexRecordKeyPb src_vertex_key = 2;
* @return Whether the srcVertexKey field is set.
*/
public boolean hasSrcVertexKey() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .gs.rpc.groot.VertexRecordKeyPb src_vertex_key = 2;
* @return The srcVertexKey.
*/
public com.alibaba.graphscope.proto.groot.VertexRecordKeyPb getSrcVertexKey() {
if (srcVertexKeyBuilder_ == null) {
return srcVertexKey_ == null ? com.alibaba.graphscope.proto.groot.VertexRecordKeyPb.getDefaultInstance() : srcVertexKey_;
} else {
return srcVertexKeyBuilder_.getMessage();
}
}
/**
* .gs.rpc.groot.VertexRecordKeyPb src_vertex_key = 2;
*/
public Builder setSrcVertexKey(com.alibaba.graphscope.proto.groot.VertexRecordKeyPb value) {
if (srcVertexKeyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
srcVertexKey_ = value;
} else {
srcVertexKeyBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .gs.rpc.groot.VertexRecordKeyPb src_vertex_key = 2;
*/
public Builder setSrcVertexKey(
com.alibaba.graphscope.proto.groot.VertexRecordKeyPb.Builder builderForValue) {
if (srcVertexKeyBuilder_ == null) {
srcVertexKey_ = builderForValue.build();
} else {
srcVertexKeyBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .gs.rpc.groot.VertexRecordKeyPb src_vertex_key = 2;
*/
public Builder mergeSrcVertexKey(com.alibaba.graphscope.proto.groot.VertexRecordKeyPb value) {
if (srcVertexKeyBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
srcVertexKey_ != null &&
srcVertexKey_ != com.alibaba.graphscope.proto.groot.VertexRecordKeyPb.getDefaultInstance()) {
getSrcVertexKeyBuilder().mergeFrom(value);
} else {
srcVertexKey_ = value;
}
} else {
srcVertexKeyBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .gs.rpc.groot.VertexRecordKeyPb src_vertex_key = 2;
*/
public Builder clearSrcVertexKey() {
bitField0_ = (bitField0_ & ~0x00000002);
srcVertexKey_ = null;
if (srcVertexKeyBuilder_ != null) {
srcVertexKeyBuilder_.dispose();
srcVertexKeyBuilder_ = null;
}
onChanged();
return this;
}
/**
* .gs.rpc.groot.VertexRecordKeyPb src_vertex_key = 2;
*/
public com.alibaba.graphscope.proto.groot.VertexRecordKeyPb.Builder getSrcVertexKeyBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getSrcVertexKeyFieldBuilder().getBuilder();
}
/**
* .gs.rpc.groot.VertexRecordKeyPb src_vertex_key = 2;
*/
public com.alibaba.graphscope.proto.groot.VertexRecordKeyPbOrBuilder getSrcVertexKeyOrBuilder() {
if (srcVertexKeyBuilder_ != null) {
return srcVertexKeyBuilder_.getMessageOrBuilder();
} else {
return srcVertexKey_ == null ?
com.alibaba.graphscope.proto.groot.VertexRecordKeyPb.getDefaultInstance() : srcVertexKey_;
}
}
/**
* .gs.rpc.groot.VertexRecordKeyPb src_vertex_key = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.alibaba.graphscope.proto.groot.VertexRecordKeyPb, com.alibaba.graphscope.proto.groot.VertexRecordKeyPb.Builder, com.alibaba.graphscope.proto.groot.VertexRecordKeyPbOrBuilder>
getSrcVertexKeyFieldBuilder() {
if (srcVertexKeyBuilder_ == null) {
srcVertexKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.alibaba.graphscope.proto.groot.VertexRecordKeyPb, com.alibaba.graphscope.proto.groot.VertexRecordKeyPb.Builder, com.alibaba.graphscope.proto.groot.VertexRecordKeyPbOrBuilder>(
getSrcVertexKey(),
getParentForChildren(),
isClean());
srcVertexKey_ = null;
}
return srcVertexKeyBuilder_;
}
private com.alibaba.graphscope.proto.groot.VertexRecordKeyPb dstVertexKey_;
private com.google.protobuf.SingleFieldBuilderV3<
com.alibaba.graphscope.proto.groot.VertexRecordKeyPb, com.alibaba.graphscope.proto.groot.VertexRecordKeyPb.Builder, com.alibaba.graphscope.proto.groot.VertexRecordKeyPbOrBuilder> dstVertexKeyBuilder_;
/**
* .gs.rpc.groot.VertexRecordKeyPb dst_vertex_key = 3;
* @return Whether the dstVertexKey field is set.
*/
public boolean hasDstVertexKey() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* .gs.rpc.groot.VertexRecordKeyPb dst_vertex_key = 3;
* @return The dstVertexKey.
*/
public com.alibaba.graphscope.proto.groot.VertexRecordKeyPb getDstVertexKey() {
if (dstVertexKeyBuilder_ == null) {
return dstVertexKey_ == null ? com.alibaba.graphscope.proto.groot.VertexRecordKeyPb.getDefaultInstance() : dstVertexKey_;
} else {
return dstVertexKeyBuilder_.getMessage();
}
}
/**
* .gs.rpc.groot.VertexRecordKeyPb dst_vertex_key = 3;
*/
public Builder setDstVertexKey(com.alibaba.graphscope.proto.groot.VertexRecordKeyPb value) {
if (dstVertexKeyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
dstVertexKey_ = value;
} else {
dstVertexKeyBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .gs.rpc.groot.VertexRecordKeyPb dst_vertex_key = 3;
*/
public Builder setDstVertexKey(
com.alibaba.graphscope.proto.groot.VertexRecordKeyPb.Builder builderForValue) {
if (dstVertexKeyBuilder_ == null) {
dstVertexKey_ = builderForValue.build();
} else {
dstVertexKeyBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .gs.rpc.groot.VertexRecordKeyPb dst_vertex_key = 3;
*/
public Builder mergeDstVertexKey(com.alibaba.graphscope.proto.groot.VertexRecordKeyPb value) {
if (dstVertexKeyBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
dstVertexKey_ != null &&
dstVertexKey_ != com.alibaba.graphscope.proto.groot.VertexRecordKeyPb.getDefaultInstance()) {
getDstVertexKeyBuilder().mergeFrom(value);
} else {
dstVertexKey_ = value;
}
} else {
dstVertexKeyBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .gs.rpc.groot.VertexRecordKeyPb dst_vertex_key = 3;
*/
public Builder clearDstVertexKey() {
bitField0_ = (bitField0_ & ~0x00000004);
dstVertexKey_ = null;
if (dstVertexKeyBuilder_ != null) {
dstVertexKeyBuilder_.dispose();
dstVertexKeyBuilder_ = null;
}
onChanged();
return this;
}
/**
* .gs.rpc.groot.VertexRecordKeyPb dst_vertex_key = 3;
*/
public com.alibaba.graphscope.proto.groot.VertexRecordKeyPb.Builder getDstVertexKeyBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getDstVertexKeyFieldBuilder().getBuilder();
}
/**
* .gs.rpc.groot.VertexRecordKeyPb dst_vertex_key = 3;
*/
public com.alibaba.graphscope.proto.groot.VertexRecordKeyPbOrBuilder getDstVertexKeyOrBuilder() {
if (dstVertexKeyBuilder_ != null) {
return dstVertexKeyBuilder_.getMessageOrBuilder();
} else {
return dstVertexKey_ == null ?
com.alibaba.graphscope.proto.groot.VertexRecordKeyPb.getDefaultInstance() : dstVertexKey_;
}
}
/**
* .gs.rpc.groot.VertexRecordKeyPb dst_vertex_key = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.alibaba.graphscope.proto.groot.VertexRecordKeyPb, com.alibaba.graphscope.proto.groot.VertexRecordKeyPb.Builder, com.alibaba.graphscope.proto.groot.VertexRecordKeyPbOrBuilder>
getDstVertexKeyFieldBuilder() {
if (dstVertexKeyBuilder_ == null) {
dstVertexKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.alibaba.graphscope.proto.groot.VertexRecordKeyPb, com.alibaba.graphscope.proto.groot.VertexRecordKeyPb.Builder, com.alibaba.graphscope.proto.groot.VertexRecordKeyPbOrBuilder>(
getDstVertexKey(),
getParentForChildren(),
isClean());
dstVertexKey_ = null;
}
return dstVertexKeyBuilder_;
}
private long innerId_ ;
/**
* int64 inner_id = 4;
* @return The innerId.
*/
@java.lang.Override
public long getInnerId() {
return innerId_;
}
/**
* int64 inner_id = 4;
* @param value The innerId to set.
* @return This builder for chaining.
*/
public Builder setInnerId(long value) {
innerId_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* int64 inner_id = 4;
* @return This builder for chaining.
*/
public Builder clearInnerId() {
bitField0_ = (bitField0_ & ~0x00000008);
innerId_ = 0L;
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.groot.EdgeRecordKeyPb)
}
// @@protoc_insertion_point(class_scope:gs.rpc.groot.EdgeRecordKeyPb)
private static final com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb();
}
public static com.alibaba.graphscope.proto.groot.EdgeRecordKeyPb getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public EdgeRecordKeyPb 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.EdgeRecordKeyPb getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy