Class DeprecationStatus

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.DeprecationStatus
All Implemented Interfaces:
DeprecationStatusOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DeprecationStatus extends com.google.protobuf.GeneratedMessage implements DeprecationStatusOrBuilder
 Deprecation status for a public resource.
 
Protobuf type google.cloud.compute.v1.DeprecationStatus
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Deprecation status for a public resource.
    static enum 
    The deprecation state of this resource.

    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
     
    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
     
     
     
    An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED.
    com.google.protobuf.ByteString
    An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED.
    An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED.
    com.google.protobuf.ByteString
    An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED.
    static final com.google.protobuf.Descriptors.Descriptor
     
    An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE.
    com.google.protobuf.ByteString
    An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE.
    com.google.protobuf.Parser<DeprecationStatus>
     
    The URL of the suggested replacement for a deprecated resource.
    com.google.protobuf.ByteString
    The URL of the suggested replacement for a deprecated resource.
    int
     
    The deprecation state of this resource.
    com.google.protobuf.ByteString
    The deprecation state of this resource.
    boolean
    An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED.
    boolean
    An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED.
    int
     
    boolean
    An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE.
    boolean
    The URL of the suggested replacement for a deprecated resource.
    boolean
    The deprecation state of this resource.
    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<DeprecationStatus>
     
     
    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

  • 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
    • hasDeleted

      public boolean hasDeleted()
       An optional RFC3339 timestamp on or after which the state of this
       resource is intended to change to DELETED. This is only
       informational and the status will not change unless the client explicitly
       changes it.
       
      optional string deleted = 476721177;
      Specified by:
      hasDeleted in interface DeprecationStatusOrBuilder
      Returns:
      Whether the deleted field is set.
    • getDeleted

      public String getDeleted()
       An optional RFC3339 timestamp on or after which the state of this
       resource is intended to change to DELETED. This is only
       informational and the status will not change unless the client explicitly
       changes it.
       
      optional string deleted = 476721177;
      Specified by:
      getDeleted in interface DeprecationStatusOrBuilder
      Returns:
      The deleted.
    • getDeletedBytes

      public com.google.protobuf.ByteString getDeletedBytes()
       An optional RFC3339 timestamp on or after which the state of this
       resource is intended to change to DELETED. This is only
       informational and the status will not change unless the client explicitly
       changes it.
       
      optional string deleted = 476721177;
      Specified by:
      getDeletedBytes in interface DeprecationStatusOrBuilder
      Returns:
      The bytes for deleted.
    • hasDeprecated

      public boolean hasDeprecated()
       An optional RFC3339 timestamp on or after which the state of this
       resource is intended to change to DEPRECATED. This is only
       informational and the status will not change unless the client explicitly
       changes it.
       
      optional string deprecated = 515138995;
      Specified by:
      hasDeprecated in interface DeprecationStatusOrBuilder
      Returns:
      Whether the deprecated field is set.
    • getDeprecated

      public String getDeprecated()
       An optional RFC3339 timestamp on or after which the state of this
       resource is intended to change to DEPRECATED. This is only
       informational and the status will not change unless the client explicitly
       changes it.
       
      optional string deprecated = 515138995;
      Specified by:
      getDeprecated in interface DeprecationStatusOrBuilder
      Returns:
      The deprecated.
    • getDeprecatedBytes

      public com.google.protobuf.ByteString getDeprecatedBytes()
       An optional RFC3339 timestamp on or after which the state of this
       resource is intended to change to DEPRECATED. This is only
       informational and the status will not change unless the client explicitly
       changes it.
       
      optional string deprecated = 515138995;
      Specified by:
      getDeprecatedBytes in interface DeprecationStatusOrBuilder
      Returns:
      The bytes for deprecated.
    • hasObsolete

      public boolean hasObsolete()
       An optional RFC3339 timestamp on or after which the state of this
       resource is intended to change to OBSOLETE. This is only
       informational and the status will not change unless the client explicitly
       changes it.
       
      optional string obsolete = 357647769;
      Specified by:
      hasObsolete in interface DeprecationStatusOrBuilder
      Returns:
      Whether the obsolete field is set.
    • getObsolete

      public String getObsolete()
       An optional RFC3339 timestamp on or after which the state of this
       resource is intended to change to OBSOLETE. This is only
       informational and the status will not change unless the client explicitly
       changes it.
       
      optional string obsolete = 357647769;
      Specified by:
      getObsolete in interface DeprecationStatusOrBuilder
      Returns:
      The obsolete.
    • getObsoleteBytes

      public com.google.protobuf.ByteString getObsoleteBytes()
       An optional RFC3339 timestamp on or after which the state of this
       resource is intended to change to OBSOLETE. This is only
       informational and the status will not change unless the client explicitly
       changes it.
       
      optional string obsolete = 357647769;
      Specified by:
      getObsoleteBytes in interface DeprecationStatusOrBuilder
      Returns:
      The bytes for obsolete.
    • hasReplacement

      public boolean hasReplacement()
       The URL of the suggested replacement for a deprecated resource.
       The suggested replacement resource must be the same kind of resource as the
       deprecated resource.
       
      optional string replacement = 430919186;
      Specified by:
      hasReplacement in interface DeprecationStatusOrBuilder
      Returns:
      Whether the replacement field is set.
    • getReplacement

      public String getReplacement()
       The URL of the suggested replacement for a deprecated resource.
       The suggested replacement resource must be the same kind of resource as the
       deprecated resource.
       
      optional string replacement = 430919186;
      Specified by:
      getReplacement in interface DeprecationStatusOrBuilder
      Returns:
      The replacement.
    • getReplacementBytes

      public com.google.protobuf.ByteString getReplacementBytes()
       The URL of the suggested replacement for a deprecated resource.
       The suggested replacement resource must be the same kind of resource as the
       deprecated resource.
       
      optional string replacement = 430919186;
      Specified by:
      getReplacementBytes in interface DeprecationStatusOrBuilder
      Returns:
      The bytes for replacement.
    • hasState

      public boolean hasState()
       The deprecation state of this resource. This can be ACTIVE,DEPRECATED, OBSOLETE, or DELETED.
       Operations which communicate the end of life date for an image, can useACTIVE. Operations which create a new resource using aDEPRECATED resource will return successfully, but with a
       warning indicating the deprecated resource and recommending its
       replacement. Operations which use OBSOLETE orDELETED resources will be rejected and result in an error.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Specified by:
      hasState in interface DeprecationStatusOrBuilder
      Returns:
      Whether the state field is set.
    • getState

      public String getState()
       The deprecation state of this resource. This can be ACTIVE,DEPRECATED, OBSOLETE, or DELETED.
       Operations which communicate the end of life date for an image, can useACTIVE. Operations which create a new resource using aDEPRECATED resource will return successfully, but with a
       warning indicating the deprecated resource and recommending its
       replacement. Operations which use OBSOLETE orDELETED resources will be rejected and result in an error.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Specified by:
      getState in interface DeprecationStatusOrBuilder
      Returns:
      The state.
    • getStateBytes

      public com.google.protobuf.ByteString getStateBytes()
       The deprecation state of this resource. This can be ACTIVE,DEPRECATED, OBSOLETE, or DELETED.
       Operations which communicate the end of life date for an image, can useACTIVE. Operations which create a new resource using aDEPRECATED resource will return successfully, but with a
       warning indicating the deprecated resource and recommending its
       replacement. Operations which use OBSOLETE orDELETED resources will be rejected and result in an error.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Specified by:
      getStateBytes in interface DeprecationStatusOrBuilder
      Returns:
      The bytes for state.
    • 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 DeprecationStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

      public static DeprecationStatus parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static DeprecationStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DeprecationStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static DeprecationStatus.Builder newBuilder()
    • newBuilder

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

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

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

      public static DeprecationStatus getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<DeprecationStatus> 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 DeprecationStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder