ConfigChange

com.google.api.config_change.ConfigChange
See theConfigChange companion object
final case class ConfigChange(element: String, oldValue: String, newValue: String, changeType: ChangeType, advices: Seq[Advice], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[ConfigChange]

Output generated from semantically comparing two versions of a service configuration.

Includes detailed information about a field that have changed with applicable advice about potential consequences for the change, such as backwards-incompatibility.

Attributes

advices

Collection of advice provided for this change, useful for determining the possible impact of this change.

changeType

The type for this change, either ADDED, REMOVED, or MODIFIED.

element

Object hierarchy path to the change, with levels separated by a '.' character. For repeated fields, an applicable unique identifier field is used for the index (usually selector, name, or id). For maps, the term 'key' is used. If the field has no unique identifier, the numeric index is used. Examples:

  • visibility.rules[selector=="google.LibraryService.ListBooks"].restriction
  • quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value
  • logging.producer_destinations[0]
newValue

Value of the changed object in the new Service configuration, in JSON format. This field will not be populated if ChangeType == REMOVED.

oldValue

Value of the changed object in the old Service configuration, in JSON format. This field will not be populated if ChangeType == ADDED.

Companion:
object
Source:
ConfigChange.scala
Graph
Supertypes
trait Updatable[ConfigChange]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

Attributes

Source:
ConfigChange.scala

Attributes

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

Attributes

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

Attributes

Source:
ConfigChange.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source:
ConfigChange.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:
ConfigChange.scala

Attributes

Source:
ConfigChange.scala

Attributes

Source:
ConfigChange.scala

Attributes

Source:
ConfigChange.scala

Attributes

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

Attributes

Source:
ConfigChange.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:
ConfigChange.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
def update(ms: Lens[ConfigChange, ConfigChange] => () => ConfigChange*): A

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