@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getDescriptionsCount() > 0) { hash = (37 * hash) + DESCRIPTIONS_FIELD_NUMBER; hash = (53 * hash) + getDescriptionsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
@Override public SpanReceiverInfo[] listSpanReceivers() throws IOException { ArrayList<SpanReceiverInfo> infos = new ArrayList<SpanReceiverInfo>(1); try { ListSpanReceiversRequestProto req = ListSpanReceiversRequestProto.newBuilder().build(); ListSpanReceiversResponseProto resp = rpcProxy.listSpanReceivers(null, req); for (SpanReceiverListInfo info : resp.getDescriptionsList()) { infos.add(new SpanReceiverInfo(info.getId(), info.getClassName())); } } catch (ServiceException e) { throw ProtobufHelper.getRemoteException(e); } return infos.toArray(new SpanReceiverInfo[infos.size()]); }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto)) { return super.equals(obj); } org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto other = (org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto) obj; boolean result = true; result = result && getDescriptionsList() .equals(other.getDescriptionsList()); result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto)) { return super.equals(obj); } org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto other = (org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto) obj; boolean result = true; result = result && getDescriptionsList() .equals(other.getDescriptionsList()); result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@Override public SpanReceiverInfo[] listSpanReceivers() throws IOException { ArrayList<SpanReceiverInfo> infos = new ArrayList<SpanReceiverInfo>(1); try { ListSpanReceiversRequestProto req = ListSpanReceiversRequestProto.newBuilder().build(); ListSpanReceiversResponseProto resp = rpcProxy.listSpanReceivers(null, req); for (SpanReceiverListInfo info : resp.getDescriptionsList()) { infos.add(new SpanReceiverInfo(info.getId(), info.getClassName())); } } catch (ServiceException e) { throw ProtobufHelper.getRemoteException(e); } return infos.toArray(new SpanReceiverInfo[infos.size()]); }
@Override public SpanReceiverInfo[] listSpanReceivers() throws IOException { ArrayList<SpanReceiverInfo> infos = new ArrayList<SpanReceiverInfo>(1); try { ListSpanReceiversRequestProto req = ListSpanReceiversRequestProto.newBuilder().build(); ListSpanReceiversResponseProto resp = rpcProxy.listSpanReceivers(null, req); for (SpanReceiverListInfo info : resp.getDescriptionsList()) { infos.add(new SpanReceiverInfo(info.getId(), info.getClassName())); } } catch (ServiceException e) { throw ProtobufHelper.getRemoteException(e); } return infos.toArray(new SpanReceiverInfo[infos.size()]); }
@Override public SpanReceiverInfo[] listSpanReceivers() throws IOException { ArrayList<SpanReceiverInfo> infos = new ArrayList<SpanReceiverInfo>(1); try { ListSpanReceiversRequestProto req = ListSpanReceiversRequestProto.newBuilder().build(); ListSpanReceiversResponseProto resp = rpcProxy.listSpanReceivers(null, req); for (SpanReceiverListInfo info : resp.getDescriptionsList()) { infos.add(new SpanReceiverInfo(info.getId(), info.getClassName())); } } catch (ServiceException e) { throw ProtobufHelper.getRemoteException(e); } return infos.toArray(new SpanReceiverInfo[infos.size()]); }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto)) { return super.equals(obj); } org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto other = (org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto) obj; boolean result = true; result = result && getDescriptionsList() .equals(other.getDescriptionsList()); result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto)) { return super.equals(obj); } org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto other = (org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto) obj; boolean result = true; result = result && getDescriptionsList() .equals(other.getDescriptionsList()); result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto)) { return super.equals(obj); } org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto other = (org.apache.hadoop.tracing.TraceAdminPB.ListSpanReceiversResponseProto) obj; boolean result = true; result = result && getDescriptionsList() .equals(other.getDescriptionsList()); result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getDescriptionsCount() > 0) { hash = (37 * hash) + DESCRIPTIONS_FIELD_NUMBER; hash = (53 * hash) + getDescriptionsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getDescriptionsCount() > 0) { hash = (37 * hash) + DESCRIPTIONS_FIELD_NUMBER; hash = (53 * hash) + getDescriptionsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getDescriptionsCount() > 0) { hash = (37 * hash) + DESCRIPTIONS_FIELD_NUMBER; hash = (53 * hash) + getDescriptionsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
@Override public SpanReceiverInfo[] listSpanReceivers() throws IOException { ArrayList<SpanReceiverInfo> infos = new ArrayList<SpanReceiverInfo>(1); try { ListSpanReceiversRequestProto req = ListSpanReceiversRequestProto.newBuilder().build(); ListSpanReceiversResponseProto resp = rpcProxy.listSpanReceivers(null, req); for (SpanReceiverListInfo info : resp.getDescriptionsList()) { infos.add(new SpanReceiverInfo(info.getId(), info.getClassName())); } } catch (ServiceException e) { throw ProtobufHelper.getRemoteException(e); } return infos.toArray(new SpanReceiverInfo[infos.size()]); }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getDescriptionsCount() > 0) { hash = (37 * hash) + DESCRIPTIONS_FIELD_NUMBER; hash = (53 * hash) + getDescriptionsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }