Package com.daml.ledger.api.v1
Class EventOuterClass.InterfaceView.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.InterfaceView.Builder>
-
- com.daml.ledger.api.v1.EventOuterClass.InterfaceView.Builder
-
- All Implemented Interfaces:
EventOuterClass.InterfaceViewOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- EventOuterClass.InterfaceView
public static final class EventOuterClass.InterfaceView.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.InterfaceView.Builder> implements EventOuterClass.InterfaceViewOrBuilder
View of a create event matched by an interface filter.
Protobuf typecom.daml.ledger.api.v1.InterfaceView
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EventOuterClass.InterfaceView.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
EventOuterClass.InterfaceView
build()
EventOuterClass.InterfaceView
buildPartial()
EventOuterClass.InterfaceView.Builder
clear()
EventOuterClass.InterfaceView.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
EventOuterClass.InterfaceView.Builder
clearInterfaceId()
The interface implemented by the matched event.EventOuterClass.InterfaceView.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
EventOuterClass.InterfaceView.Builder
clearViewStatus()
Whether the view was successfully computed, and if not, the reason for the error.EventOuterClass.InterfaceView.Builder
clearViewValue()
The value of the interface's view method on this event.EventOuterClass.InterfaceView.Builder
clone()
EventOuterClass.InterfaceView
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
ValueOuterClass.Identifier
getInterfaceId()
The interface implemented by the matched event.ValueOuterClass.Identifier.Builder
getInterfaceIdBuilder()
The interface implemented by the matched event.ValueOuterClass.IdentifierOrBuilder
getInterfaceIdOrBuilder()
The interface implemented by the matched event.com.google.rpc.Status
getViewStatus()
Whether the view was successfully computed, and if not, the reason for the error.com.google.rpc.Status.Builder
getViewStatusBuilder()
Whether the view was successfully computed, and if not, the reason for the error.com.google.rpc.StatusOrBuilder
getViewStatusOrBuilder()
Whether the view was successfully computed, and if not, the reason for the error.ValueOuterClass.Record
getViewValue()
The value of the interface's view method on this event.ValueOuterClass.Record.Builder
getViewValueBuilder()
The value of the interface's view method on this event.ValueOuterClass.RecordOrBuilder
getViewValueOrBuilder()
The value of the interface's view method on this event.boolean
hasInterfaceId()
The interface implemented by the matched event.boolean
hasViewStatus()
Whether the view was successfully computed, and if not, the reason for the error.boolean
hasViewValue()
The value of the interface's view method on this event.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
EventOuterClass.InterfaceView.Builder
mergeFrom(EventOuterClass.InterfaceView other)
EventOuterClass.InterfaceView.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
EventOuterClass.InterfaceView.Builder
mergeFrom(com.google.protobuf.Message other)
EventOuterClass.InterfaceView.Builder
mergeInterfaceId(ValueOuterClass.Identifier value)
The interface implemented by the matched event.EventOuterClass.InterfaceView.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
EventOuterClass.InterfaceView.Builder
mergeViewStatus(com.google.rpc.Status value)
Whether the view was successfully computed, and if not, the reason for the error.EventOuterClass.InterfaceView.Builder
mergeViewValue(ValueOuterClass.Record value)
The value of the interface's view method on this event.EventOuterClass.InterfaceView.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
EventOuterClass.InterfaceView.Builder
setInterfaceId(ValueOuterClass.Identifier value)
The interface implemented by the matched event.EventOuterClass.InterfaceView.Builder
setInterfaceId(ValueOuterClass.Identifier.Builder builderForValue)
The interface implemented by the matched event.EventOuterClass.InterfaceView.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
EventOuterClass.InterfaceView.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
EventOuterClass.InterfaceView.Builder
setViewStatus(com.google.rpc.Status value)
Whether the view was successfully computed, and if not, the reason for the error.EventOuterClass.InterfaceView.Builder
setViewStatus(com.google.rpc.Status.Builder builderForValue)
Whether the view was successfully computed, and if not, the reason for the error.EventOuterClass.InterfaceView.Builder
setViewValue(ValueOuterClass.Record value)
The value of the interface's view method on this event.EventOuterClass.InterfaceView.Builder
setViewValue(ValueOuterClass.Record.Builder builderForValue)
The value of the interface's view method on this event.-
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.InterfaceView.Builder>
-
clear
public EventOuterClass.InterfaceView.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.InterfaceView.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.InterfaceView.Builder>
-
getDefaultInstanceForType
public EventOuterClass.InterfaceView getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public EventOuterClass.InterfaceView build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public EventOuterClass.InterfaceView buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public EventOuterClass.InterfaceView.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.InterfaceView.Builder>
-
setField
public EventOuterClass.InterfaceView.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.InterfaceView.Builder>
-
clearField
public EventOuterClass.InterfaceView.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.InterfaceView.Builder>
-
clearOneof
public EventOuterClass.InterfaceView.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.InterfaceView.Builder>
-
setRepeatedField
public EventOuterClass.InterfaceView.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.InterfaceView.Builder>
-
addRepeatedField
public EventOuterClass.InterfaceView.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.InterfaceView.Builder>
-
mergeFrom
public EventOuterClass.InterfaceView.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.InterfaceView.Builder>
-
mergeFrom
public EventOuterClass.InterfaceView.Builder mergeFrom(EventOuterClass.InterfaceView other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.InterfaceView.Builder>
-
mergeFrom
public EventOuterClass.InterfaceView.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.InterfaceView.Builder>
- Throws:
java.io.IOException
-
hasInterfaceId
public boolean hasInterfaceId()
The interface implemented by the matched event. Required
.com.daml.ledger.api.v1.Identifier interface_id = 1 [json_name = "interfaceId"];
- Specified by:
hasInterfaceId
in interfaceEventOuterClass.InterfaceViewOrBuilder
- Returns:
- Whether the interfaceId field is set.
-
getInterfaceId
public ValueOuterClass.Identifier getInterfaceId()
The interface implemented by the matched event. Required
.com.daml.ledger.api.v1.Identifier interface_id = 1 [json_name = "interfaceId"];
- Specified by:
getInterfaceId
in interfaceEventOuterClass.InterfaceViewOrBuilder
- Returns:
- The interfaceId.
-
setInterfaceId
public EventOuterClass.InterfaceView.Builder setInterfaceId(ValueOuterClass.Identifier value)
The interface implemented by the matched event. Required
.com.daml.ledger.api.v1.Identifier interface_id = 1 [json_name = "interfaceId"];
-
setInterfaceId
public EventOuterClass.InterfaceView.Builder setInterfaceId(ValueOuterClass.Identifier.Builder builderForValue)
The interface implemented by the matched event. Required
.com.daml.ledger.api.v1.Identifier interface_id = 1 [json_name = "interfaceId"];
-
mergeInterfaceId
public EventOuterClass.InterfaceView.Builder mergeInterfaceId(ValueOuterClass.Identifier value)
The interface implemented by the matched event. Required
.com.daml.ledger.api.v1.Identifier interface_id = 1 [json_name = "interfaceId"];
-
clearInterfaceId
public EventOuterClass.InterfaceView.Builder clearInterfaceId()
The interface implemented by the matched event. Required
.com.daml.ledger.api.v1.Identifier interface_id = 1 [json_name = "interfaceId"];
-
getInterfaceIdBuilder
public ValueOuterClass.Identifier.Builder getInterfaceIdBuilder()
The interface implemented by the matched event. Required
.com.daml.ledger.api.v1.Identifier interface_id = 1 [json_name = "interfaceId"];
-
getInterfaceIdOrBuilder
public ValueOuterClass.IdentifierOrBuilder getInterfaceIdOrBuilder()
The interface implemented by the matched event. Required
.com.daml.ledger.api.v1.Identifier interface_id = 1 [json_name = "interfaceId"];
- Specified by:
getInterfaceIdOrBuilder
in interfaceEventOuterClass.InterfaceViewOrBuilder
-
hasViewStatus
public boolean hasViewStatus()
Whether the view was successfully computed, and if not, the reason for the error. The error is reported using the same rules for error codes and messages as the errors returned for API requests. Required
.google.rpc.Status view_status = 2 [json_name = "viewStatus"];
- Specified by:
hasViewStatus
in interfaceEventOuterClass.InterfaceViewOrBuilder
- Returns:
- Whether the viewStatus field is set.
-
getViewStatus
public com.google.rpc.Status getViewStatus()
Whether the view was successfully computed, and if not, the reason for the error. The error is reported using the same rules for error codes and messages as the errors returned for API requests. Required
.google.rpc.Status view_status = 2 [json_name = "viewStatus"];
- Specified by:
getViewStatus
in interfaceEventOuterClass.InterfaceViewOrBuilder
- Returns:
- The viewStatus.
-
setViewStatus
public EventOuterClass.InterfaceView.Builder setViewStatus(com.google.rpc.Status value)
Whether the view was successfully computed, and if not, the reason for the error. The error is reported using the same rules for error codes and messages as the errors returned for API requests. Required
.google.rpc.Status view_status = 2 [json_name = "viewStatus"];
-
setViewStatus
public EventOuterClass.InterfaceView.Builder setViewStatus(com.google.rpc.Status.Builder builderForValue)
Whether the view was successfully computed, and if not, the reason for the error. The error is reported using the same rules for error codes and messages as the errors returned for API requests. Required
.google.rpc.Status view_status = 2 [json_name = "viewStatus"];
-
mergeViewStatus
public EventOuterClass.InterfaceView.Builder mergeViewStatus(com.google.rpc.Status value)
Whether the view was successfully computed, and if not, the reason for the error. The error is reported using the same rules for error codes and messages as the errors returned for API requests. Required
.google.rpc.Status view_status = 2 [json_name = "viewStatus"];
-
clearViewStatus
public EventOuterClass.InterfaceView.Builder clearViewStatus()
Whether the view was successfully computed, and if not, the reason for the error. The error is reported using the same rules for error codes and messages as the errors returned for API requests. Required
.google.rpc.Status view_status = 2 [json_name = "viewStatus"];
-
getViewStatusBuilder
public com.google.rpc.Status.Builder getViewStatusBuilder()
Whether the view was successfully computed, and if not, the reason for the error. The error is reported using the same rules for error codes and messages as the errors returned for API requests. Required
.google.rpc.Status view_status = 2 [json_name = "viewStatus"];
-
getViewStatusOrBuilder
public com.google.rpc.StatusOrBuilder getViewStatusOrBuilder()
Whether the view was successfully computed, and if not, the reason for the error. The error is reported using the same rules for error codes and messages as the errors returned for API requests. Required
.google.rpc.Status view_status = 2 [json_name = "viewStatus"];
- Specified by:
getViewStatusOrBuilder
in interfaceEventOuterClass.InterfaceViewOrBuilder
-
hasViewValue
public boolean hasViewValue()
The value of the interface's view method on this event. Set if it was requested in the ``InterfaceFilter`` and it could be sucessfully computed. Optional
.com.daml.ledger.api.v1.Record view_value = 3 [json_name = "viewValue"];
- Specified by:
hasViewValue
in interfaceEventOuterClass.InterfaceViewOrBuilder
- Returns:
- Whether the viewValue field is set.
-
getViewValue
public ValueOuterClass.Record getViewValue()
The value of the interface's view method on this event. Set if it was requested in the ``InterfaceFilter`` and it could be sucessfully computed. Optional
.com.daml.ledger.api.v1.Record view_value = 3 [json_name = "viewValue"];
- Specified by:
getViewValue
in interfaceEventOuterClass.InterfaceViewOrBuilder
- Returns:
- The viewValue.
-
setViewValue
public EventOuterClass.InterfaceView.Builder setViewValue(ValueOuterClass.Record value)
The value of the interface's view method on this event. Set if it was requested in the ``InterfaceFilter`` and it could be sucessfully computed. Optional
.com.daml.ledger.api.v1.Record view_value = 3 [json_name = "viewValue"];
-
setViewValue
public EventOuterClass.InterfaceView.Builder setViewValue(ValueOuterClass.Record.Builder builderForValue)
The value of the interface's view method on this event. Set if it was requested in the ``InterfaceFilter`` and it could be sucessfully computed. Optional
.com.daml.ledger.api.v1.Record view_value = 3 [json_name = "viewValue"];
-
mergeViewValue
public EventOuterClass.InterfaceView.Builder mergeViewValue(ValueOuterClass.Record value)
The value of the interface's view method on this event. Set if it was requested in the ``InterfaceFilter`` and it could be sucessfully computed. Optional
.com.daml.ledger.api.v1.Record view_value = 3 [json_name = "viewValue"];
-
clearViewValue
public EventOuterClass.InterfaceView.Builder clearViewValue()
The value of the interface's view method on this event. Set if it was requested in the ``InterfaceFilter`` and it could be sucessfully computed. Optional
.com.daml.ledger.api.v1.Record view_value = 3 [json_name = "viewValue"];
-
getViewValueBuilder
public ValueOuterClass.Record.Builder getViewValueBuilder()
The value of the interface's view method on this event. Set if it was requested in the ``InterfaceFilter`` and it could be sucessfully computed. Optional
.com.daml.ledger.api.v1.Record view_value = 3 [json_name = "viewValue"];
-
getViewValueOrBuilder
public ValueOuterClass.RecordOrBuilder getViewValueOrBuilder()
The value of the interface's view method on this event. Set if it was requested in the ``InterfaceFilter`` and it could be sucessfully computed. Optional
.com.daml.ledger.api.v1.Record view_value = 3 [json_name = "viewValue"];
- Specified by:
getViewValueOrBuilder
in interfaceEventOuterClass.InterfaceViewOrBuilder
-
setUnknownFields
public final EventOuterClass.InterfaceView.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.InterfaceView.Builder>
-
mergeUnknownFields
public final EventOuterClass.InterfaceView.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.InterfaceView.Builder>
-
-