public org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse buildPartial() { org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse result = new org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse(this); int from_bitField0_ = bitField0_; if (chaincodesBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { chaincodes_ = java.util.Collections.unmodifiableList(chaincodes_); bitField0_ = (bitField0_ & ~0x00000001); } result.chaincodes_ = chaincodes_; } else { result.chaincodes_ = chaincodesBuilder_.build(); } onBuilt(); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getChaincodesCount() > 0) { hash = (37 * hash) + CHAINCODES_FIELD_NUMBER; hash = (53 * hash) + getChaincodesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse other) { if (other == org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse.getDefaultInstance()) return this; if (chaincodesBuilder_ == null) { if (!other.chaincodes_.isEmpty()) {
chaincodes_ = java.util.Collections.unmodifiableList(chaincodes_); makeExtensionsImmutable();
chaincodes_ = java.util.Collections.unmodifiableList(chaincodes_); makeExtensionsImmutable();
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse other) { if (other == org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse.getDefaultInstance()) return this; if (chaincodesBuilder_ == null) { if (!other.chaincodes_.isEmpty()) {
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse other) { if (other == org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse.getDefaultInstance()) return this; if (chaincodesBuilder_ == null) { if (!other.chaincodes_.isEmpty()) {
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getChaincodesCount() > 0) { hash = (37 * hash) + CHAINCODES_FIELD_NUMBER; hash = (53 * hash) + getChaincodesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse.getDefaultInstance(); }
public org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse.getDefaultInstance(); }
public org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse buildPartial() { org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse result = new org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse(this); int from_bitField0_ = bitField0_; if (chaincodesBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { chaincodes_ = java.util.Collections.unmodifiableList(chaincodes_); bitField0_ = (bitField0_ & ~0x00000001); } result.chaincodes_ = chaincodes_; } else { result.chaincodes_ = chaincodesBuilder_.build(); } onBuilt(); return result; }
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getChaincodesCount() > 0) { hash = (37 * hash) + CHAINCODES_FIELD_NUMBER; hash = (53 * hash) + getChaincodesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse prototype) {
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse other = (org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse) obj; boolean result = true; result = result && getChaincodesList() .equals(other.getChaincodesList()); return result; }
public org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse buildPartial() { org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse result = new org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse(this); int from_bitField0_ = bitField0_; if (chaincodesBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { chaincodes_ = java.util.Collections.unmodifiableList(chaincodes_); bitField0_ = (bitField0_ & ~0x00000001); } result.chaincodes_ = chaincodes_; } else { result.chaincodes_ = chaincodesBuilder_.build(); } onBuilt(); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse other = (org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse) obj; boolean result = true; result = result && getChaincodesList() .equals(other.getChaincodesList()); return result; }
public org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse build() { org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public static Builder newBuilder(org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {