Package com.daml.ledger.api.v1
Class EventOuterClass.Event.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.Event.Builder>
-
- com.daml.ledger.api.v1.EventOuterClass.Event.Builder
-
- All Implemented Interfaces:
EventOuterClass.EventOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- EventOuterClass.Event
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 typecom.daml.ledger.api.v1.Event
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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(EventOuterClass.Event other)
EventOuterClass.Event.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
EventOuterClass.Event.Builder
mergeFrom(com.google.protobuf.Message other)
EventOuterClass.Event.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
EventOuterClass.Event.Builder
setArchived(EventOuterClass.ArchivedEvent value)
.com.daml.ledger.api.v1.ArchivedEvent archived = 3 [json_name = "archived"];
EventOuterClass.Event.Builder
setArchived(EventOuterClass.ArchivedEvent.Builder builderForValue)
.com.daml.ledger.api.v1.ArchivedEvent archived = 3 [json_name = "archived"];
EventOuterClass.Event.Builder
setCreated(EventOuterClass.CreatedEvent value)
.com.daml.ledger.api.v1.CreatedEvent created = 1 [json_name = "created"];
EventOuterClass.Event.Builder
setCreated(EventOuterClass.CreatedEvent.Builder builderForValue)
.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)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.Event.Builder>
-
clear
public EventOuterClass.Event.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.Event.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.Event.Builder>
-
getDefaultInstanceForType
public EventOuterClass.Event getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public EventOuterClass.Event build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public EventOuterClass.Event buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public EventOuterClass.Event.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.Event.Builder>
-
setField
public EventOuterClass.Event.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.Event.Builder>
-
clearField
public EventOuterClass.Event.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.Event.Builder>
-
clearOneof
public EventOuterClass.Event.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.Event.Builder>
-
setRepeatedField
public EventOuterClass.Event.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.Event.Builder>
-
addRepeatedField
public EventOuterClass.Event.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.Event.Builder>
-
mergeFrom
public EventOuterClass.Event.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<EventOuterClass.Event.Builder>
-
mergeFrom
public EventOuterClass.Event.Builder mergeFrom(EventOuterClass.Event other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.Event.Builder>
-
mergeFrom
public EventOuterClass.Event.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<EventOuterClass.Event.Builder>
- Throws:
java.io.IOException
-
getEventCase
public EventOuterClass.Event.EventCase getEventCase()
- Specified by:
getEventCase
in interfaceEventOuterClass.EventOrBuilder
-
clearEvent
public EventOuterClass.Event.Builder clearEvent()
-
hasCreated
public boolean hasCreated()
.com.daml.ledger.api.v1.CreatedEvent created = 1 [json_name = "created"];
- Specified by:
hasCreated
in interfaceEventOuterClass.EventOrBuilder
- Returns:
- Whether the created field is set.
-
getCreated
public EventOuterClass.CreatedEvent getCreated()
.com.daml.ledger.api.v1.CreatedEvent created = 1 [json_name = "created"];
- Specified by:
getCreated
in interfaceEventOuterClass.EventOrBuilder
- Returns:
- The created.
-
setCreated
public EventOuterClass.Event.Builder setCreated(EventOuterClass.CreatedEvent value)
.com.daml.ledger.api.v1.CreatedEvent created = 1 [json_name = "created"];
-
setCreated
public EventOuterClass.Event.Builder setCreated(EventOuterClass.CreatedEvent.Builder builderForValue)
.com.daml.ledger.api.v1.CreatedEvent created = 1 [json_name = "created"];
-
mergeCreated
public EventOuterClass.Event.Builder mergeCreated(EventOuterClass.CreatedEvent value)
.com.daml.ledger.api.v1.CreatedEvent created = 1 [json_name = "created"];
-
clearCreated
public EventOuterClass.Event.Builder clearCreated()
.com.daml.ledger.api.v1.CreatedEvent created = 1 [json_name = "created"];
-
getCreatedBuilder
public EventOuterClass.CreatedEvent.Builder getCreatedBuilder()
.com.daml.ledger.api.v1.CreatedEvent created = 1 [json_name = "created"];
-
getCreatedOrBuilder
public EventOuterClass.CreatedEventOrBuilder getCreatedOrBuilder()
.com.daml.ledger.api.v1.CreatedEvent created = 1 [json_name = "created"];
- Specified by:
getCreatedOrBuilder
in interfaceEventOuterClass.EventOrBuilder
-
hasArchived
public boolean hasArchived()
.com.daml.ledger.api.v1.ArchivedEvent archived = 3 [json_name = "archived"];
- Specified by:
hasArchived
in interfaceEventOuterClass.EventOrBuilder
- Returns:
- Whether the archived field is set.
-
getArchived
public EventOuterClass.ArchivedEvent getArchived()
.com.daml.ledger.api.v1.ArchivedEvent archived = 3 [json_name = "archived"];
- Specified by:
getArchived
in interfaceEventOuterClass.EventOrBuilder
- Returns:
- The archived.
-
setArchived
public EventOuterClass.Event.Builder setArchived(EventOuterClass.ArchivedEvent value)
.com.daml.ledger.api.v1.ArchivedEvent archived = 3 [json_name = "archived"];
-
setArchived
public EventOuterClass.Event.Builder setArchived(EventOuterClass.ArchivedEvent.Builder builderForValue)
.com.daml.ledger.api.v1.ArchivedEvent archived = 3 [json_name = "archived"];
-
mergeArchived
public EventOuterClass.Event.Builder mergeArchived(EventOuterClass.ArchivedEvent value)
.com.daml.ledger.api.v1.ArchivedEvent archived = 3 [json_name = "archived"];
-
clearArchived
public EventOuterClass.Event.Builder clearArchived()
.com.daml.ledger.api.v1.ArchivedEvent archived = 3 [json_name = "archived"];
-
getArchivedBuilder
public EventOuterClass.ArchivedEvent.Builder getArchivedBuilder()
.com.daml.ledger.api.v1.ArchivedEvent archived = 3 [json_name = "archived"];
-
getArchivedOrBuilder
public EventOuterClass.ArchivedEventOrBuilder getArchivedOrBuilder()
.com.daml.ledger.api.v1.ArchivedEvent archived = 3 [json_name = "archived"];
- Specified by:
getArchivedOrBuilder
in interfaceEventOuterClass.EventOrBuilder
-
setUnknownFields
public final EventOuterClass.Event.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.Event.Builder>
-
mergeUnknownFields
public final EventOuterClass.Event.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.Event.Builder>
-
-