Package com.daml.ledger.api.v1.admin
Class ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder>
-
- com.daml.ledger.api.v1.admin.ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder
-
- All Implemented Interfaces:
ConfigManagementServiceOuterClass.GetTimeModelResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ConfigManagementServiceOuterClass.GetTimeModelResponse
public static final class ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder> implements ConfigManagementServiceOuterClass.GetTimeModelResponseOrBuilder
Protobuf typecom.daml.ledger.api.v1.admin.GetTimeModelResponse
-
-
Method Summary
-
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<ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder>
-
clear
public ConfigManagementServiceOuterClass.GetTimeModelResponse.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<ConfigManagementServiceOuterClass.GetTimeModelResponse.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<ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder>
-
getDefaultInstanceForType
public ConfigManagementServiceOuterClass.GetTimeModelResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ConfigManagementServiceOuterClass.GetTimeModelResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ConfigManagementServiceOuterClass.GetTimeModelResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ConfigManagementServiceOuterClass.GetTimeModelResponse.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<ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder>
-
setField
public ConfigManagementServiceOuterClass.GetTimeModelResponse.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<ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder>
-
clearField
public ConfigManagementServiceOuterClass.GetTimeModelResponse.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<ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder>
-
clearOneof
public ConfigManagementServiceOuterClass.GetTimeModelResponse.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<ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder>
-
setRepeatedField
public ConfigManagementServiceOuterClass.GetTimeModelResponse.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<ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder>
-
addRepeatedField
public ConfigManagementServiceOuterClass.GetTimeModelResponse.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<ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder>
-
mergeFrom
public ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder>
-
mergeFrom
public ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder mergeFrom(ConfigManagementServiceOuterClass.GetTimeModelResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder>
-
mergeFrom
public ConfigManagementServiceOuterClass.GetTimeModelResponse.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<ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder>
- Throws:
java.io.IOException
-
getConfigurationGeneration
public long getConfigurationGeneration()
The current configuration generation. The generation is a monotonically increasing integer that is incremented on each change. Used when setting the time model.
int64 configuration_generation = 1 [json_name = "configurationGeneration"];
- Specified by:
getConfigurationGeneration
in interfaceConfigManagementServiceOuterClass.GetTimeModelResponseOrBuilder
- Returns:
- The configurationGeneration.
-
setConfigurationGeneration
public ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder setConfigurationGeneration(long value)
The current configuration generation. The generation is a monotonically increasing integer that is incremented on each change. Used when setting the time model.
int64 configuration_generation = 1 [json_name = "configurationGeneration"];
- Parameters:
value
- The configurationGeneration to set.- Returns:
- This builder for chaining.
-
clearConfigurationGeneration
public ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder clearConfigurationGeneration()
The current configuration generation. The generation is a monotonically increasing integer that is incremented on each change. Used when setting the time model.
int64 configuration_generation = 1 [json_name = "configurationGeneration"];
- Returns:
- This builder for chaining.
-
hasTimeModel
public boolean hasTimeModel()
The current ledger time model.
.com.daml.ledger.api.v1.admin.TimeModel time_model = 2 [json_name = "timeModel"];
- Specified by:
hasTimeModel
in interfaceConfigManagementServiceOuterClass.GetTimeModelResponseOrBuilder
- Returns:
- Whether the timeModel field is set.
-
getTimeModel
public ConfigManagementServiceOuterClass.TimeModel getTimeModel()
The current ledger time model.
.com.daml.ledger.api.v1.admin.TimeModel time_model = 2 [json_name = "timeModel"];
- Specified by:
getTimeModel
in interfaceConfigManagementServiceOuterClass.GetTimeModelResponseOrBuilder
- Returns:
- The timeModel.
-
setTimeModel
public ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder setTimeModel(ConfigManagementServiceOuterClass.TimeModel value)
The current ledger time model.
.com.daml.ledger.api.v1.admin.TimeModel time_model = 2 [json_name = "timeModel"];
-
setTimeModel
public ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder setTimeModel(ConfigManagementServiceOuterClass.TimeModel.Builder builderForValue)
The current ledger time model.
.com.daml.ledger.api.v1.admin.TimeModel time_model = 2 [json_name = "timeModel"];
-
mergeTimeModel
public ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder mergeTimeModel(ConfigManagementServiceOuterClass.TimeModel value)
The current ledger time model.
.com.daml.ledger.api.v1.admin.TimeModel time_model = 2 [json_name = "timeModel"];
-
clearTimeModel
public ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder clearTimeModel()
The current ledger time model.
.com.daml.ledger.api.v1.admin.TimeModel time_model = 2 [json_name = "timeModel"];
-
getTimeModelBuilder
public ConfigManagementServiceOuterClass.TimeModel.Builder getTimeModelBuilder()
The current ledger time model.
.com.daml.ledger.api.v1.admin.TimeModel time_model = 2 [json_name = "timeModel"];
-
getTimeModelOrBuilder
public ConfigManagementServiceOuterClass.TimeModelOrBuilder getTimeModelOrBuilder()
The current ledger time model.
.com.daml.ledger.api.v1.admin.TimeModel time_model = 2 [json_name = "timeModel"];
- Specified by:
getTimeModelOrBuilder
in interfaceConfigManagementServiceOuterClass.GetTimeModelResponseOrBuilder
-
setUnknownFields
public final ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder>
-
mergeUnknownFields
public final ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConfigManagementServiceOuterClass.GetTimeModelResponse.Builder>
-
-