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 Classes
    Modifier and Type
    Class
    Description
    static final class 
    Specifies 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.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    optional string max_duration = 39954959;
    com.google.protobuf.ByteString
    optional string max_duration = 39954959;
    optional string min_duration = 514381025;
    com.google.protobuf.ByteString
    optional string min_duration = 514381025;
    com.google.protobuf.Parser<FlexibleTimeRange>
     
    int
     
    optional string start_time_not_earlier_than = 490386497;
    com.google.protobuf.ByteString
    optional string start_time_not_earlier_than = 490386497;
    optional string start_time_not_later_than = 212764853;
    com.google.protobuf.ByteString
    optional string start_time_not_later_than = 212764853;
    int
     
    boolean
    optional string max_duration = 39954959;
    boolean
    optional string min_duration = 514381025;
    boolean
    optional string start_time_not_earlier_than = 490386497;
    boolean
    optional string start_time_not_later_than = 212764853;
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<FlexibleTimeRange>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasMaxDuration

      public boolean hasMaxDuration()
      optional string max_duration = 39954959;
      Specified by:
      hasMaxDuration in interface FlexibleTimeRangeOrBuilder
      Returns:
      Whether the maxDuration field is set.
    • getMaxDuration

      public String getMaxDuration()
      optional string max_duration = 39954959;
      Specified by:
      getMaxDuration in interface FlexibleTimeRangeOrBuilder
      Returns:
      The maxDuration.
    • getMaxDurationBytes

      public com.google.protobuf.ByteString getMaxDurationBytes()
      optional string max_duration = 39954959;
      Specified by:
      getMaxDurationBytes in interface FlexibleTimeRangeOrBuilder
      Returns:
      The bytes for maxDuration.
    • hasMinDuration

      public boolean hasMinDuration()
      optional string min_duration = 514381025;
      Specified by:
      hasMinDuration in interface FlexibleTimeRangeOrBuilder
      Returns:
      Whether the minDuration field is set.
    • getMinDuration

      public String getMinDuration()
      optional string min_duration = 514381025;
      Specified by:
      getMinDuration in interface FlexibleTimeRangeOrBuilder
      Returns:
      The minDuration.
    • getMinDurationBytes

      public com.google.protobuf.ByteString getMinDurationBytes()
      optional string min_duration = 514381025;
      Specified by:
      getMinDurationBytes in interface FlexibleTimeRangeOrBuilder
      Returns:
      The bytes for minDuration.
    • hasStartTimeNotEarlierThan

      public boolean hasStartTimeNotEarlierThan()
      optional string start_time_not_earlier_than = 490386497;
      Specified by:
      hasStartTimeNotEarlierThan in interface FlexibleTimeRangeOrBuilder
      Returns:
      Whether the startTimeNotEarlierThan field is set.
    • getStartTimeNotEarlierThan

      public String getStartTimeNotEarlierThan()
      optional string start_time_not_earlier_than = 490386497;
      Specified by:
      getStartTimeNotEarlierThan in interface FlexibleTimeRangeOrBuilder
      Returns:
      The startTimeNotEarlierThan.
    • getStartTimeNotEarlierThanBytes

      public com.google.protobuf.ByteString getStartTimeNotEarlierThanBytes()
      optional string start_time_not_earlier_than = 490386497;
      Specified by:
      getStartTimeNotEarlierThanBytes in interface FlexibleTimeRangeOrBuilder
      Returns:
      The bytes for startTimeNotEarlierThan.
    • hasStartTimeNotLaterThan

      public boolean hasStartTimeNotLaterThan()
      optional string start_time_not_later_than = 212764853;
      Specified by:
      hasStartTimeNotLaterThan in interface FlexibleTimeRangeOrBuilder
      Returns:
      Whether the startTimeNotLaterThan field is set.
    • getStartTimeNotLaterThan

      public String getStartTimeNotLaterThan()
      optional string start_time_not_later_than = 212764853;
      Specified by:
      getStartTimeNotLaterThan in interface FlexibleTimeRangeOrBuilder
      Returns:
      The startTimeNotLaterThan.
    • getStartTimeNotLaterThanBytes

      public com.google.protobuf.ByteString getStartTimeNotLaterThanBytes()
      optional string start_time_not_later_than = 212764853;
      Specified by:
      getStartTimeNotLaterThanBytes in interface FlexibleTimeRangeOrBuilder
      Returns:
      The bytes for startTimeNotLaterThan.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static FlexibleTimeRange parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FlexibleTimeRange parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FlexibleTimeRange parseDelimitedFrom(InputStream input) throws IOException
      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

      public FlexibleTimeRange.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static FlexibleTimeRange.Builder newBuilder()
    • newBuilder

      public static FlexibleTimeRange.Builder newBuilder(FlexibleTimeRange prototype)
    • toBuilder

      public FlexibleTimeRange.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected FlexibleTimeRange.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static FlexibleTimeRange getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<FlexibleTimeRange> parser()
    • getParserForType

      public com.google.protobuf.Parser<FlexibleTimeRange> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public FlexibleTimeRange getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder