public static final class EventOuterClass.Event.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.Event.Builder> implements EventOuterClass.EventOrBuilder
An event in the flat transaction stream can either be the creation or the archiving of a contract. In the transaction service the events are restricted to the events visible for the parties specified in the transaction filter. Each event message type below contains a ``witness_parties`` field which indicates the subset of the requested parties that can see the event in question. In the flat transaction stream you'll only receive events that have witnesses.Protobuf type
com.daml.ledger.api.v1.Event
Modifier and Type | Method and Description |
---|---|
EventOuterClass.Event.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
EventOuterClass.Event |
build() |
EventOuterClass.Event |
buildPartial() |
EventOuterClass.Event.Builder |
clear() |
EventOuterClass.Event.Builder |
clearArchived()
.com.daml.ledger.api.v1.ArchivedEvent archived = 3[json_name = "archived"]; |
EventOuterClass.Event.Builder |
clearCreated()
.com.daml.ledger.api.v1.CreatedEvent created = 1[json_name = "created"]; |
EventOuterClass.Event.Builder |
clearEvent() |
EventOuterClass.Event.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
EventOuterClass.Event.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
EventOuterClass.Event.Builder |
clone() |
EventOuterClass.ArchivedEvent |
getArchived()
.com.daml.ledger.api.v1.ArchivedEvent archived = 3[json_name = "archived"]; |
EventOuterClass.ArchivedEvent.Builder |
getArchivedBuilder()
.com.daml.ledger.api.v1.ArchivedEvent archived = 3[json_name = "archived"]; |
EventOuterClass.ArchivedEventOrBuilder |
getArchivedOrBuilder()
.com.daml.ledger.api.v1.ArchivedEvent archived = 3[json_name = "archived"]; |
EventOuterClass.CreatedEvent |
getCreated()
.com.daml.ledger.api.v1.CreatedEvent created = 1[json_name = "created"]; |
EventOuterClass.CreatedEvent.Builder |
getCreatedBuilder()
.com.daml.ledger.api.v1.CreatedEvent created = 1[json_name = "created"]; |
EventOuterClass.CreatedEventOrBuilder |
getCreatedOrBuilder()
.com.daml.ledger.api.v1.CreatedEvent created = 1[json_name = "created"]; |
EventOuterClass.Event |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
EventOuterClass.Event.EventCase |
getEventCase() |
boolean |
hasArchived()
.com.daml.ledger.api.v1.ArchivedEvent archived = 3[json_name = "archived"]; |
boolean |
hasCreated()
.com.daml.ledger.api.v1.CreatedEvent created = 1[json_name = "created"]; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
EventOuterClass.Event.Builder |
mergeArchived(EventOuterClass.ArchivedEvent value)
.com.daml.ledger.api.v1.ArchivedEvent archived = 3[json_name = "archived"]; |
EventOuterClass.Event.Builder |
mergeCreated(EventOuterClass.CreatedEvent value)
.com.daml.ledger.api.v1.CreatedEvent created = 1[json_name = "created"]; |
EventOuterClass.Event.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
EventOuterClass.Event.Builder |
mergeFrom(EventOuterClass.Event other) |
EventOuterClass.Event.Builder |
mergeFrom(com.google.protobuf.Message other) |
EventOuterClass.Event.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EventOuterClass.Event.Builder |
setArchived(EventOuterClass.ArchivedEvent.Builder builderForValue)
.com.daml.ledger.api.v1.ArchivedEvent archived = 3[json_name = "archived"]; |
EventOuterClass.Event.Builder |
setArchived(EventOuterClass.ArchivedEvent value)
.com.daml.ledger.api.v1.ArchivedEvent archived = 3[json_name = "archived"]; |
EventOuterClass.Event.Builder |
setCreated(EventOuterClass.CreatedEvent.Builder builderForValue)
.com.daml.ledger.api.v1.CreatedEvent created = 1[json_name = "created"]; |
EventOuterClass.Event.Builder |
setCreated(EventOuterClass.CreatedEvent value)
.com.daml.ledger.api.v1.CreatedEvent created = 1[json_name = "created"]; |
EventOuterClass.Event.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
EventOuterClass.Event.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
EventOuterClass.Event.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.Event.Builder>
public EventOuterClass.Event.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<EventOuterClass.Event.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<EventOuterClass.Event.Builder>
public EventOuterClass.Event getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public EventOuterClass.Event build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public EventOuterClass.Event buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public EventOuterClass.Event.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<EventOuterClass.Event.Builder>
public EventOuterClass.Event.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.Event.Builder>
public EventOuterClass.Event.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.Event.Builder>
public EventOuterClass.Event.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.Event.Builder>
public EventOuterClass.Event.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.Event.Builder>
public EventOuterClass.Event.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.Event.Builder>
public EventOuterClass.Event.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<EventOuterClass.Event.Builder>
public EventOuterClass.Event.Builder mergeFrom(EventOuterClass.Event other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.Event.Builder>
public EventOuterClass.Event.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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<EventOuterClass.Event.Builder>
java.io.IOException
public EventOuterClass.Event.EventCase getEventCase()
getEventCase
in interface EventOuterClass.EventOrBuilder
public EventOuterClass.Event.Builder clearEvent()
public boolean hasCreated()
.com.daml.ledger.api.v1.CreatedEvent created = 1[json_name = "created"];
hasCreated
in interface EventOuterClass.EventOrBuilder
public EventOuterClass.CreatedEvent getCreated()
.com.daml.ledger.api.v1.CreatedEvent created = 1[json_name = "created"];
getCreated
in interface EventOuterClass.EventOrBuilder
public EventOuterClass.Event.Builder setCreated(EventOuterClass.CreatedEvent value)
.com.daml.ledger.api.v1.CreatedEvent created = 1[json_name = "created"];
public EventOuterClass.Event.Builder setCreated(EventOuterClass.CreatedEvent.Builder builderForValue)
.com.daml.ledger.api.v1.CreatedEvent created = 1[json_name = "created"];
public EventOuterClass.Event.Builder mergeCreated(EventOuterClass.CreatedEvent value)
.com.daml.ledger.api.v1.CreatedEvent created = 1[json_name = "created"];
public EventOuterClass.Event.Builder clearCreated()
.com.daml.ledger.api.v1.CreatedEvent created = 1[json_name = "created"];
public EventOuterClass.CreatedEvent.Builder getCreatedBuilder()
.com.daml.ledger.api.v1.CreatedEvent created = 1[json_name = "created"];
public EventOuterClass.CreatedEventOrBuilder getCreatedOrBuilder()
.com.daml.ledger.api.v1.CreatedEvent created = 1[json_name = "created"];
getCreatedOrBuilder
in interface EventOuterClass.EventOrBuilder
public boolean hasArchived()
.com.daml.ledger.api.v1.ArchivedEvent archived = 3[json_name = "archived"];
hasArchived
in interface EventOuterClass.EventOrBuilder
public EventOuterClass.ArchivedEvent getArchived()
.com.daml.ledger.api.v1.ArchivedEvent archived = 3[json_name = "archived"];
getArchived
in interface EventOuterClass.EventOrBuilder
public EventOuterClass.Event.Builder setArchived(EventOuterClass.ArchivedEvent value)
.com.daml.ledger.api.v1.ArchivedEvent archived = 3[json_name = "archived"];
public EventOuterClass.Event.Builder setArchived(EventOuterClass.ArchivedEvent.Builder builderForValue)
.com.daml.ledger.api.v1.ArchivedEvent archived = 3[json_name = "archived"];
public EventOuterClass.Event.Builder mergeArchived(EventOuterClass.ArchivedEvent value)
.com.daml.ledger.api.v1.ArchivedEvent archived = 3[json_name = "archived"];
public EventOuterClass.Event.Builder clearArchived()
.com.daml.ledger.api.v1.ArchivedEvent archived = 3[json_name = "archived"];
public EventOuterClass.ArchivedEvent.Builder getArchivedBuilder()
.com.daml.ledger.api.v1.ArchivedEvent archived = 3[json_name = "archived"];
public EventOuterClass.ArchivedEventOrBuilder getArchivedOrBuilder()
.com.daml.ledger.api.v1.ArchivedEvent archived = 3[json_name = "archived"];
getArchivedOrBuilder
in interface EventOuterClass.EventOrBuilder
public final EventOuterClass.Event.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.Event.Builder>
public final EventOuterClass.Event.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.Event.Builder>