Package com.google.cloud.compute.v1
Class FlexibleTimeRange
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.FlexibleTimeRange
- All Implemented Interfaces:
FlexibleTimeRangeOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class FlexibleTimeRange
extends com.google.protobuf.GeneratedMessage
implements FlexibleTimeRangeOrBuilder
Specifies a flexible time range with flexible start time and duration. It is possible to specify a contradictory time range that cannot be matched by any Interval. This causes a validation error.Protobuf type
google.cloud.compute.v1.FlexibleTimeRange- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSpecifies a flexible time range with flexible start time and duration.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic FlexibleTimeRangestatic final com.google.protobuf.Descriptors.Descriptoroptional string max_duration = 39954959;com.google.protobuf.ByteStringoptional string max_duration = 39954959;optional string min_duration = 514381025;com.google.protobuf.ByteStringoptional string min_duration = 514381025;com.google.protobuf.Parser<FlexibleTimeRange>intoptional string start_time_not_earlier_than = 490386497;com.google.protobuf.ByteStringoptional string start_time_not_earlier_than = 490386497;optional string start_time_not_later_than = 212764853;com.google.protobuf.ByteStringoptional string start_time_not_later_than = 212764853;inthashCode()booleanoptional string max_duration = 39954959;booleanoptional string min_duration = 514381025;booleanoptional string start_time_not_earlier_than = 490386497;booleanoptional string start_time_not_later_than = 212764853;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic FlexibleTimeRange.Builderstatic FlexibleTimeRange.BuildernewBuilder(FlexibleTimeRange prototype) protected FlexibleTimeRange.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static FlexibleTimeRangeparseDelimitedFrom(InputStream input) static FlexibleTimeRangeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FlexibleTimeRangeparseFrom(byte[] data) static FlexibleTimeRangeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FlexibleTimeRangeparseFrom(com.google.protobuf.ByteString data) static FlexibleTimeRangeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FlexibleTimeRangeparseFrom(com.google.protobuf.CodedInputStream input) static FlexibleTimeRangeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FlexibleTimeRangeparseFrom(InputStream input) static FlexibleTimeRangeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FlexibleTimeRangeparseFrom(ByteBuffer data) static FlexibleTimeRangeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<FlexibleTimeRange>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
MAX_DURATION_FIELD_NUMBER
public static final int MAX_DURATION_FIELD_NUMBER- See Also:
-
MIN_DURATION_FIELD_NUMBER
public static final int MIN_DURATION_FIELD_NUMBER- See Also:
-
START_TIME_NOT_EARLIER_THAN_FIELD_NUMBER
public static final int START_TIME_NOT_EARLIER_THAN_FIELD_NUMBER- See Also:
-
START_TIME_NOT_LATER_THAN_FIELD_NUMBER
public static final int START_TIME_NOT_LATER_THAN_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasMaxDuration
public boolean hasMaxDuration()optional string max_duration = 39954959;- Specified by:
hasMaxDurationin interfaceFlexibleTimeRangeOrBuilder- Returns:
- Whether the maxDuration field is set.
-
getMaxDuration
optional string max_duration = 39954959;- Specified by:
getMaxDurationin interfaceFlexibleTimeRangeOrBuilder- Returns:
- The maxDuration.
-
getMaxDurationBytes
public com.google.protobuf.ByteString getMaxDurationBytes()optional string max_duration = 39954959;- Specified by:
getMaxDurationBytesin interfaceFlexibleTimeRangeOrBuilder- Returns:
- The bytes for maxDuration.
-
hasMinDuration
public boolean hasMinDuration()optional string min_duration = 514381025;- Specified by:
hasMinDurationin interfaceFlexibleTimeRangeOrBuilder- Returns:
- Whether the minDuration field is set.
-
getMinDuration
optional string min_duration = 514381025;- Specified by:
getMinDurationin interfaceFlexibleTimeRangeOrBuilder- Returns:
- The minDuration.
-
getMinDurationBytes
public com.google.protobuf.ByteString getMinDurationBytes()optional string min_duration = 514381025;- Specified by:
getMinDurationBytesin interfaceFlexibleTimeRangeOrBuilder- Returns:
- The bytes for minDuration.
-
hasStartTimeNotEarlierThan
public boolean hasStartTimeNotEarlierThan()optional string start_time_not_earlier_than = 490386497;- Specified by:
hasStartTimeNotEarlierThanin interfaceFlexibleTimeRangeOrBuilder- Returns:
- Whether the startTimeNotEarlierThan field is set.
-
getStartTimeNotEarlierThan
optional string start_time_not_earlier_than = 490386497;- Specified by:
getStartTimeNotEarlierThanin interfaceFlexibleTimeRangeOrBuilder- Returns:
- The startTimeNotEarlierThan.
-
getStartTimeNotEarlierThanBytes
public com.google.protobuf.ByteString getStartTimeNotEarlierThanBytes()optional string start_time_not_earlier_than = 490386497;- Specified by:
getStartTimeNotEarlierThanBytesin interfaceFlexibleTimeRangeOrBuilder- Returns:
- The bytes for startTimeNotEarlierThan.
-
hasStartTimeNotLaterThan
public boolean hasStartTimeNotLaterThan()optional string start_time_not_later_than = 212764853;- Specified by:
hasStartTimeNotLaterThanin interfaceFlexibleTimeRangeOrBuilder- Returns:
- Whether the startTimeNotLaterThan field is set.
-
getStartTimeNotLaterThan
optional string start_time_not_later_than = 212764853;- Specified by:
getStartTimeNotLaterThanin interfaceFlexibleTimeRangeOrBuilder- Returns:
- The startTimeNotLaterThan.
-
getStartTimeNotLaterThanBytes
public com.google.protobuf.ByteString getStartTimeNotLaterThanBytes()optional string start_time_not_later_than = 212764853;- Specified by:
getStartTimeNotLaterThanBytesin interfaceFlexibleTimeRangeOrBuilder- Returns:
- The bytes for startTimeNotLaterThan.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static FlexibleTimeRange parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FlexibleTimeRange parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FlexibleTimeRange parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FlexibleTimeRange parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FlexibleTimeRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FlexibleTimeRange parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static FlexibleTimeRange parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static FlexibleTimeRange parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static FlexibleTimeRange parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static FlexibleTimeRange parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected FlexibleTimeRange.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-