public static final class ChaincodeInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeInfo.Builder> implements ChaincodeInfoOrBuilder
ChaincodeInfo contains general information about an installed/instantiated chaincodeProtobuf type
protos.ChaincodeInfo
Modifier and Type | Method and Description |
---|---|
ChaincodeInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ChaincodeInfo |
build() |
ChaincodeInfo |
buildPartial() |
ChaincodeInfo.Builder |
clear() |
ChaincodeInfo.Builder |
clearEscc()
the name of the ESCC for this chaincode.
|
ChaincodeInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ChaincodeInfo.Builder |
clearId()
the chaincode unique id.
|
ChaincodeInfo.Builder |
clearInput()
the chaincode function upon instantiation and its arguments.
|
ChaincodeInfo.Builder |
clearName()
string name = 1 [json_name = "name"]; |
ChaincodeInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ChaincodeInfo.Builder |
clearPath()
the path as specified by the install/instantiate transaction
|
ChaincodeInfo.Builder |
clearVersion()
string version = 2 [json_name = "version"]; |
ChaincodeInfo.Builder |
clearVscc()
the name of the VSCC for this chaincode.
|
ChaincodeInfo.Builder |
clone() |
ChaincodeInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEscc()
the name of the ESCC for this chaincode.
|
com.google.protobuf.ByteString |
getEsccBytes()
the name of the ESCC for this chaincode.
|
com.google.protobuf.ByteString |
getId()
the chaincode unique id.
|
String |
getInput()
the chaincode function upon instantiation and its arguments.
|
com.google.protobuf.ByteString |
getInputBytes()
the chaincode function upon instantiation and its arguments.
|
String |
getName()
string name = 1 [json_name = "name"]; |
com.google.protobuf.ByteString |
getNameBytes()
string name = 1 [json_name = "name"]; |
String |
getPath()
the path as specified by the install/instantiate transaction
|
com.google.protobuf.ByteString |
getPathBytes()
the path as specified by the install/instantiate transaction
|
String |
getVersion()
string version = 2 [json_name = "version"]; |
com.google.protobuf.ByteString |
getVersionBytes()
string version = 2 [json_name = "version"]; |
String |
getVscc()
the name of the VSCC for this chaincode.
|
com.google.protobuf.ByteString |
getVsccBytes()
the name of the VSCC for this chaincode.
|
boolean |
isInitialized() |
ChaincodeInfo.Builder |
mergeFrom(ChaincodeInfo other) |
ChaincodeInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ChaincodeInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
ChaincodeInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ChaincodeInfo.Builder |
setEscc(String value)
the name of the ESCC for this chaincode.
|
ChaincodeInfo.Builder |
setEsccBytes(com.google.protobuf.ByteString value)
the name of the ESCC for this chaincode.
|
ChaincodeInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ChaincodeInfo.Builder |
setId(com.google.protobuf.ByteString value)
the chaincode unique id.
|
ChaincodeInfo.Builder |
setInput(String value)
the chaincode function upon instantiation and its arguments.
|
ChaincodeInfo.Builder |
setInputBytes(com.google.protobuf.ByteString value)
the chaincode function upon instantiation and its arguments.
|
ChaincodeInfo.Builder |
setName(String value)
string name = 1 [json_name = "name"]; |
ChaincodeInfo.Builder |
setNameBytes(com.google.protobuf.ByteString value)
string name = 1 [json_name = "name"]; |
ChaincodeInfo.Builder |
setPath(String value)
the path as specified by the install/instantiate transaction
|
ChaincodeInfo.Builder |
setPathBytes(com.google.protobuf.ByteString value)
the path as specified by the install/instantiate transaction
|
ChaincodeInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ChaincodeInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ChaincodeInfo.Builder |
setVersion(String value)
string version = 2 [json_name = "version"]; |
ChaincodeInfo.Builder |
setVersionBytes(com.google.protobuf.ByteString value)
string version = 2 [json_name = "version"]; |
ChaincodeInfo.Builder |
setVscc(String value)
the name of the VSCC for this chaincode.
|
ChaincodeInfo.Builder |
setVsccBytes(com.google.protobuf.ByteString value)
the name of the VSCC for this chaincode.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public ChaincodeInfo.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeInfo.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeInfo.Builder>
public ChaincodeInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ChaincodeInfo build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ChaincodeInfo buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ChaincodeInfo.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeInfo.Builder>
public ChaincodeInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeInfo.Builder>
public ChaincodeInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeInfo.Builder>
public ChaincodeInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeInfo.Builder>
public ChaincodeInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeInfo.Builder>
public ChaincodeInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeInfo.Builder>
public ChaincodeInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ChaincodeInfo.Builder>
public ChaincodeInfo.Builder mergeFrom(ChaincodeInfo other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeInfo.Builder>
public ChaincodeInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ChaincodeInfo.Builder>
IOException
public String getName()
string name = 1 [json_name = "name"];
getName
in interface ChaincodeInfoOrBuilder
public com.google.protobuf.ByteString getNameBytes()
string name = 1 [json_name = "name"];
getNameBytes
in interface ChaincodeInfoOrBuilder
public ChaincodeInfo.Builder setName(String value)
string name = 1 [json_name = "name"];
value
- The name to set.public ChaincodeInfo.Builder clearName()
string name = 1 [json_name = "name"];
public ChaincodeInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
string name = 1 [json_name = "name"];
value
- The bytes for name to set.public String getVersion()
string version = 2 [json_name = "version"];
getVersion
in interface ChaincodeInfoOrBuilder
public com.google.protobuf.ByteString getVersionBytes()
string version = 2 [json_name = "version"];
getVersionBytes
in interface ChaincodeInfoOrBuilder
public ChaincodeInfo.Builder setVersion(String value)
string version = 2 [json_name = "version"];
value
- The version to set.public ChaincodeInfo.Builder clearVersion()
string version = 2 [json_name = "version"];
public ChaincodeInfo.Builder setVersionBytes(com.google.protobuf.ByteString value)
string version = 2 [json_name = "version"];
value
- The bytes for version to set.public String getPath()
the path as specified by the install/instantiate transaction
string path = 3 [json_name = "path"];
getPath
in interface ChaincodeInfoOrBuilder
public com.google.protobuf.ByteString getPathBytes()
the path as specified by the install/instantiate transaction
string path = 3 [json_name = "path"];
getPathBytes
in interface ChaincodeInfoOrBuilder
public ChaincodeInfo.Builder setPath(String value)
the path as specified by the install/instantiate transaction
string path = 3 [json_name = "path"];
value
- The path to set.public ChaincodeInfo.Builder clearPath()
the path as specified by the install/instantiate transaction
string path = 3 [json_name = "path"];
public ChaincodeInfo.Builder setPathBytes(com.google.protobuf.ByteString value)
the path as specified by the install/instantiate transaction
string path = 3 [json_name = "path"];
value
- The bytes for path to set.public String getInput()
the chaincode function upon instantiation and its arguments. This will be blank if the query is returning information about installed chaincodes.
string input = 4 [json_name = "input"];
getInput
in interface ChaincodeInfoOrBuilder
public com.google.protobuf.ByteString getInputBytes()
the chaincode function upon instantiation and its arguments. This will be blank if the query is returning information about installed chaincodes.
string input = 4 [json_name = "input"];
getInputBytes
in interface ChaincodeInfoOrBuilder
public ChaincodeInfo.Builder setInput(String value)
the chaincode function upon instantiation and its arguments. This will be blank if the query is returning information about installed chaincodes.
string input = 4 [json_name = "input"];
value
- The input to set.public ChaincodeInfo.Builder clearInput()
the chaincode function upon instantiation and its arguments. This will be blank if the query is returning information about installed chaincodes.
string input = 4 [json_name = "input"];
public ChaincodeInfo.Builder setInputBytes(com.google.protobuf.ByteString value)
the chaincode function upon instantiation and its arguments. This will be blank if the query is returning information about installed chaincodes.
string input = 4 [json_name = "input"];
value
- The bytes for input to set.public String getEscc()
the name of the ESCC for this chaincode. This will be blank if the query is returning information about installed chaincodes.
string escc = 5 [json_name = "escc"];
getEscc
in interface ChaincodeInfoOrBuilder
public com.google.protobuf.ByteString getEsccBytes()
the name of the ESCC for this chaincode. This will be blank if the query is returning information about installed chaincodes.
string escc = 5 [json_name = "escc"];
getEsccBytes
in interface ChaincodeInfoOrBuilder
public ChaincodeInfo.Builder setEscc(String value)
the name of the ESCC for this chaincode. This will be blank if the query is returning information about installed chaincodes.
string escc = 5 [json_name = "escc"];
value
- The escc to set.public ChaincodeInfo.Builder clearEscc()
the name of the ESCC for this chaincode. This will be blank if the query is returning information about installed chaincodes.
string escc = 5 [json_name = "escc"];
public ChaincodeInfo.Builder setEsccBytes(com.google.protobuf.ByteString value)
the name of the ESCC for this chaincode. This will be blank if the query is returning information about installed chaincodes.
string escc = 5 [json_name = "escc"];
value
- The bytes for escc to set.public String getVscc()
the name of the VSCC for this chaincode. This will be blank if the query is returning information about installed chaincodes.
string vscc = 6 [json_name = "vscc"];
getVscc
in interface ChaincodeInfoOrBuilder
public com.google.protobuf.ByteString getVsccBytes()
the name of the VSCC for this chaincode. This will be blank if the query is returning information about installed chaincodes.
string vscc = 6 [json_name = "vscc"];
getVsccBytes
in interface ChaincodeInfoOrBuilder
public ChaincodeInfo.Builder setVscc(String value)
the name of the VSCC for this chaincode. This will be blank if the query is returning information about installed chaincodes.
string vscc = 6 [json_name = "vscc"];
value
- The vscc to set.public ChaincodeInfo.Builder clearVscc()
the name of the VSCC for this chaincode. This will be blank if the query is returning information about installed chaincodes.
string vscc = 6 [json_name = "vscc"];
public ChaincodeInfo.Builder setVsccBytes(com.google.protobuf.ByteString value)
the name of the VSCC for this chaincode. This will be blank if the query is returning information about installed chaincodes.
string vscc = 6 [json_name = "vscc"];
value
- The bytes for vscc to set.public com.google.protobuf.ByteString getId()
the chaincode unique id. computed as: H( H(name || version) || H(CodePackage) )
bytes id = 7 [json_name = "id"];
getId
in interface ChaincodeInfoOrBuilder
public ChaincodeInfo.Builder setId(com.google.protobuf.ByteString value)
the chaincode unique id. computed as: H( H(name || version) || H(CodePackage) )
bytes id = 7 [json_name = "id"];
value
- The id to set.public ChaincodeInfo.Builder clearId()
the chaincode unique id. computed as: H( H(name || version) || H(CodePackage) )
bytes id = 7 [json_name = "id"];
public final ChaincodeInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeInfo.Builder>
public final ChaincodeInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeInfo.Builder>
Copyright © 2022. All rights reserved.