public final class ConfigChange extends com.google.protobuf.GeneratedMessageV3 implements ConfigChangeOrBuilder
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.Protobuf type
google.api.ConfigChange
Modifier and Type | Class and Description |
---|---|
static class |
ConfigChange.Builder
Output generated from semantically comparing two versions of a service
configuration.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
ADVICES_FIELD_NUMBER |
static int |
CHANGE_TYPE_FIELD_NUMBER |
static int |
ELEMENT_FIELD_NUMBER |
static int |
NEW_VALUE_FIELD_NUMBER |
static int |
OLD_VALUE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Advice |
getAdvices(int index)
Collection of advice provided for this change, useful for determining the
possible impact of this change.
|
int |
getAdvicesCount()
Collection of advice provided for this change, useful for determining the
possible impact of this change.
|
List<Advice> |
getAdvicesList()
Collection of advice provided for this change, useful for determining the
possible impact of this change.
|
AdviceOrBuilder |
getAdvicesOrBuilder(int index)
Collection of advice provided for this change, useful for determining the
possible impact of this change.
|
List<? extends AdviceOrBuilder> |
getAdvicesOrBuilderList()
Collection of advice provided for this change, useful for determining the
possible impact of this change.
|
ChangeType |
getChangeType()
The type for this change, either ADDED, REMOVED, or MODIFIED.
|
int |
getChangeTypeValue()
The type for this change, either ADDED, REMOVED, or MODIFIED.
|
static ConfigChange |
getDefaultInstance() |
ConfigChange |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getElement()
Object hierarchy path to the change, with levels separated by a '.'
character.
|
com.google.protobuf.ByteString |
getElementBytes()
Object hierarchy path to the change, with levels separated by a '.'
character.
|
String |
getNewValue()
Value of the changed object in the new Service configuration,
in JSON format.
|
com.google.protobuf.ByteString |
getNewValueBytes()
Value of the changed object in the new Service configuration,
in JSON format.
|
String |
getOldValue()
Value of the changed object in the old Service configuration,
in JSON format.
|
com.google.protobuf.ByteString |
getOldValueBytes()
Value of the changed object in the old Service configuration,
in JSON format.
|
com.google.protobuf.Parser<ConfigChange> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ConfigChange.Builder |
newBuilder() |
static ConfigChange.Builder |
newBuilder(ConfigChange prototype) |
ConfigChange.Builder |
newBuilderForType() |
protected ConfigChange.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ConfigChange |
parseDelimitedFrom(InputStream input) |
static ConfigChange |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConfigChange |
parseFrom(byte[] data) |
static ConfigChange |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConfigChange |
parseFrom(ByteBuffer data) |
static ConfigChange |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConfigChange |
parseFrom(com.google.protobuf.ByteString data) |
static ConfigChange |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConfigChange |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ConfigChange |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConfigChange |
parseFrom(InputStream input) |
static ConfigChange |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ConfigChange> |
parser() |
ConfigChange.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int ELEMENT_FIELD_NUMBER
public static final int OLD_VALUE_FIELD_NUMBER
public static final int NEW_VALUE_FIELD_NUMBER
public static final int CHANGE_TYPE_FIELD_NUMBER
public static final int ADVICES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public String getElement()
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]
string element = 1;
getElement
in interface ConfigChangeOrBuilder
public com.google.protobuf.ByteString getElementBytes()
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]
string element = 1;
getElementBytes
in interface ConfigChangeOrBuilder
public String getOldValue()
Value of the changed object in the old Service configuration, in JSON format. This field will not be populated if ChangeType == ADDED.
string old_value = 2;
getOldValue
in interface ConfigChangeOrBuilder
public com.google.protobuf.ByteString getOldValueBytes()
Value of the changed object in the old Service configuration, in JSON format. This field will not be populated if ChangeType == ADDED.
string old_value = 2;
getOldValueBytes
in interface ConfigChangeOrBuilder
public String getNewValue()
Value of the changed object in the new Service configuration, in JSON format. This field will not be populated if ChangeType == REMOVED.
string new_value = 3;
getNewValue
in interface ConfigChangeOrBuilder
public com.google.protobuf.ByteString getNewValueBytes()
Value of the changed object in the new Service configuration, in JSON format. This field will not be populated if ChangeType == REMOVED.
string new_value = 3;
getNewValueBytes
in interface ConfigChangeOrBuilder
public int getChangeTypeValue()
The type for this change, either ADDED, REMOVED, or MODIFIED.
.google.api.ChangeType change_type = 4;
getChangeTypeValue
in interface ConfigChangeOrBuilder
public ChangeType getChangeType()
The type for this change, either ADDED, REMOVED, or MODIFIED.
.google.api.ChangeType change_type = 4;
getChangeType
in interface ConfigChangeOrBuilder
public List<Advice> getAdvicesList()
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5;
getAdvicesList
in interface ConfigChangeOrBuilder
public List<? extends AdviceOrBuilder> getAdvicesOrBuilderList()
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5;
getAdvicesOrBuilderList
in interface ConfigChangeOrBuilder
public int getAdvicesCount()
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5;
getAdvicesCount
in interface ConfigChangeOrBuilder
public Advice getAdvices(int index)
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5;
getAdvices
in interface ConfigChangeOrBuilder
public AdviceOrBuilder getAdvicesOrBuilder(int index)
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5;
getAdvicesOrBuilder
in interface ConfigChangeOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static ConfigChange parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ConfigChange parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ConfigChange parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ConfigChange parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ConfigChange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ConfigChange parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ConfigChange parseFrom(InputStream input) throws IOException
IOException
public static ConfigChange parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ConfigChange parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ConfigChange parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ConfigChange parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ConfigChange parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ConfigChange.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ConfigChange.Builder newBuilder()
public static ConfigChange.Builder newBuilder(ConfigChange prototype)
public ConfigChange.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected ConfigChange.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static ConfigChange getDefaultInstance()
public static com.google.protobuf.Parser<ConfigChange> parser()
public com.google.protobuf.Parser<ConfigChange> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public ConfigChange getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2021 Google LLC. All rights reserved.