Class QueuedResource.QueueingPolicy

    • Field Detail

      • VALID_UNTIL_DURATION_FIELD_NUMBER

        public static final int VALID_UNTIL_DURATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • VALID_UNTIL_TIME_FIELD_NUMBER

        public static final int VALID_UNTIL_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • VALID_AFTER_DURATION_FIELD_NUMBER

        public static final int VALID_AFTER_DURATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • VALID_AFTER_TIME_FIELD_NUMBER

        public static final int VALID_AFTER_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • VALID_INTERVAL_FIELD_NUMBER

        public static final int VALID_INTERVAL_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasValidUntilDuration

        public boolean hasValidUntilDuration()
         A relative time after which resources should not be created.
         If the request cannot be fulfilled by this time the request will be
         failed.
         
        .google.protobuf.Duration valid_until_duration = 1;
        Specified by:
        hasValidUntilDuration in interface QueuedResource.QueueingPolicyOrBuilder
        Returns:
        Whether the validUntilDuration field is set.
      • getValidUntilDuration

        public com.google.protobuf.Duration getValidUntilDuration()
         A relative time after which resources should not be created.
         If the request cannot be fulfilled by this time the request will be
         failed.
         
        .google.protobuf.Duration valid_until_duration = 1;
        Specified by:
        getValidUntilDuration in interface QueuedResource.QueueingPolicyOrBuilder
        Returns:
        The validUntilDuration.
      • getValidUntilDurationOrBuilder

        public com.google.protobuf.DurationOrBuilder getValidUntilDurationOrBuilder()
         A relative time after which resources should not be created.
         If the request cannot be fulfilled by this time the request will be
         failed.
         
        .google.protobuf.Duration valid_until_duration = 1;
        Specified by:
        getValidUntilDurationOrBuilder in interface QueuedResource.QueueingPolicyOrBuilder
      • hasValidUntilTime

        public boolean hasValidUntilTime()
         An absolute time after which resources should not be created.
         If the request cannot be fulfilled by this time the request will be
         failed.
         
        .google.protobuf.Timestamp valid_until_time = 2;
        Specified by:
        hasValidUntilTime in interface QueuedResource.QueueingPolicyOrBuilder
        Returns:
        Whether the validUntilTime field is set.
      • getValidUntilTime

        public com.google.protobuf.Timestamp getValidUntilTime()
         An absolute time after which resources should not be created.
         If the request cannot be fulfilled by this time the request will be
         failed.
         
        .google.protobuf.Timestamp valid_until_time = 2;
        Specified by:
        getValidUntilTime in interface QueuedResource.QueueingPolicyOrBuilder
        Returns:
        The validUntilTime.
      • getValidUntilTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getValidUntilTimeOrBuilder()
         An absolute time after which resources should not be created.
         If the request cannot be fulfilled by this time the request will be
         failed.
         
        .google.protobuf.Timestamp valid_until_time = 2;
        Specified by:
        getValidUntilTimeOrBuilder in interface QueuedResource.QueueingPolicyOrBuilder
      • hasValidAfterDuration

        public boolean hasValidAfterDuration()
         A relative time after which resources may be created.
         
        .google.protobuf.Duration valid_after_duration = 3;
        Specified by:
        hasValidAfterDuration in interface QueuedResource.QueueingPolicyOrBuilder
        Returns:
        Whether the validAfterDuration field is set.
      • getValidAfterDuration

        public com.google.protobuf.Duration getValidAfterDuration()
         A relative time after which resources may be created.
         
        .google.protobuf.Duration valid_after_duration = 3;
        Specified by:
        getValidAfterDuration in interface QueuedResource.QueueingPolicyOrBuilder
        Returns:
        The validAfterDuration.
      • hasValidAfterTime

        public boolean hasValidAfterTime()
         An absolute time at which resources may be created.
         
        .google.protobuf.Timestamp valid_after_time = 4;
        Specified by:
        hasValidAfterTime in interface QueuedResource.QueueingPolicyOrBuilder
        Returns:
        Whether the validAfterTime field is set.
      • getValidAfterTime

        public com.google.protobuf.Timestamp getValidAfterTime()
         An absolute time at which resources may be created.
         
        .google.protobuf.Timestamp valid_after_time = 4;
        Specified by:
        getValidAfterTime in interface QueuedResource.QueueingPolicyOrBuilder
        Returns:
        The validAfterTime.
      • hasValidInterval

        public boolean hasValidInterval()
         An absolute time interval within which resources may be created.
         
        .google.type.Interval valid_interval = 5;
        Specified by:
        hasValidInterval in interface QueuedResource.QueueingPolicyOrBuilder
        Returns:
        Whether the validInterval field is set.
      • getValidInterval

        public com.google.type.Interval getValidInterval()
         An absolute time interval within which resources may be created.
         
        .google.type.Interval valid_interval = 5;
        Specified by:
        getValidInterval in interface QueuedResource.QueueingPolicyOrBuilder
        Returns:
        The validInterval.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • 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 QueuedResource.QueueingPolicy parseFrom​(ByteBuffer data)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static QueuedResource.QueueingPolicy parseFrom​(ByteBuffer data,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static QueuedResource.QueueingPolicy parseFrom​(com.google.protobuf.ByteString data)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static QueuedResource.QueueingPolicy parseFrom​(com.google.protobuf.ByteString data,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static QueuedResource.QueueingPolicy parseFrom​(byte[] data)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static QueuedResource.QueueingPolicy parseFrom​(byte[] data,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

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

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

        protected QueuedResource.QueueingPolicy.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<QueuedResource.QueueingPolicy> 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.GeneratedMessageV3
      • getDefaultInstanceForType

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