publicstaticfinalclass SchedulingDuration.BuilderextendsGeneratedMessageV3.Builder<SchedulingDuration.Builder>implementsSchedulingDurationOrBuilder
A SchedulingDuration represents a fixed-length span of time represented
as a count of seconds and fractions of seconds at nanosecond
resolution. It is independent of any calendar and concepts like "day"
or "month". Range is approximately 10,000 years.
Protobuf type google.cloud.backupdr.v1.SchedulingDuration
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicSchedulingDuration.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
publicSchedulingDurationbuild()
buildPartial()
publicSchedulingDurationbuildPartial()
clear()
publicSchedulingDuration.Builderclear()
Overrides
clearField(Descriptors.FieldDescriptor field)
publicSchedulingDuration.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearNanos()
publicSchedulingDuration.BuilderclearNanos()
Optional. Span of time that's a fraction of a second at nanosecond
resolution.
optional int32 nanos = 2 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
publicSchedulingDuration.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clearSeconds()
publicSchedulingDuration.BuilderclearSeconds()
Optional. Span of time at a resolution of a second.
optional int64 seconds = 1 [(.google.api.field_behavior) = OPTIONAL];
clone()
publicSchedulingDuration.Builderclone()
Overrides
getDefaultInstanceForType()
publicSchedulingDurationgetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getNanos()
Optional. Span of time that's a fraction of a second at nanosecond
resolution.
optional int32 nanos = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The nanos.
|
getSeconds()
Optional. Span of time at a resolution of a second.
optional int64 seconds = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
long |
The seconds.
|
hasNanos()
Optional. Span of time that's a fraction of a second at nanosecond
resolution.
optional int32 nanos = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the nanos field is set.
|
hasSeconds()
publicbooleanhasSeconds()
Optional. Span of time at a resolution of a second.
optional int64 seconds = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the seconds field is set.
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeFrom(SchedulingDuration other)
publicSchedulingDuration.BuildermergeFrom(SchedulingDurationother)
publicSchedulingDuration.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicSchedulingDuration.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalSchedulingDuration.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
publicSchedulingDuration.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setNanos(int value)
publicSchedulingDuration.BuildersetNanos(intvalue)
Optional. Span of time that's a fraction of a second at nanosecond
resolution.
optional int32 nanos = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
int
The nanos to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicSchedulingDuration.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setSeconds(long value)
publicSchedulingDuration.BuildersetSeconds(longvalue)
Optional. Span of time at a resolution of a second.
optional int64 seconds = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
long
The seconds to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalSchedulingDuration.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides