ExpirationPolicy

com.google.pubsub.v1.pubsub.ExpirationPolicy
See theExpirationPolicy companion object
final case class ExpirationPolicy(ttl: Option[Duration], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[ExpirationPolicy]

A policy that specifies the conditions for resource expiration (i.e., automatic resource deletion).

Value parameters

ttl

Specifies the "time-to-live" duration for an associated resource. The resource expires if it is not active for a period of ttl. The definition of "activity" depends on the type of the associated resource. The minimum and maximum allowed values for ttl depend on the type of the associated resource, as well. If ttl is not set, the associated resource never expires.

Attributes

Companion
object
Source
ExpirationPolicy.scala
Graph
Supertypes
trait Updatable[ExpirationPolicy]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Attributes

Source
ExpirationPolicy.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

Source
ExpirationPolicy.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source
ExpirationPolicy.scala

Attributes

Source
ExpirationPolicy.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
ExpirationPolicy.scala

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

Source
ExpirationPolicy.scala

Attributes

Source
ExpirationPolicy.scala
def withUnknownFields(`__v`: UnknownFieldSet): ExpirationPolicy

Attributes

Source
ExpirationPolicy.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source
ExpirationPolicy.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala

Attributes

Inherited from:
Updatable
Source
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala