public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBool(1, loadDirectChildren_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, loadMetadataType_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(3, getCommonOptions()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(4, recursive_); } unknownFields.writeTo(output); }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, loadDirectChildren_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, loadMetadataType_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getCommonOptions()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, recursive_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasLoadDirectChildren()) { hash = (37 * hash) + LOADDIRECTCHILDREN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getLoadDirectChildren()); } if (hasLoadMetadataType()) { hash = (37 * hash) + LOADMETADATATYPE_FIELD_NUMBER; hash = (53 * hash) + loadMetadataType_; } if (hasCommonOptions()) { hash = (37 * hash) + COMMONOPTIONS_FIELD_NUMBER; hash = (53 * hash) + getCommonOptions().hashCode(); } if (hasRecursive()) { hash = (37 * hash) + RECURSIVE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getRecursive()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
result = result && getCommonOptions() .equals(other.getCommonOptions());
public Builder mergeFrom(alluxio.grpc.ListStatusPOptions other) { if (other == alluxio.grpc.ListStatusPOptions.getDefaultInstance()) return this; if (other.hasLoadDirectChildren()) { setLoadDirectChildren(other.getLoadDirectChildren()); } if (other.hasLoadMetadataType()) { setLoadMetadataType(other.getLoadMetadataType()); } if (other.hasCommonOptions()) { mergeCommonOptions(other.getCommonOptions()); } if (other.hasRecursive()) { setRecursive(other.getRecursive()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }