public static final class TimeServiceOuterClass.GetTimeRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TimeServiceOuterClass.GetTimeRequest.Builder> implements TimeServiceOuterClass.GetTimeRequestOrBuilder
com.daml.ledger.api.v1.testing.GetTimeRequest
Modifier and Type | Method and Description |
---|---|
TimeServiceOuterClass.GetTimeRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
TimeServiceOuterClass.GetTimeRequest |
build() |
TimeServiceOuterClass.GetTimeRequest |
buildPartial() |
TimeServiceOuterClass.GetTimeRequest.Builder |
clear() |
TimeServiceOuterClass.GetTimeRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TimeServiceOuterClass.GetTimeRequest.Builder |
clearLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service.
|
TimeServiceOuterClass.GetTimeRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TimeServiceOuterClass.GetTimeRequest.Builder |
clone() |
TimeServiceOuterClass.GetTimeRequest |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TimeServiceOuterClass.GetTimeRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TimeServiceOuterClass.GetTimeRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
TimeServiceOuterClass.GetTimeRequest.Builder |
mergeFrom(TimeServiceOuterClass.GetTimeRequest other) |
TimeServiceOuterClass.GetTimeRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TimeServiceOuterClass.GetTimeRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
TimeServiceOuterClass.GetTimeRequest.Builder |
setLedgerId(java.lang.String value)
Must correspond to the ledger ID reported by the Ledger Identification Service.
|
TimeServiceOuterClass.GetTimeRequest.Builder |
setLedgerIdBytes(com.google.protobuf.ByteString value)
Must correspond to the ledger ID reported by the Ledger Identification Service.
|
TimeServiceOuterClass.GetTimeRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
TimeServiceOuterClass.GetTimeRequest.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.GetTimeRequest.Builder>
public TimeServiceOuterClass.GetTimeRequest.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.GetTimeRequest.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.GetTimeRequest.Builder>
public TimeServiceOuterClass.GetTimeRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public TimeServiceOuterClass.GetTimeRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public TimeServiceOuterClass.GetTimeRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public TimeServiceOuterClass.GetTimeRequest.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.GetTimeRequest.Builder>
public TimeServiceOuterClass.GetTimeRequest.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.GetTimeRequest.Builder>
public TimeServiceOuterClass.GetTimeRequest.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.GetTimeRequest.Builder>
public TimeServiceOuterClass.GetTimeRequest.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.GetTimeRequest.Builder>
public TimeServiceOuterClass.GetTimeRequest.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.GetTimeRequest.Builder>
public TimeServiceOuterClass.GetTimeRequest.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.GetTimeRequest.Builder>
public TimeServiceOuterClass.GetTimeRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TimeServiceOuterClass.GetTimeRequest.Builder>
public TimeServiceOuterClass.GetTimeRequest.Builder mergeFrom(TimeServiceOuterClass.GetTimeRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<TimeServiceOuterClass.GetTimeRequest.Builder>
public TimeServiceOuterClass.GetTimeRequest.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.GetTimeRequest.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.GetTimeRequestOrBuilder
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.GetTimeRequestOrBuilder
public TimeServiceOuterClass.GetTimeRequest.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"];
value
- The ledgerId to set.public TimeServiceOuterClass.GetTimeRequest.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.GetTimeRequest.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"];
value
- The bytes for ledgerId to set.public final TimeServiceOuterClass.GetTimeRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<TimeServiceOuterClass.GetTimeRequest.Builder>
public final TimeServiceOuterClass.GetTimeRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<TimeServiceOuterClass.GetTimeRequest.Builder>