Package com.daml.ledger.api.v1.admin
Class ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder>
-
- com.daml.ledger.api.v1.admin.ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
-
- All Implemented Interfaces:
ConfigManagementServiceOuterClass.SetTimeModelRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ConfigManagementServiceOuterClass.SetTimeModelRequest
public static final class ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder> implements ConfigManagementServiceOuterClass.SetTimeModelRequestOrBuilder
Protobuf typecom.daml.ledger.api.v1.admin.SetTimeModelRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ConfigManagementServiceOuterClass.SetTimeModelRequest
build()
ConfigManagementServiceOuterClass.SetTimeModelRequest
buildPartial()
ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
clear()
ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
clearConfigurationGeneration()
The current configuration generation which we're submitting the change against.ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
clearMaximumRecordTime()
Deadline for the configuration change after which the change is rejected.ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
clearNewTimeModel()
The new time model that replaces the current one.ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
clearSubmissionId()
Submission identifier used for tracking the request and to reject duplicate submissions.ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
clone()
long
getConfigurationGeneration()
The current configuration generation which we're submitting the change against.ConfigManagementServiceOuterClass.SetTimeModelRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Timestamp
getMaximumRecordTime()
Deadline for the configuration change after which the change is rejected.com.google.protobuf.Timestamp.Builder
getMaximumRecordTimeBuilder()
Deadline for the configuration change after which the change is rejected.com.google.protobuf.TimestampOrBuilder
getMaximumRecordTimeOrBuilder()
Deadline for the configuration change after which the change is rejected.ConfigManagementServiceOuterClass.TimeModel
getNewTimeModel()
The new time model that replaces the current one.ConfigManagementServiceOuterClass.TimeModel.Builder
getNewTimeModelBuilder()
The new time model that replaces the current one.ConfigManagementServiceOuterClass.TimeModelOrBuilder
getNewTimeModelOrBuilder()
The new time model that replaces the current one.java.lang.String
getSubmissionId()
Submission identifier used for tracking the request and to reject duplicate submissions.com.google.protobuf.ByteString
getSubmissionIdBytes()
Submission identifier used for tracking the request and to reject duplicate submissions.boolean
hasMaximumRecordTime()
Deadline for the configuration change after which the change is rejected.boolean
hasNewTimeModel()
The new time model that replaces the current one.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
mergeFrom(ConfigManagementServiceOuterClass.SetTimeModelRequest other)
ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
mergeFrom(com.google.protobuf.Message other)
ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
mergeMaximumRecordTime(com.google.protobuf.Timestamp value)
Deadline for the configuration change after which the change is rejected.ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
mergeNewTimeModel(ConfigManagementServiceOuterClass.TimeModel value)
The new time model that replaces the current one.ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
setConfigurationGeneration(long value)
The current configuration generation which we're submitting the change against.ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
setMaximumRecordTime(com.google.protobuf.Timestamp value)
Deadline for the configuration change after which the change is rejected.ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
setMaximumRecordTime(com.google.protobuf.Timestamp.Builder builderForValue)
Deadline for the configuration change after which the change is rejected.ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
setNewTimeModel(ConfigManagementServiceOuterClass.TimeModel value)
The new time model that replaces the current one.ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
setNewTimeModel(ConfigManagementServiceOuterClass.TimeModel.Builder builderForValue)
The new time model that replaces the current one.ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
setSubmissionId(java.lang.String value)
Submission identifier used for tracking the request and to reject duplicate submissions.ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder
setSubmissionIdBytes(com.google.protobuf.ByteString value)
Submission identifier used for tracking the request and to reject duplicate submissions.ConfigManagementServiceOuterClass.SetTimeModelRequest.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<ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder>
-
clear
public ConfigManagementServiceOuterClass.SetTimeModelRequest.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.SetTimeModelRequest.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.SetTimeModelRequest.Builder>
-
getDefaultInstanceForType
public ConfigManagementServiceOuterClass.SetTimeModelRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ConfigManagementServiceOuterClass.SetTimeModelRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ConfigManagementServiceOuterClass.SetTimeModelRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ConfigManagementServiceOuterClass.SetTimeModelRequest.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.SetTimeModelRequest.Builder>
-
setField
public ConfigManagementServiceOuterClass.SetTimeModelRequest.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.SetTimeModelRequest.Builder>
-
clearField
public ConfigManagementServiceOuterClass.SetTimeModelRequest.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.SetTimeModelRequest.Builder>
-
clearOneof
public ConfigManagementServiceOuterClass.SetTimeModelRequest.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.SetTimeModelRequest.Builder>
-
setRepeatedField
public ConfigManagementServiceOuterClass.SetTimeModelRequest.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.SetTimeModelRequest.Builder>
-
addRepeatedField
public ConfigManagementServiceOuterClass.SetTimeModelRequest.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.SetTimeModelRequest.Builder>
-
mergeFrom
public ConfigManagementServiceOuterClass.SetTimeModelRequest.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.SetTimeModelRequest.Builder>
-
mergeFrom
public ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder mergeFrom(ConfigManagementServiceOuterClass.SetTimeModelRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder>
-
mergeFrom
public ConfigManagementServiceOuterClass.SetTimeModelRequest.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.SetTimeModelRequest.Builder>
- Throws:
java.io.IOException
-
getSubmissionId
public java.lang.String getSubmissionId()
Submission identifier used for tracking the request and to reject duplicate submissions. Required.
string submission_id = 1 [json_name = "submissionId"];
- Specified by:
getSubmissionId
in interfaceConfigManagementServiceOuterClass.SetTimeModelRequestOrBuilder
- Returns:
- The submissionId.
-
getSubmissionIdBytes
public com.google.protobuf.ByteString getSubmissionIdBytes()
Submission identifier used for tracking the request and to reject duplicate submissions. Required.
string submission_id = 1 [json_name = "submissionId"];
- Specified by:
getSubmissionIdBytes
in interfaceConfigManagementServiceOuterClass.SetTimeModelRequestOrBuilder
- Returns:
- The bytes for submissionId.
-
setSubmissionId
public ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder setSubmissionId(java.lang.String value)
Submission identifier used for tracking the request and to reject duplicate submissions. Required.
string submission_id = 1 [json_name = "submissionId"];
- Parameters:
value
- The submissionId to set.- Returns:
- This builder for chaining.
-
clearSubmissionId
public ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder clearSubmissionId()
Submission identifier used for tracking the request and to reject duplicate submissions. Required.
string submission_id = 1 [json_name = "submissionId"];
- Returns:
- This builder for chaining.
-
setSubmissionIdBytes
public ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder setSubmissionIdBytes(com.google.protobuf.ByteString value)
Submission identifier used for tracking the request and to reject duplicate submissions. Required.
string submission_id = 1 [json_name = "submissionId"];
- Parameters:
value
- The bytes for submissionId to set.- Returns:
- This builder for chaining.
-
hasMaximumRecordTime
public boolean hasMaximumRecordTime()
Deadline for the configuration change after which the change is rejected.
.google.protobuf.Timestamp maximum_record_time = 2 [json_name = "maximumRecordTime"];
- Specified by:
hasMaximumRecordTime
in interfaceConfigManagementServiceOuterClass.SetTimeModelRequestOrBuilder
- Returns:
- Whether the maximumRecordTime field is set.
-
getMaximumRecordTime
public com.google.protobuf.Timestamp getMaximumRecordTime()
Deadline for the configuration change after which the change is rejected.
.google.protobuf.Timestamp maximum_record_time = 2 [json_name = "maximumRecordTime"];
- Specified by:
getMaximumRecordTime
in interfaceConfigManagementServiceOuterClass.SetTimeModelRequestOrBuilder
- Returns:
- The maximumRecordTime.
-
setMaximumRecordTime
public ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder setMaximumRecordTime(com.google.protobuf.Timestamp value)
Deadline for the configuration change after which the change is rejected.
.google.protobuf.Timestamp maximum_record_time = 2 [json_name = "maximumRecordTime"];
-
setMaximumRecordTime
public ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder setMaximumRecordTime(com.google.protobuf.Timestamp.Builder builderForValue)
Deadline for the configuration change after which the change is rejected.
.google.protobuf.Timestamp maximum_record_time = 2 [json_name = "maximumRecordTime"];
-
mergeMaximumRecordTime
public ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder mergeMaximumRecordTime(com.google.protobuf.Timestamp value)
Deadline for the configuration change after which the change is rejected.
.google.protobuf.Timestamp maximum_record_time = 2 [json_name = "maximumRecordTime"];
-
clearMaximumRecordTime
public ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder clearMaximumRecordTime()
Deadline for the configuration change after which the change is rejected.
.google.protobuf.Timestamp maximum_record_time = 2 [json_name = "maximumRecordTime"];
-
getMaximumRecordTimeBuilder
public com.google.protobuf.Timestamp.Builder getMaximumRecordTimeBuilder()
Deadline for the configuration change after which the change is rejected.
.google.protobuf.Timestamp maximum_record_time = 2 [json_name = "maximumRecordTime"];
-
getMaximumRecordTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getMaximumRecordTimeOrBuilder()
Deadline for the configuration change after which the change is rejected.
.google.protobuf.Timestamp maximum_record_time = 2 [json_name = "maximumRecordTime"];
- Specified by:
getMaximumRecordTimeOrBuilder
in interfaceConfigManagementServiceOuterClass.SetTimeModelRequestOrBuilder
-
getConfigurationGeneration
public long getConfigurationGeneration()
The current configuration generation which we're submitting the change against. This is used to perform a compare-and-swap of the configuration to safeguard against concurrent modifications. Required.
int64 configuration_generation = 3 [json_name = "configurationGeneration"];
- Specified by:
getConfigurationGeneration
in interfaceConfigManagementServiceOuterClass.SetTimeModelRequestOrBuilder
- Returns:
- The configurationGeneration.
-
setConfigurationGeneration
public ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder setConfigurationGeneration(long value)
The current configuration generation which we're submitting the change against. This is used to perform a compare-and-swap of the configuration to safeguard against concurrent modifications. Required.
int64 configuration_generation = 3 [json_name = "configurationGeneration"];
- Parameters:
value
- The configurationGeneration to set.- Returns:
- This builder for chaining.
-
clearConfigurationGeneration
public ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder clearConfigurationGeneration()
The current configuration generation which we're submitting the change against. This is used to perform a compare-and-swap of the configuration to safeguard against concurrent modifications. Required.
int64 configuration_generation = 3 [json_name = "configurationGeneration"];
- Returns:
- This builder for chaining.
-
hasNewTimeModel
public boolean hasNewTimeModel()
The new time model that replaces the current one. Required.
.com.daml.ledger.api.v1.admin.TimeModel new_time_model = 4 [json_name = "newTimeModel"];
- Specified by:
hasNewTimeModel
in interfaceConfigManagementServiceOuterClass.SetTimeModelRequestOrBuilder
- Returns:
- Whether the newTimeModel field is set.
-
getNewTimeModel
public ConfigManagementServiceOuterClass.TimeModel getNewTimeModel()
The new time model that replaces the current one. Required.
.com.daml.ledger.api.v1.admin.TimeModel new_time_model = 4 [json_name = "newTimeModel"];
- Specified by:
getNewTimeModel
in interfaceConfigManagementServiceOuterClass.SetTimeModelRequestOrBuilder
- Returns:
- The newTimeModel.
-
setNewTimeModel
public ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder setNewTimeModel(ConfigManagementServiceOuterClass.TimeModel value)
The new time model that replaces the current one. Required.
.com.daml.ledger.api.v1.admin.TimeModel new_time_model = 4 [json_name = "newTimeModel"];
-
setNewTimeModel
public ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder setNewTimeModel(ConfigManagementServiceOuterClass.TimeModel.Builder builderForValue)
The new time model that replaces the current one. Required.
.com.daml.ledger.api.v1.admin.TimeModel new_time_model = 4 [json_name = "newTimeModel"];
-
mergeNewTimeModel
public ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder mergeNewTimeModel(ConfigManagementServiceOuterClass.TimeModel value)
The new time model that replaces the current one. Required.
.com.daml.ledger.api.v1.admin.TimeModel new_time_model = 4 [json_name = "newTimeModel"];
-
clearNewTimeModel
public ConfigManagementServiceOuterClass.SetTimeModelRequest.Builder clearNewTimeModel()
The new time model that replaces the current one. Required.
.com.daml.ledger.api.v1.admin.TimeModel new_time_model = 4 [json_name = "newTimeModel"];
-
getNewTimeModelBuilder
public ConfigManagementServiceOuterClass.TimeModel.Builder getNewTimeModelBuilder()
The new time model that replaces the current one. Required.
.com.daml.ledger.api.v1.admin.TimeModel new_time_model = 4 [json_name = "newTimeModel"];
-
getNewTimeModelOrBuilder
public ConfigManagementServiceOuterClass.TimeModelOrBuilder getNewTimeModelOrBuilder()
The new time model that replaces the current one. Required.
.com.daml.ledger.api.v1.admin.TimeModel new_time_model = 4 [json_name = "newTimeModel"];
- Specified by:
getNewTimeModelOrBuilder
in interfaceConfigManagementServiceOuterClass.SetTimeModelRequestOrBuilder
-
setUnknownFields
public final ConfigManagementServiceOuterClass.SetTimeModelRequest.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.SetTimeModelRequest.Builder>
-
mergeUnknownFields
public final ConfigManagementServiceOuterClass.SetTimeModelRequest.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.SetTimeModelRequest.Builder>
-
-