public static final class TimeServiceOuterClass.SetTimeRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TimeServiceOuterClass.SetTimeRequest.Builder> implements TimeServiceOuterClass.SetTimeRequestOrBuilder
com.daml.ledger.api.v1.testing.SetTimeRequest
Modifier and Type | Method and Description |
---|---|
TimeServiceOuterClass.SetTimeRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
TimeServiceOuterClass.SetTimeRequest |
build() |
TimeServiceOuterClass.SetTimeRequest |
buildPartial() |
TimeServiceOuterClass.SetTimeRequest.Builder |
clear() |
TimeServiceOuterClass.SetTimeRequest.Builder |
clearCurrentTime()
MUST precisely match the current time as it's known to the ledger server.
|
TimeServiceOuterClass.SetTimeRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TimeServiceOuterClass.SetTimeRequest.Builder |
clearLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service.
|
TimeServiceOuterClass.SetTimeRequest.Builder |
clearNewTime()
The time the client wants to set on the ledger.
|
TimeServiceOuterClass.SetTimeRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TimeServiceOuterClass.SetTimeRequest.Builder |
clone() |
com.google.protobuf.Timestamp |
getCurrentTime()
MUST precisely match the current time as it's known to the ledger server.
|
com.google.protobuf.Timestamp.Builder |
getCurrentTimeBuilder()
MUST precisely match the current time as it's known to the ledger server.
|
com.google.protobuf.TimestampOrBuilder |
getCurrentTimeOrBuilder()
MUST precisely match the current time as it's known to the ledger server.
|
TimeServiceOuterClass.SetTimeRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service.
|
com.google.protobuf.ByteString |
getLedgerIdBytes()
Must correspond to the ledger ID reported by the Ledger Identification Service.
|
com.google.protobuf.Timestamp |
getNewTime()
The time the client wants to set on the ledger.
|
com.google.protobuf.Timestamp.Builder |
getNewTimeBuilder()
The time the client wants to set on the ledger.
|
com.google.protobuf.TimestampOrBuilder |
getNewTimeOrBuilder()
The time the client wants to set on the ledger.
|
boolean |
hasCurrentTime()
MUST precisely match the current time as it's known to the ledger server.
|
boolean |
hasNewTime()
The time the client wants to set on the ledger.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TimeServiceOuterClass.SetTimeRequest.Builder |
mergeCurrentTime(com.google.protobuf.Timestamp value)
MUST precisely match the current time as it's known to the ledger server.
|
TimeServiceOuterClass.SetTimeRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TimeServiceOuterClass.SetTimeRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
TimeServiceOuterClass.SetTimeRequest.Builder |
mergeFrom(TimeServiceOuterClass.SetTimeRequest other) |
TimeServiceOuterClass.SetTimeRequest.Builder |
mergeNewTime(com.google.protobuf.Timestamp value)
The time the client wants to set on the ledger.
|
TimeServiceOuterClass.SetTimeRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TimeServiceOuterClass.SetTimeRequest.Builder |
setCurrentTime(com.google.protobuf.Timestamp.Builder builderForValue)
MUST precisely match the current time as it's known to the ledger server.
|
TimeServiceOuterClass.SetTimeRequest.Builder |
setCurrentTime(com.google.protobuf.Timestamp value)
MUST precisely match the current time as it's known to the ledger server.
|
TimeServiceOuterClass.SetTimeRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
TimeServiceOuterClass.SetTimeRequest.Builder |
setLedgerId(java.lang.String value)
Must correspond to the ledger ID reported by the Ledger Identification Service.
|
TimeServiceOuterClass.SetTimeRequest.Builder |
setLedgerIdBytes(com.google.protobuf.ByteString value)
Must correspond to the ledger ID reported by the Ledger Identification Service.
|
TimeServiceOuterClass.SetTimeRequest.Builder |
setNewTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time the client wants to set on the ledger.
|
TimeServiceOuterClass.SetTimeRequest.Builder |
setNewTime(com.google.protobuf.Timestamp value)
The time the client wants to set on the ledger.
|
TimeServiceOuterClass.SetTimeRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
TimeServiceOuterClass.SetTimeRequest.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<TimeServiceOuterClass.SetTimeRequest.Builder>
public TimeServiceOuterClass.SetTimeRequest.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<TimeServiceOuterClass.SetTimeRequest.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<TimeServiceOuterClass.SetTimeRequest.Builder>
public TimeServiceOuterClass.SetTimeRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public TimeServiceOuterClass.SetTimeRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public TimeServiceOuterClass.SetTimeRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public TimeServiceOuterClass.SetTimeRequest.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<TimeServiceOuterClass.SetTimeRequest.Builder>
public TimeServiceOuterClass.SetTimeRequest.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<TimeServiceOuterClass.SetTimeRequest.Builder>
public TimeServiceOuterClass.SetTimeRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<TimeServiceOuterClass.SetTimeRequest.Builder>
public TimeServiceOuterClass.SetTimeRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<TimeServiceOuterClass.SetTimeRequest.Builder>
public TimeServiceOuterClass.SetTimeRequest.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<TimeServiceOuterClass.SetTimeRequest.Builder>
public TimeServiceOuterClass.SetTimeRequest.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<TimeServiceOuterClass.SetTimeRequest.Builder>
public TimeServiceOuterClass.SetTimeRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TimeServiceOuterClass.SetTimeRequest.Builder>
public TimeServiceOuterClass.SetTimeRequest.Builder mergeFrom(TimeServiceOuterClass.SetTimeRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<TimeServiceOuterClass.SetTimeRequest.Builder>
public TimeServiceOuterClass.SetTimeRequest.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<TimeServiceOuterClass.SetTimeRequest.Builder>
java.io.IOException
public java.lang.String getLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as describe in ``value.proto``). Required
string ledger_id = 1[json_name = "ledgerId"];
getLedgerId
in interface TimeServiceOuterClass.SetTimeRequestOrBuilder
public com.google.protobuf.ByteString getLedgerIdBytes()
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as describe in ``value.proto``). Required
string ledger_id = 1[json_name = "ledgerId"];
getLedgerIdBytes
in interface TimeServiceOuterClass.SetTimeRequestOrBuilder
public TimeServiceOuterClass.SetTimeRequest.Builder setLedgerId(java.lang.String value)
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as describe in ``value.proto``). Required
string ledger_id = 1[json_name = "ledgerId"];
public TimeServiceOuterClass.SetTimeRequest.Builder clearLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as describe in ``value.proto``). Required
string ledger_id = 1[json_name = "ledgerId"];
public TimeServiceOuterClass.SetTimeRequest.Builder setLedgerIdBytes(com.google.protobuf.ByteString value)
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as describe in ``value.proto``). Required
string ledger_id = 1[json_name = "ledgerId"];
public boolean hasCurrentTime()
MUST precisely match the current time as it's known to the ledger server. On mismatch, an ``INVALID_PARAMETER`` gRPC error will be returned.
.google.protobuf.Timestamp current_time = 2[json_name = "currentTime"];
hasCurrentTime
in interface TimeServiceOuterClass.SetTimeRequestOrBuilder
public com.google.protobuf.Timestamp getCurrentTime()
MUST precisely match the current time as it's known to the ledger server. On mismatch, an ``INVALID_PARAMETER`` gRPC error will be returned.
.google.protobuf.Timestamp current_time = 2[json_name = "currentTime"];
getCurrentTime
in interface TimeServiceOuterClass.SetTimeRequestOrBuilder
public TimeServiceOuterClass.SetTimeRequest.Builder setCurrentTime(com.google.protobuf.Timestamp value)
MUST precisely match the current time as it's known to the ledger server. On mismatch, an ``INVALID_PARAMETER`` gRPC error will be returned.
.google.protobuf.Timestamp current_time = 2[json_name = "currentTime"];
public TimeServiceOuterClass.SetTimeRequest.Builder setCurrentTime(com.google.protobuf.Timestamp.Builder builderForValue)
MUST precisely match the current time as it's known to the ledger server. On mismatch, an ``INVALID_PARAMETER`` gRPC error will be returned.
.google.protobuf.Timestamp current_time = 2[json_name = "currentTime"];
public TimeServiceOuterClass.SetTimeRequest.Builder mergeCurrentTime(com.google.protobuf.Timestamp value)
MUST precisely match the current time as it's known to the ledger server. On mismatch, an ``INVALID_PARAMETER`` gRPC error will be returned.
.google.protobuf.Timestamp current_time = 2[json_name = "currentTime"];
public TimeServiceOuterClass.SetTimeRequest.Builder clearCurrentTime()
MUST precisely match the current time as it's known to the ledger server. On mismatch, an ``INVALID_PARAMETER`` gRPC error will be returned.
.google.protobuf.Timestamp current_time = 2[json_name = "currentTime"];
public com.google.protobuf.Timestamp.Builder getCurrentTimeBuilder()
MUST precisely match the current time as it's known to the ledger server. On mismatch, an ``INVALID_PARAMETER`` gRPC error will be returned.
.google.protobuf.Timestamp current_time = 2[json_name = "currentTime"];
public com.google.protobuf.TimestampOrBuilder getCurrentTimeOrBuilder()
MUST precisely match the current time as it's known to the ledger server. On mismatch, an ``INVALID_PARAMETER`` gRPC error will be returned.
.google.protobuf.Timestamp current_time = 2[json_name = "currentTime"];
getCurrentTimeOrBuilder
in interface TimeServiceOuterClass.SetTimeRequestOrBuilder
public boolean hasNewTime()
The time the client wants to set on the ledger. MUST be a point int time after ``current_time``.
.google.protobuf.Timestamp new_time = 3[json_name = "newTime"];
hasNewTime
in interface TimeServiceOuterClass.SetTimeRequestOrBuilder
public com.google.protobuf.Timestamp getNewTime()
The time the client wants to set on the ledger. MUST be a point int time after ``current_time``.
.google.protobuf.Timestamp new_time = 3[json_name = "newTime"];
getNewTime
in interface TimeServiceOuterClass.SetTimeRequestOrBuilder
public TimeServiceOuterClass.SetTimeRequest.Builder setNewTime(com.google.protobuf.Timestamp value)
The time the client wants to set on the ledger. MUST be a point int time after ``current_time``.
.google.protobuf.Timestamp new_time = 3[json_name = "newTime"];
public TimeServiceOuterClass.SetTimeRequest.Builder setNewTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time the client wants to set on the ledger. MUST be a point int time after ``current_time``.
.google.protobuf.Timestamp new_time = 3[json_name = "newTime"];
public TimeServiceOuterClass.SetTimeRequest.Builder mergeNewTime(com.google.protobuf.Timestamp value)
The time the client wants to set on the ledger. MUST be a point int time after ``current_time``.
.google.protobuf.Timestamp new_time = 3[json_name = "newTime"];
public TimeServiceOuterClass.SetTimeRequest.Builder clearNewTime()
The time the client wants to set on the ledger. MUST be a point int time after ``current_time``.
.google.protobuf.Timestamp new_time = 3[json_name = "newTime"];
public com.google.protobuf.Timestamp.Builder getNewTimeBuilder()
The time the client wants to set on the ledger. MUST be a point int time after ``current_time``.
.google.protobuf.Timestamp new_time = 3[json_name = "newTime"];
public com.google.protobuf.TimestampOrBuilder getNewTimeOrBuilder()
The time the client wants to set on the ledger. MUST be a point int time after ``current_time``.
.google.protobuf.Timestamp new_time = 3[json_name = "newTime"];
getNewTimeOrBuilder
in interface TimeServiceOuterClass.SetTimeRequestOrBuilder
public final TimeServiceOuterClass.SetTimeRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<TimeServiceOuterClass.SetTimeRequest.Builder>
public final TimeServiceOuterClass.SetTimeRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<TimeServiceOuterClass.SetTimeRequest.Builder>