Package com.daml.ledger.api.v1
Class CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder>
-
- com.daml.ledger.api.v1.CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder
-
- All Implemented Interfaces:
CommandCompletionServiceOuterClass.CompletionStreamResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- CommandCompletionServiceOuterClass.CompletionStreamResponse
public static final class CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder> implements CommandCompletionServiceOuterClass.CompletionStreamResponseOrBuilder
Protobuf typecom.daml.ledger.api.v1.CompletionStreamResponse
-
-
Method Summary
-
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<CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder>
-
clear
public CommandCompletionServiceOuterClass.CompletionStreamResponse.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<CommandCompletionServiceOuterClass.CompletionStreamResponse.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<CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder>
-
getDefaultInstanceForType
public CommandCompletionServiceOuterClass.CompletionStreamResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CommandCompletionServiceOuterClass.CompletionStreamResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CommandCompletionServiceOuterClass.CompletionStreamResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CommandCompletionServiceOuterClass.CompletionStreamResponse.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<CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder>
-
setField
public CommandCompletionServiceOuterClass.CompletionStreamResponse.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<CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder>
-
clearField
public CommandCompletionServiceOuterClass.CompletionStreamResponse.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<CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder>
-
clearOneof
public CommandCompletionServiceOuterClass.CompletionStreamResponse.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<CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder>
-
setRepeatedField
public CommandCompletionServiceOuterClass.CompletionStreamResponse.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<CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder>
-
addRepeatedField
public CommandCompletionServiceOuterClass.CompletionStreamResponse.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<CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder>
-
mergeFrom
public CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder>
-
mergeFrom
public CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder mergeFrom(CommandCompletionServiceOuterClass.CompletionStreamResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder>
-
mergeFrom
public CommandCompletionServiceOuterClass.CompletionStreamResponse.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<CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder>
- Throws:
java.io.IOException
-
hasCheckpoint
public boolean hasCheckpoint()
This checkpoint may be used to restart consumption. The checkpoint is after any completions in this response. Optional
.com.daml.ledger.api.v1.Checkpoint checkpoint = 1 [json_name = "checkpoint"];
- Specified by:
hasCheckpoint
in interfaceCommandCompletionServiceOuterClass.CompletionStreamResponseOrBuilder
- Returns:
- Whether the checkpoint field is set.
-
getCheckpoint
public CommandCompletionServiceOuterClass.Checkpoint getCheckpoint()
This checkpoint may be used to restart consumption. The checkpoint is after any completions in this response. Optional
.com.daml.ledger.api.v1.Checkpoint checkpoint = 1 [json_name = "checkpoint"];
- Specified by:
getCheckpoint
in interfaceCommandCompletionServiceOuterClass.CompletionStreamResponseOrBuilder
- Returns:
- The checkpoint.
-
setCheckpoint
public CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder setCheckpoint(CommandCompletionServiceOuterClass.Checkpoint value)
This checkpoint may be used to restart consumption. The checkpoint is after any completions in this response. Optional
.com.daml.ledger.api.v1.Checkpoint checkpoint = 1 [json_name = "checkpoint"];
-
setCheckpoint
public CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder setCheckpoint(CommandCompletionServiceOuterClass.Checkpoint.Builder builderForValue)
This checkpoint may be used to restart consumption. The checkpoint is after any completions in this response. Optional
.com.daml.ledger.api.v1.Checkpoint checkpoint = 1 [json_name = "checkpoint"];
-
mergeCheckpoint
public CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder mergeCheckpoint(CommandCompletionServiceOuterClass.Checkpoint value)
This checkpoint may be used to restart consumption. The checkpoint is after any completions in this response. Optional
.com.daml.ledger.api.v1.Checkpoint checkpoint = 1 [json_name = "checkpoint"];
-
clearCheckpoint
public CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder clearCheckpoint()
This checkpoint may be used to restart consumption. The checkpoint is after any completions in this response. Optional
.com.daml.ledger.api.v1.Checkpoint checkpoint = 1 [json_name = "checkpoint"];
-
getCheckpointBuilder
public CommandCompletionServiceOuterClass.Checkpoint.Builder getCheckpointBuilder()
This checkpoint may be used to restart consumption. The checkpoint is after any completions in this response. Optional
.com.daml.ledger.api.v1.Checkpoint checkpoint = 1 [json_name = "checkpoint"];
-
getCheckpointOrBuilder
public CommandCompletionServiceOuterClass.CheckpointOrBuilder getCheckpointOrBuilder()
This checkpoint may be used to restart consumption. The checkpoint is after any completions in this response. Optional
.com.daml.ledger.api.v1.Checkpoint checkpoint = 1 [json_name = "checkpoint"];
- Specified by:
getCheckpointOrBuilder
in interfaceCommandCompletionServiceOuterClass.CompletionStreamResponseOrBuilder
-
getCompletionsList
public java.util.List<CompletionOuterClass.Completion> getCompletionsList()
If set, one or more completions.
repeated .com.daml.ledger.api.v1.Completion completions = 2 [json_name = "completions"];
- Specified by:
getCompletionsList
in interfaceCommandCompletionServiceOuterClass.CompletionStreamResponseOrBuilder
-
getCompletionsCount
public int getCompletionsCount()
If set, one or more completions.
repeated .com.daml.ledger.api.v1.Completion completions = 2 [json_name = "completions"];
- Specified by:
getCompletionsCount
in interfaceCommandCompletionServiceOuterClass.CompletionStreamResponseOrBuilder
-
getCompletions
public CompletionOuterClass.Completion getCompletions(int index)
If set, one or more completions.
repeated .com.daml.ledger.api.v1.Completion completions = 2 [json_name = "completions"];
- Specified by:
getCompletions
in interfaceCommandCompletionServiceOuterClass.CompletionStreamResponseOrBuilder
-
setCompletions
public CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder setCompletions(int index, CompletionOuterClass.Completion value)
If set, one or more completions.
repeated .com.daml.ledger.api.v1.Completion completions = 2 [json_name = "completions"];
-
setCompletions
public CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder setCompletions(int index, CompletionOuterClass.Completion.Builder builderForValue)
If set, one or more completions.
repeated .com.daml.ledger.api.v1.Completion completions = 2 [json_name = "completions"];
-
addCompletions
public CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder addCompletions(CompletionOuterClass.Completion value)
If set, one or more completions.
repeated .com.daml.ledger.api.v1.Completion completions = 2 [json_name = "completions"];
-
addCompletions
public CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder addCompletions(int index, CompletionOuterClass.Completion value)
If set, one or more completions.
repeated .com.daml.ledger.api.v1.Completion completions = 2 [json_name = "completions"];
-
addCompletions
public CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder addCompletions(CompletionOuterClass.Completion.Builder builderForValue)
If set, one or more completions.
repeated .com.daml.ledger.api.v1.Completion completions = 2 [json_name = "completions"];
-
addCompletions
public CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder addCompletions(int index, CompletionOuterClass.Completion.Builder builderForValue)
If set, one or more completions.
repeated .com.daml.ledger.api.v1.Completion completions = 2 [json_name = "completions"];
-
addAllCompletions
public CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder addAllCompletions(java.lang.Iterable<? extends CompletionOuterClass.Completion> values)
If set, one or more completions.
repeated .com.daml.ledger.api.v1.Completion completions = 2 [json_name = "completions"];
-
clearCompletions
public CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder clearCompletions()
If set, one or more completions.
repeated .com.daml.ledger.api.v1.Completion completions = 2 [json_name = "completions"];
-
removeCompletions
public CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder removeCompletions(int index)
If set, one or more completions.
repeated .com.daml.ledger.api.v1.Completion completions = 2 [json_name = "completions"];
-
getCompletionsBuilder
public CompletionOuterClass.Completion.Builder getCompletionsBuilder(int index)
If set, one or more completions.
repeated .com.daml.ledger.api.v1.Completion completions = 2 [json_name = "completions"];
-
getCompletionsOrBuilder
public CompletionOuterClass.CompletionOrBuilder getCompletionsOrBuilder(int index)
If set, one or more completions.
repeated .com.daml.ledger.api.v1.Completion completions = 2 [json_name = "completions"];
- Specified by:
getCompletionsOrBuilder
in interfaceCommandCompletionServiceOuterClass.CompletionStreamResponseOrBuilder
-
getCompletionsOrBuilderList
public java.util.List<? extends CompletionOuterClass.CompletionOrBuilder> getCompletionsOrBuilderList()
If set, one or more completions.
repeated .com.daml.ledger.api.v1.Completion completions = 2 [json_name = "completions"];
- Specified by:
getCompletionsOrBuilderList
in interfaceCommandCompletionServiceOuterClass.CompletionStreamResponseOrBuilder
-
addCompletionsBuilder
public CompletionOuterClass.Completion.Builder addCompletionsBuilder()
If set, one or more completions.
repeated .com.daml.ledger.api.v1.Completion completions = 2 [json_name = "completions"];
-
addCompletionsBuilder
public CompletionOuterClass.Completion.Builder addCompletionsBuilder(int index)
If set, one or more completions.
repeated .com.daml.ledger.api.v1.Completion completions = 2 [json_name = "completions"];
-
getCompletionsBuilderList
public java.util.List<CompletionOuterClass.Completion.Builder> getCompletionsBuilderList()
If set, one or more completions.
repeated .com.daml.ledger.api.v1.Completion completions = 2 [json_name = "completions"];
-
setUnknownFields
public final CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder>
-
mergeUnknownFields
public final CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamResponse.Builder>
-
-