Package com.daml.ledger.api.v1.testing
Class TimeServiceOuterClass.GetTimeResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TimeServiceOuterClass.GetTimeResponse.Builder>
-
- com.daml.ledger.api.v1.testing.TimeServiceOuterClass.GetTimeResponse.Builder
-
- All Implemented Interfaces:
TimeServiceOuterClass.GetTimeResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- TimeServiceOuterClass.GetTimeResponse
public static final class TimeServiceOuterClass.GetTimeResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TimeServiceOuterClass.GetTimeResponse.Builder> implements TimeServiceOuterClass.GetTimeResponseOrBuilder
Protobuf typecom.daml.ledger.api.v1.testing.GetTimeResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeServiceOuterClass.GetTimeResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
TimeServiceOuterClass.GetTimeResponse
build()
TimeServiceOuterClass.GetTimeResponse
buildPartial()
TimeServiceOuterClass.GetTimeResponse.Builder
clear()
TimeServiceOuterClass.GetTimeResponse.Builder
clearCurrentTime()
The current time according to the ledger server.TimeServiceOuterClass.GetTimeResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TimeServiceOuterClass.GetTimeResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TimeServiceOuterClass.GetTimeResponse.Builder
clone()
com.google.protobuf.Timestamp
getCurrentTime()
The current time according to the ledger server.com.google.protobuf.Timestamp.Builder
getCurrentTimeBuilder()
The current time according to the ledger server.com.google.protobuf.TimestampOrBuilder
getCurrentTimeOrBuilder()
The current time according to the ledger server.TimeServiceOuterClass.GetTimeResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
hasCurrentTime()
The current time according to the ledger server.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TimeServiceOuterClass.GetTimeResponse.Builder
mergeCurrentTime(com.google.protobuf.Timestamp value)
The current time according to the ledger server.TimeServiceOuterClass.GetTimeResponse.Builder
mergeFrom(TimeServiceOuterClass.GetTimeResponse other)
TimeServiceOuterClass.GetTimeResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TimeServiceOuterClass.GetTimeResponse.Builder
mergeFrom(com.google.protobuf.Message other)
TimeServiceOuterClass.GetTimeResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TimeServiceOuterClass.GetTimeResponse.Builder
setCurrentTime(com.google.protobuf.Timestamp value)
The current time according to the ledger server.TimeServiceOuterClass.GetTimeResponse.Builder
setCurrentTime(com.google.protobuf.Timestamp.Builder builderForValue)
The current time according to the ledger server.TimeServiceOuterClass.GetTimeResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
TimeServiceOuterClass.GetTimeResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
TimeServiceOuterClass.GetTimeResponse.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<TimeServiceOuterClass.GetTimeResponse.Builder>
-
clear
public TimeServiceOuterClass.GetTimeResponse.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.GetTimeResponse.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.GetTimeResponse.Builder>
-
getDefaultInstanceForType
public TimeServiceOuterClass.GetTimeResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TimeServiceOuterClass.GetTimeResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TimeServiceOuterClass.GetTimeResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TimeServiceOuterClass.GetTimeResponse.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.GetTimeResponse.Builder>
-
setField
public TimeServiceOuterClass.GetTimeResponse.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.GetTimeResponse.Builder>
-
clearField
public TimeServiceOuterClass.GetTimeResponse.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.GetTimeResponse.Builder>
-
clearOneof
public TimeServiceOuterClass.GetTimeResponse.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.GetTimeResponse.Builder>
-
setRepeatedField
public TimeServiceOuterClass.GetTimeResponse.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.GetTimeResponse.Builder>
-
addRepeatedField
public TimeServiceOuterClass.GetTimeResponse.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.GetTimeResponse.Builder>
-
mergeFrom
public TimeServiceOuterClass.GetTimeResponse.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.GetTimeResponse.Builder>
-
mergeFrom
public TimeServiceOuterClass.GetTimeResponse.Builder mergeFrom(TimeServiceOuterClass.GetTimeResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TimeServiceOuterClass.GetTimeResponse.Builder>
-
mergeFrom
public TimeServiceOuterClass.GetTimeResponse.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.GetTimeResponse.Builder>
- Throws:
java.io.IOException
-
hasCurrentTime
public boolean hasCurrentTime()
The current time according to the ledger server.
.google.protobuf.Timestamp current_time = 1 [json_name = "currentTime"];
- Specified by:
hasCurrentTime
in interfaceTimeServiceOuterClass.GetTimeResponseOrBuilder
- Returns:
- Whether the currentTime field is set.
-
getCurrentTime
public com.google.protobuf.Timestamp getCurrentTime()
The current time according to the ledger server.
.google.protobuf.Timestamp current_time = 1 [json_name = "currentTime"];
- Specified by:
getCurrentTime
in interfaceTimeServiceOuterClass.GetTimeResponseOrBuilder
- Returns:
- The currentTime.
-
setCurrentTime
public TimeServiceOuterClass.GetTimeResponse.Builder setCurrentTime(com.google.protobuf.Timestamp value)
The current time according to the ledger server.
.google.protobuf.Timestamp current_time = 1 [json_name = "currentTime"];
-
setCurrentTime
public TimeServiceOuterClass.GetTimeResponse.Builder setCurrentTime(com.google.protobuf.Timestamp.Builder builderForValue)
The current time according to the ledger server.
.google.protobuf.Timestamp current_time = 1 [json_name = "currentTime"];
-
mergeCurrentTime
public TimeServiceOuterClass.GetTimeResponse.Builder mergeCurrentTime(com.google.protobuf.Timestamp value)
The current time according to the ledger server.
.google.protobuf.Timestamp current_time = 1 [json_name = "currentTime"];
-
clearCurrentTime
public TimeServiceOuterClass.GetTimeResponse.Builder clearCurrentTime()
The current time according to the ledger server.
.google.protobuf.Timestamp current_time = 1 [json_name = "currentTime"];
-
getCurrentTimeBuilder
public com.google.protobuf.Timestamp.Builder getCurrentTimeBuilder()
The current time according to the ledger server.
.google.protobuf.Timestamp current_time = 1 [json_name = "currentTime"];
-
getCurrentTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCurrentTimeOrBuilder()
The current time according to the ledger server.
.google.protobuf.Timestamp current_time = 1 [json_name = "currentTime"];
- Specified by:
getCurrentTimeOrBuilder
in interfaceTimeServiceOuterClass.GetTimeResponseOrBuilder
-
setUnknownFields
public final TimeServiceOuterClass.GetTimeResponse.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.GetTimeResponse.Builder>
-
mergeUnknownFields
public final TimeServiceOuterClass.GetTimeResponse.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.GetTimeResponse.Builder>
-
-