Package com.daml.ledger.api.v1.testing
Class TimeServiceOuterClass.SetTimeRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TimeServiceOuterClass.SetTimeRequest.Builder>
-
- com.daml.ledger.api.v1.testing.TimeServiceOuterClass.SetTimeRequest.Builder
-
- All Implemented Interfaces:
TimeServiceOuterClass.SetTimeRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- TimeServiceOuterClass.SetTimeRequest
public static final class TimeServiceOuterClass.SetTimeRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TimeServiceOuterClass.SetTimeRequest.Builder> implements TimeServiceOuterClass.SetTimeRequestOrBuilder
Protobuf typecom.daml.ledger.api.v1.testing.SetTimeRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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(TimeServiceOuterClass.SetTimeRequest other)
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
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 value)
MUST precisely match the current time as it's known to the ledger server.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
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 value)
The time the client wants to set on the ledger.TimeServiceOuterClass.SetTimeRequest.Builder
setNewTime(com.google.protobuf.Timestamp.Builder builderForValue)
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)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, 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<TimeServiceOuterClass.SetTimeRequest.Builder>
-
clear
public TimeServiceOuterClass.SetTimeRequest.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<TimeServiceOuterClass.SetTimeRequest.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<TimeServiceOuterClass.SetTimeRequest.Builder>
-
getDefaultInstanceForType
public TimeServiceOuterClass.SetTimeRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TimeServiceOuterClass.SetTimeRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TimeServiceOuterClass.SetTimeRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TimeServiceOuterClass.SetTimeRequest.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<TimeServiceOuterClass.SetTimeRequest.Builder>
-
setField
public TimeServiceOuterClass.SetTimeRequest.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<TimeServiceOuterClass.SetTimeRequest.Builder>
-
clearField
public TimeServiceOuterClass.SetTimeRequest.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<TimeServiceOuterClass.SetTimeRequest.Builder>
-
clearOneof
public TimeServiceOuterClass.SetTimeRequest.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<TimeServiceOuterClass.SetTimeRequest.Builder>
-
setRepeatedField
public TimeServiceOuterClass.SetTimeRequest.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<TimeServiceOuterClass.SetTimeRequest.Builder>
-
addRepeatedField
public TimeServiceOuterClass.SetTimeRequest.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<TimeServiceOuterClass.SetTimeRequest.Builder>
-
mergeFrom
public TimeServiceOuterClass.SetTimeRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TimeServiceOuterClass.SetTimeRequest.Builder>
-
mergeFrom
public TimeServiceOuterClass.SetTimeRequest.Builder mergeFrom(TimeServiceOuterClass.SetTimeRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TimeServiceOuterClass.SetTimeRequest.Builder>
-
mergeFrom
public TimeServiceOuterClass.SetTimeRequest.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<TimeServiceOuterClass.SetTimeRequest.Builder>
- Throws:
java.io.IOException
-
getLedgerId
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``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Specified by:
getLedgerId
in interfaceTimeServiceOuterClass.SetTimeRequestOrBuilder
- Returns:
- The ledgerId.
-
getLedgerIdBytes
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``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Specified by:
getLedgerIdBytes
in interfaceTimeServiceOuterClass.SetTimeRequestOrBuilder
- Returns:
- The bytes for ledgerId.
-
setLedgerId
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``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Parameters:
value
- The ledgerId to set.- Returns:
- This builder for chaining.
-
clearLedgerId
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``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Returns:
- This builder for chaining.
-
setLedgerIdBytes
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``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Parameters:
value
- The bytes for ledgerId to set.- Returns:
- This builder for chaining.
-
hasCurrentTime
public boolean hasCurrentTime()
MUST precisely match the current time as it's known to the ledger server.
.google.protobuf.Timestamp current_time = 2 [json_name = "currentTime"];
- Specified by:
hasCurrentTime
in interfaceTimeServiceOuterClass.SetTimeRequestOrBuilder
- Returns:
- Whether the currentTime field is set.
-
getCurrentTime
public com.google.protobuf.Timestamp getCurrentTime()
MUST precisely match the current time as it's known to the ledger server.
.google.protobuf.Timestamp current_time = 2 [json_name = "currentTime"];
- Specified by:
getCurrentTime
in interfaceTimeServiceOuterClass.SetTimeRequestOrBuilder
- Returns:
- The currentTime.
-
setCurrentTime
public TimeServiceOuterClass.SetTimeRequest.Builder setCurrentTime(com.google.protobuf.Timestamp value)
MUST precisely match the current time as it's known to the ledger server.
.google.protobuf.Timestamp current_time = 2 [json_name = "currentTime"];
-
setCurrentTime
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.
.google.protobuf.Timestamp current_time = 2 [json_name = "currentTime"];
-
mergeCurrentTime
public TimeServiceOuterClass.SetTimeRequest.Builder mergeCurrentTime(com.google.protobuf.Timestamp value)
MUST precisely match the current time as it's known to the ledger server.
.google.protobuf.Timestamp current_time = 2 [json_name = "currentTime"];
-
clearCurrentTime
public TimeServiceOuterClass.SetTimeRequest.Builder clearCurrentTime()
MUST precisely match the current time as it's known to the ledger server.
.google.protobuf.Timestamp current_time = 2 [json_name = "currentTime"];
-
getCurrentTimeBuilder
public com.google.protobuf.Timestamp.Builder getCurrentTimeBuilder()
MUST precisely match the current time as it's known to the ledger server.
.google.protobuf.Timestamp current_time = 2 [json_name = "currentTime"];
-
getCurrentTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCurrentTimeOrBuilder()
MUST precisely match the current time as it's known to the ledger server.
.google.protobuf.Timestamp current_time = 2 [json_name = "currentTime"];
- Specified by:
getCurrentTimeOrBuilder
in interfaceTimeServiceOuterClass.SetTimeRequestOrBuilder
-
hasNewTime
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"];
- Specified by:
hasNewTime
in interfaceTimeServiceOuterClass.SetTimeRequestOrBuilder
- Returns:
- Whether the newTime field is set.
-
getNewTime
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"];
- Specified by:
getNewTime
in interfaceTimeServiceOuterClass.SetTimeRequestOrBuilder
- Returns:
- The newTime.
-
setNewTime
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"];
-
setNewTime
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"];
-
mergeNewTime
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"];
-
clearNewTime
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"];
-
getNewTimeBuilder
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"];
-
getNewTimeOrBuilder
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"];
- Specified by:
getNewTimeOrBuilder
in interfaceTimeServiceOuterClass.SetTimeRequestOrBuilder
-
setUnknownFields
public final TimeServiceOuterClass.SetTimeRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TimeServiceOuterClass.SetTimeRequest.Builder>
-
mergeUnknownFields
public final TimeServiceOuterClass.SetTimeRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TimeServiceOuterClass.SetTimeRequest.Builder>
-
-