Class BreakRule.BreakRequest (1.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 1.76.0 (latest)
- 1.74.0
- 1.73.0
- 1.72.0
- 1.71.0
- 1.70.0
- 1.68.0
- 1.66.0
- 1.65.0
- 1.62.0
- 1.61.0
- 1.60.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.14
- 0.1.2
publicstaticfinalclass BreakRule.BreakRequestextendsGeneratedMessageV3implementsBreakRule.BreakRequestOrBuilder The sequence of breaks (i.e. their number and order) that apply to each
vehicle must be known beforehand. The repeated BreakRequests define
that sequence, in the order in which they must occur. Their time windows
(earliest_start_time / latest_start_time) may overlap, but they must
be compatible with the order (this is checked).
Protobuf type google.cloud.optimization.v1.BreakRule.BreakRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BreakRule.BreakRequestImplements
BreakRule.BreakRequestOrBuilderInherited Members
Static Fields
EARLIEST_START_TIME_FIELD_NUMBER
publicstaticfinalintEARLIEST_START_TIME_FIELD_NUMBERLATEST_START_TIME_FIELD_NUMBER
publicstaticfinalintLATEST_START_TIME_FIELD_NUMBERMIN_DURATION_FIELD_NUMBER
publicstaticfinalintMIN_DURATION_FIELD_NUMBERStatic Methods
getDefaultInstance()
publicstaticBreakRule.BreakRequestgetDefaultInstance()getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()newBuilder()
publicstaticBreakRule.BreakRequest.BuildernewBuilder()newBuilder(BreakRule.BreakRequest prototype)
publicstaticBreakRule.BreakRequest.BuildernewBuilder(BreakRule.BreakRequestprototype)parseDelimitedFrom(InputStream input)
publicstaticBreakRule.BreakRequestparseDelimitedFrom(InputStreaminput)parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticBreakRule.BreakRequestparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(byte[] data)
publicstaticBreakRule.BreakRequestparseFrom(byte[]data)byte[]parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticBreakRule.BreakRequestparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)byte[]parseFrom(ByteString data)
publicstaticBreakRule.BreakRequestparseFrom(ByteStringdata)parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticBreakRule.BreakRequestparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)parseFrom(CodedInputStream input)
publicstaticBreakRule.BreakRequestparseFrom(CodedInputStreaminput)parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticBreakRule.BreakRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(InputStream input)
publicstaticBreakRule.BreakRequestparseFrom(InputStreaminput)parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticBreakRule.BreakRequestparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(ByteBuffer data)
publicstaticBreakRule.BreakRequestparseFrom(ByteBufferdata)parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticBreakRule.BreakRequestparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)parser()
publicstaticParser<BreakRule.BreakRequest>parser()Methods
equals(Object obj)
publicbooleanequals(Objectobj)getDefaultInstanceForType()
publicBreakRule.BreakRequestgetDefaultInstanceForType()getEarliestStartTime()
publicTimestampgetEarliestStartTime()Required. Lower bound (inclusive) on the start of the break.
.google.protobuf.Timestamp earliest_start_time = 1 [(.google.api.field_behavior) = REQUIRED];
The earliestStartTime.
getEarliestStartTimeOrBuilder()
publicTimestampOrBuildergetEarliestStartTimeOrBuilder()Required. Lower bound (inclusive) on the start of the break.
.google.protobuf.Timestamp earliest_start_time = 1 [(.google.api.field_behavior) = REQUIRED];
getLatestStartTime()
publicTimestampgetLatestStartTime()Required. Upper bound (inclusive) on the start of the break.
.google.protobuf.Timestamp latest_start_time = 2 [(.google.api.field_behavior) = REQUIRED];
The latestStartTime.
getLatestStartTimeOrBuilder()
publicTimestampOrBuildergetLatestStartTimeOrBuilder()Required. Upper bound (inclusive) on the start of the break.
.google.protobuf.Timestamp latest_start_time = 2 [(.google.api.field_behavior) = REQUIRED];
getMinDuration()
publicDurationgetMinDuration()Required. Minimum duration of the break. Must be positive.
.google.protobuf.Duration min_duration = 3 [(.google.api.field_behavior) = REQUIRED];
The minDuration.
getMinDurationOrBuilder()
publicDurationOrBuildergetMinDurationOrBuilder()Required. Minimum duration of the break. Must be positive.
.google.protobuf.Duration min_duration = 3 [(.google.api.field_behavior) = REQUIRED];
getParserForType()
publicParser<BreakRule.BreakRequest>getParserForType()getSerializedSize()
publicintgetSerializedSize()getUnknownFields()
publicfinalUnknownFieldSetgetUnknownFields()hasEarliestStartTime()
publicbooleanhasEarliestStartTime()Required. Lower bound (inclusive) on the start of the break.
.google.protobuf.Timestamp earliest_start_time = 1 [(.google.api.field_behavior) = REQUIRED];
Whether the earliestStartTime field is set.
hasLatestStartTime()
publicbooleanhasLatestStartTime()Required. Upper bound (inclusive) on the start of the break.
.google.protobuf.Timestamp latest_start_time = 2 [(.google.api.field_behavior) = REQUIRED];
Whether the latestStartTime field is set.
hasMinDuration()
publicbooleanhasMinDuration()Required. Minimum duration of the break. Must be positive.
.google.protobuf.Duration min_duration = 3 [(.google.api.field_behavior) = REQUIRED];
Whether the minDuration field is set.
hashCode()
publicinthashCode()internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()isInitialized()
publicfinalbooleanisInitialized()newBuilderForType()
publicBreakRule.BreakRequest.BuildernewBuilderForType()newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedBreakRule.BreakRequest.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)toBuilder()
publicBreakRule.BreakRequest.BuildertoBuilder()writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)