com.alibaba.graphscope.proto.groot.DataLoadTargetPb 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/model.proto
package com.alibaba.graphscope.proto.groot;
/**
* Protobuf type {@code gs.rpc.groot.DataLoadTargetPb}
*/
public final class DataLoadTargetPb extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gs.rpc.groot.DataLoadTargetPb)
DataLoadTargetPbOrBuilder {
private static final long serialVersionUID = 0L;
// Use DataLoadTargetPb.newBuilder() to construct.
private DataLoadTargetPb(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DataLoadTargetPb() {
label_ = "";
srcLabel_ = "";
dstLabel_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DataLoadTargetPb();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.alibaba.graphscope.proto.groot.Model.internal_static_gs_rpc_groot_DataLoadTargetPb_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.alibaba.graphscope.proto.groot.Model.internal_static_gs_rpc_groot_DataLoadTargetPb_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.alibaba.graphscope.proto.groot.DataLoadTargetPb.class, com.alibaba.graphscope.proto.groot.DataLoadTargetPb.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 SRCLABEL_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object srcLabel_ = "";
/**
* string srcLabel = 2;
* @return The srcLabel.
*/
@java.lang.Override
public java.lang.String getSrcLabel() {
java.lang.Object ref = srcLabel_;
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();
srcLabel_ = s;
return s;
}
}
/**
* string srcLabel = 2;
* @return The bytes for srcLabel.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSrcLabelBytes() {
java.lang.Object ref = srcLabel_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
srcLabel_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DSTLABEL_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object dstLabel_ = "";
/**
* string dstLabel = 3;
* @return The dstLabel.
*/
@java.lang.Override
public java.lang.String getDstLabel() {
java.lang.Object ref = dstLabel_;
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();
dstLabel_ = s;
return s;
}
}
/**
* string dstLabel = 3;
* @return The bytes for dstLabel.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDstLabelBytes() {
java.lang.Object ref = dstLabel_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dstLabel_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LABELID_FIELD_NUMBER = 4;
private int labelId_ = 0;
/**
* int32 labelId = 4;
* @return The labelId.
*/
@java.lang.Override
public int getLabelId() {
return labelId_;
}
public static final int SRCLABELID_FIELD_NUMBER = 5;
private int srcLabelId_ = 0;
/**
* int32 srcLabelId = 5;
* @return The srcLabelId.
*/
@java.lang.Override
public int getSrcLabelId() {
return srcLabelId_;
}
public static final int DSTLABELID_FIELD_NUMBER = 6;
private int dstLabelId_ = 0;
/**
* int32 dstLabelId = 6;
* @return The dstLabelId.
*/
@java.lang.Override
public int getDstLabelId() {
return dstLabelId_;
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(srcLabel_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, srcLabel_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dstLabel_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, dstLabel_);
}
if (labelId_ != 0) {
output.writeInt32(4, labelId_);
}
if (srcLabelId_ != 0) {
output.writeInt32(5, srcLabelId_);
}
if (dstLabelId_ != 0) {
output.writeInt32(6, dstLabelId_);
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(srcLabel_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, srcLabel_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dstLabel_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, dstLabel_);
}
if (labelId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, labelId_);
}
if (srcLabelId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, srcLabelId_);
}
if (dstLabelId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, dstLabelId_);
}
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.DataLoadTargetPb)) {
return super.equals(obj);
}
com.alibaba.graphscope.proto.groot.DataLoadTargetPb other = (com.alibaba.graphscope.proto.groot.DataLoadTargetPb) obj;
if (!getLabel()
.equals(other.getLabel())) return false;
if (!getSrcLabel()
.equals(other.getSrcLabel())) return false;
if (!getDstLabel()
.equals(other.getDstLabel())) return false;
if (getLabelId()
!= other.getLabelId()) return false;
if (getSrcLabelId()
!= other.getSrcLabelId()) return false;
if (getDstLabelId()
!= other.getDstLabelId()) 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();
hash = (37 * hash) + SRCLABEL_FIELD_NUMBER;
hash = (53 * hash) + getSrcLabel().hashCode();
hash = (37 * hash) + DSTLABEL_FIELD_NUMBER;
hash = (53 * hash) + getDstLabel().hashCode();
hash = (37 * hash) + LABELID_FIELD_NUMBER;
hash = (53 * hash) + getLabelId();
hash = (37 * hash) + SRCLABELID_FIELD_NUMBER;
hash = (53 * hash) + getSrcLabelId();
hash = (37 * hash) + DSTLABELID_FIELD_NUMBER;
hash = (53 * hash) + getDstLabelId();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.alibaba.graphscope.proto.groot.DataLoadTargetPb parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.alibaba.graphscope.proto.groot.DataLoadTargetPb 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.DataLoadTargetPb parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.alibaba.graphscope.proto.groot.DataLoadTargetPb 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.DataLoadTargetPb parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.alibaba.graphscope.proto.groot.DataLoadTargetPb 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.DataLoadTargetPb parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.alibaba.graphscope.proto.groot.DataLoadTargetPb 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.DataLoadTargetPb parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.alibaba.graphscope.proto.groot.DataLoadTargetPb 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.DataLoadTargetPb 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.DataLoadTargetPb 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.DataLoadTargetPb 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.DataLoadTargetPb}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gs.rpc.groot.DataLoadTargetPb)
com.alibaba.graphscope.proto.groot.DataLoadTargetPbOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.alibaba.graphscope.proto.groot.Model.internal_static_gs_rpc_groot_DataLoadTargetPb_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.alibaba.graphscope.proto.groot.Model.internal_static_gs_rpc_groot_DataLoadTargetPb_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.alibaba.graphscope.proto.groot.DataLoadTargetPb.class, com.alibaba.graphscope.proto.groot.DataLoadTargetPb.Builder.class);
}
// Construct using com.alibaba.graphscope.proto.groot.DataLoadTargetPb.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
label_ = "";
srcLabel_ = "";
dstLabel_ = "";
labelId_ = 0;
srcLabelId_ = 0;
dstLabelId_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.alibaba.graphscope.proto.groot.Model.internal_static_gs_rpc_groot_DataLoadTargetPb_descriptor;
}
@java.lang.Override
public com.alibaba.graphscope.proto.groot.DataLoadTargetPb getDefaultInstanceForType() {
return com.alibaba.graphscope.proto.groot.DataLoadTargetPb.getDefaultInstance();
}
@java.lang.Override
public com.alibaba.graphscope.proto.groot.DataLoadTargetPb build() {
com.alibaba.graphscope.proto.groot.DataLoadTargetPb result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.alibaba.graphscope.proto.groot.DataLoadTargetPb buildPartial() {
com.alibaba.graphscope.proto.groot.DataLoadTargetPb result = new com.alibaba.graphscope.proto.groot.DataLoadTargetPb(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.alibaba.graphscope.proto.groot.DataLoadTargetPb result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.label_ = label_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.srcLabel_ = srcLabel_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.dstLabel_ = dstLabel_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.labelId_ = labelId_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.srcLabelId_ = srcLabelId_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.dstLabelId_ = dstLabelId_;
}
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.alibaba.graphscope.proto.groot.DataLoadTargetPb) {
return mergeFrom((com.alibaba.graphscope.proto.groot.DataLoadTargetPb)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.alibaba.graphscope.proto.groot.DataLoadTargetPb other) {
if (other == com.alibaba.graphscope.proto.groot.DataLoadTargetPb.getDefaultInstance()) return this;
if (!other.getLabel().isEmpty()) {
label_ = other.label_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getSrcLabel().isEmpty()) {
srcLabel_ = other.srcLabel_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getDstLabel().isEmpty()) {
dstLabel_ = other.dstLabel_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.getLabelId() != 0) {
setLabelId(other.getLabelId());
}
if (other.getSrcLabelId() != 0) {
setSrcLabelId(other.getSrcLabelId());
}
if (other.getDstLabelId() != 0) {
setDstLabelId(other.getDstLabelId());
}
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: {
srcLabel_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
dstLabel_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 32: {
labelId_ = input.readInt32();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
srcLabelId_ = input.readInt32();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
dstLabelId_ = input.readInt32();
bitField0_ |= 0x00000020;
break;
} // case 48
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 java.lang.Object srcLabel_ = "";
/**
* string srcLabel = 2;
* @return The srcLabel.
*/
public java.lang.String getSrcLabel() {
java.lang.Object ref = srcLabel_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
srcLabel_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string srcLabel = 2;
* @return The bytes for srcLabel.
*/
public com.google.protobuf.ByteString
getSrcLabelBytes() {
java.lang.Object ref = srcLabel_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
srcLabel_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string srcLabel = 2;
* @param value The srcLabel to set.
* @return This builder for chaining.
*/
public Builder setSrcLabel(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
srcLabel_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string srcLabel = 2;
* @return This builder for chaining.
*/
public Builder clearSrcLabel() {
srcLabel_ = getDefaultInstance().getSrcLabel();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string srcLabel = 2;
* @param value The bytes for srcLabel to set.
* @return This builder for chaining.
*/
public Builder setSrcLabelBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
srcLabel_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object dstLabel_ = "";
/**
* string dstLabel = 3;
* @return The dstLabel.
*/
public java.lang.String getDstLabel() {
java.lang.Object ref = dstLabel_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
dstLabel_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string dstLabel = 3;
* @return The bytes for dstLabel.
*/
public com.google.protobuf.ByteString
getDstLabelBytes() {
java.lang.Object ref = dstLabel_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dstLabel_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string dstLabel = 3;
* @param value The dstLabel to set.
* @return This builder for chaining.
*/
public Builder setDstLabel(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
dstLabel_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* string dstLabel = 3;
* @return This builder for chaining.
*/
public Builder clearDstLabel() {
dstLabel_ = getDefaultInstance().getDstLabel();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* string dstLabel = 3;
* @param value The bytes for dstLabel to set.
* @return This builder for chaining.
*/
public Builder setDstLabelBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
dstLabel_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private int labelId_ ;
/**
* int32 labelId = 4;
* @return The labelId.
*/
@java.lang.Override
public int getLabelId() {
return labelId_;
}
/**
* int32 labelId = 4;
* @param value The labelId to set.
* @return This builder for chaining.
*/
public Builder setLabelId(int value) {
labelId_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* int32 labelId = 4;
* @return This builder for chaining.
*/
public Builder clearLabelId() {
bitField0_ = (bitField0_ & ~0x00000008);
labelId_ = 0;
onChanged();
return this;
}
private int srcLabelId_ ;
/**
* int32 srcLabelId = 5;
* @return The srcLabelId.
*/
@java.lang.Override
public int getSrcLabelId() {
return srcLabelId_;
}
/**
* int32 srcLabelId = 5;
* @param value The srcLabelId to set.
* @return This builder for chaining.
*/
public Builder setSrcLabelId(int value) {
srcLabelId_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* int32 srcLabelId = 5;
* @return This builder for chaining.
*/
public Builder clearSrcLabelId() {
bitField0_ = (bitField0_ & ~0x00000010);
srcLabelId_ = 0;
onChanged();
return this;
}
private int dstLabelId_ ;
/**
* int32 dstLabelId = 6;
* @return The dstLabelId.
*/
@java.lang.Override
public int getDstLabelId() {
return dstLabelId_;
}
/**
* int32 dstLabelId = 6;
* @param value The dstLabelId to set.
* @return This builder for chaining.
*/
public Builder setDstLabelId(int value) {
dstLabelId_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* int32 dstLabelId = 6;
* @return This builder for chaining.
*/
public Builder clearDstLabelId() {
bitField0_ = (bitField0_ & ~0x00000020);
dstLabelId_ = 0;
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.DataLoadTargetPb)
}
// @@protoc_insertion_point(class_scope:gs.rpc.groot.DataLoadTargetPb)
private static final com.alibaba.graphscope.proto.groot.DataLoadTargetPb DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.alibaba.graphscope.proto.groot.DataLoadTargetPb();
}
public static com.alibaba.graphscope.proto.groot.DataLoadTargetPb getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DataLoadTargetPb 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.DataLoadTargetPb getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy