.setChaincodeId(chaincodeID).build();
/** * <pre> * The ID of the chaincode to target. * </pre> * * <code>optional .protos.ChaincodeID chaincode_id = 2;</code> */ private com.google.protobuf.SingleFieldBuilderV3< org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID, org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID.Builder, org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeIDOrBuilder> getChaincodeIdFieldBuilder() { if (chaincodeIdBuilder_ == null) { chaincodeIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID, org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID.Builder, org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeIDOrBuilder>( getChaincodeId(), getParentForChildren(), isClean()); chaincodeId_ = null; } return chaincodeIdBuilder_; } public final Builder setUnknownFields(
/** * <pre> * The ID of the chaincode to target. * </pre> * * <code>optional .protos.ChaincodeID chaincode_id = 2;</code> */ public org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID.Builder getChaincodeIdBuilder() { onChanged(); return getChaincodeIdFieldBuilder().getBuilder(); } /**
.setChaincodeId(chaincodeID).build();
/** * <pre> * The ID of the chaincode to target. * </pre> * * <code>optional .protos.ChaincodeID chaincode_id = 2;</code> */ private com.google.protobuf.SingleFieldBuilderV3< org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID, org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID.Builder, org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeIDOrBuilder> getChaincodeIdFieldBuilder() { if (chaincodeIdBuilder_ == null) { chaincodeIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID, org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID.Builder, org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeIDOrBuilder>( getChaincodeId(), getParentForChildren(), isClean()); chaincodeId_ = null; } return chaincodeIdBuilder_; } public final Builder setUnknownFields(
/** * <pre> * The ID of the chaincode to target. * </pre> * * <code>optional .protos.ChaincodeID chaincode_id = 2;</code> */ private com.google.protobuf.SingleFieldBuilderV3< org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID, org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID.Builder, org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeIDOrBuilder> getChaincodeIdFieldBuilder() { if (chaincodeIdBuilder_ == null) { chaincodeIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID, org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID.Builder, org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeIDOrBuilder>( getChaincodeId(), getParentForChildren(), isClean()); chaincodeId_ = null; } return chaincodeIdBuilder_; } public final Builder setUnknownFields(
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.hyperledger.fabric.protos.peer.FabricProposal.ChaincodeHeaderExtension parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.hyperledger.fabric.protos.peer.FabricProposal.ChaincodeHeaderExtension) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; }
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.hyperledger.fabric.protos.peer.FabricProposal.ChaincodeHeaderExtension parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.hyperledger.fabric.protos.peer.FabricProposal.ChaincodeHeaderExtension) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; }
private Builder() { maybeForceBuilderInitialization(); }
private Builder() { maybeForceBuilderInitialization(); }
public static Builder newBuilder(org.hyperledger.fabric.protos.peer.FabricProposal.ChaincodeHeaderExtension prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
public static Builder newBuilder(org.hyperledger.fabric.protos.peer.FabricProposal.ChaincodeHeaderExtension prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.hyperledger.fabric.protos.peer.FabricProposal.ChaincodeHeaderExtension) { return mergeFrom((org.hyperledger.fabric.protos.peer.FabricProposal.ChaincodeHeaderExtension)other); } else { super.mergeFrom(other); return this; } }
/** * <pre> * The ID of the chaincode to target. * </pre> * * <code>optional .protos.ChaincodeID chaincode_id = 2;</code> */ public org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID.Builder getChaincodeIdBuilder() { onChanged(); return getChaincodeIdFieldBuilder().getBuilder(); } /**
public org.hyperledger.fabric.protos.peer.FabricProposal.ChaincodeHeaderExtension build() { org.hyperledger.fabric.protos.peer.FabricProposal.ChaincodeHeaderExtension result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.FabricProposal.ChaincodeHeaderExtension other) { if (other == org.hyperledger.fabric.protos.peer.FabricProposal.ChaincodeHeaderExtension.getDefaultInstance()) return this; if (other.getPayloadVisibility() != com.google.protobuf.ByteString.EMPTY) { setPayloadVisibility(other.getPayloadVisibility()); } if (other.hasChaincodeId()) { mergeChaincodeId(other.getChaincodeId()); } onChanged(); return this; }
@java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /**