final case class ConfigChange(element: String = "", oldValue: String = "", newValue: String = "", changeType: ChangeType = ..., advices: Seq[Advice] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[ConfigChange] with Product with Serializable
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.
- 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]
- oldValue
Value of the changed object in the old Service configuration, in JSON format. This field will not be populated if ChangeType == ADDED.
- newValue
Value of the changed object in the new Service configuration, in JSON format. This field will not be populated if ChangeType == REMOVED.
- changeType
The type for this change, either ADDED, REMOVED, or MODIFIED.
- advices
Collection of advice provided for this change, useful for determining the possible impact of this change.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- ConfigChange
- Product
- Equals
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ConfigChange(element: String = "", oldValue: String = "", newValue: String = "", changeType: ChangeType = ..., advices: Seq[Advice] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = ...)
- 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]
- oldValue
Value of the changed object in the old Service configuration, in JSON format. This field will not be populated if ChangeType == ADDED.
- newValue
Value of the changed object in the new Service configuration, in JSON format. This field will not be populated if ChangeType == REMOVED.
- changeType
The type for this change, either ADDED, REMOVED, or MODIFIED.
- advices
Collection of advice provided for this change, useful for determining the possible impact of this change.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAdvices(__vs: Advice*): ConfigChange
- def addAllAdvices(__vs: Iterable[Advice]): ConfigChange
- val advices: Seq[Advice]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val changeType: ChangeType
- def clearAdvices: ConfigChange
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
companion: ConfigChange.type
- Definition Classes
- ConfigChange → GeneratedMessage
- def discardUnknownFields: ConfigChange
- val element: String
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- ConfigChange → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- ConfigChange → GeneratedMessage
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val newValue: String
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val oldValue: String
-
def
serializedSize: Int
- Definition Classes
- ConfigChange → GeneratedMessage
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
-
final
def
toByteString: ByteString
- Definition Classes
- GeneratedMessage
-
final
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
- Definition Classes
- ConfigChange → GeneratedMessage
- val unknownFields: UnknownFieldSet
-
def
update(ms: (Lens[ConfigChange, ConfigChange]) ⇒ Mutation[ConfigChange]*): ConfigChange
- Definition Classes
- Updatable
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withAdvices(__v: Seq[Advice]): ConfigChange
- def withChangeType(__v: ChangeType): ConfigChange
- def withElement(__v: String): ConfigChange
- def withNewValue(__v: String): ConfigChange
- def withOldValue(__v: String): ConfigChange
- def withUnknownFields(__v: UnknownFieldSet): ConfigChange
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- ConfigChange → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage