public final class ChaincodeHeaderExtension extends com.google.protobuf.GeneratedMessageV3 implements ChaincodeHeaderExtensionOrBuilder
ChaincodeHeaderExtension is the Header's extentions message to be used when the Header's type is CHAINCODE. This extensions is used to specify which chaincode to invoke and what should appear on the ledger.Protobuf type
protos.ChaincodeHeaderExtension
Modifier and Type | Class and Description |
---|---|
static class |
ChaincodeHeaderExtension.Builder
ChaincodeHeaderExtension is the Header's extentions message to be used when
the Header's type is CHAINCODE.
|
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
CHAINCODE_ID_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ChaincodeID |
getChaincodeId()
The ID of the chaincode to target.
|
ChaincodeIDOrBuilder |
getChaincodeIdOrBuilder()
The ID of the chaincode to target.
|
static ChaincodeHeaderExtension |
getDefaultInstance() |
ChaincodeHeaderExtension |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<ChaincodeHeaderExtension> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasChaincodeId()
The ID of the chaincode to target.
|
int |
hashCode() |
boolean |
isInitialized() |
static ChaincodeHeaderExtension.Builder |
newBuilder() |
static ChaincodeHeaderExtension.Builder |
newBuilder(ChaincodeHeaderExtension prototype) |
ChaincodeHeaderExtension.Builder |
newBuilderForType() |
static ChaincodeHeaderExtension |
parseDelimitedFrom(InputStream input) |
static ChaincodeHeaderExtension |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeHeaderExtension |
parseFrom(byte[] data) |
static ChaincodeHeaderExtension |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeHeaderExtension |
parseFrom(ByteBuffer data) |
static ChaincodeHeaderExtension |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeHeaderExtension |
parseFrom(com.google.protobuf.ByteString data) |
static ChaincodeHeaderExtension |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeHeaderExtension |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ChaincodeHeaderExtension |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeHeaderExtension |
parseFrom(InputStream input) |
static ChaincodeHeaderExtension |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ChaincodeHeaderExtension> |
parser() |
ChaincodeHeaderExtension.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
findInitializationErrors, getInitializationErrorString, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int CHAINCODE_ID_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public boolean hasChaincodeId()
The ID of the chaincode to target.
.protos.ChaincodeID chaincode_id = 2 [json_name = "chaincodeId"];
hasChaincodeId
in interface ChaincodeHeaderExtensionOrBuilder
public ChaincodeID getChaincodeId()
The ID of the chaincode to target.
.protos.ChaincodeID chaincode_id = 2 [json_name = "chaincodeId"];
getChaincodeId
in interface ChaincodeHeaderExtensionOrBuilder
public ChaincodeIDOrBuilder getChaincodeIdOrBuilder()
The ID of the chaincode to target.
.protos.ChaincodeID chaincode_id = 2 [json_name = "chaincodeId"];
getChaincodeIdOrBuilder
in interface ChaincodeHeaderExtensionOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static ChaincodeHeaderExtension parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeHeaderExtension parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeHeaderExtension parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeHeaderExtension parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeHeaderExtension parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeHeaderExtension parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeHeaderExtension parseFrom(InputStream input) throws IOException
IOException
public static ChaincodeHeaderExtension parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ChaincodeHeaderExtension parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ChaincodeHeaderExtension parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ChaincodeHeaderExtension parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ChaincodeHeaderExtension parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ChaincodeHeaderExtension.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ChaincodeHeaderExtension.Builder newBuilder()
public static ChaincodeHeaderExtension.Builder newBuilder(ChaincodeHeaderExtension prototype)
public ChaincodeHeaderExtension.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
public static ChaincodeHeaderExtension getDefaultInstance()
public static com.google.protobuf.Parser<ChaincodeHeaderExtension> parser()
public com.google.protobuf.Parser<ChaincodeHeaderExtension> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public ChaincodeHeaderExtension getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2022. All rights reserved.