public final class ConfigChange extends 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.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| 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 |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.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.
|
java.util.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.
|
java.util.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 Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getElement()
Object hierarchy path to the change, with levels separated by a '.'
character.
|
ByteString |
getElementBytes()
Object hierarchy path to the change, with levels separated by a '.'
character.
|
java.lang.String |
getNewValue()
Value of the changed object in the new Service configuration,
in JSON format.
|
ByteString |
getNewValueBytes()
Value of the changed object in the new Service configuration,
in JSON format.
|
java.lang.String |
getOldValue()
Value of the changed object in the old Service configuration,
in JSON format.
|
ByteString |
getOldValueBytes()
Value of the changed object in the old Service configuration,
in JSON format.
|
Parser<ConfigChange> |
getParserForType() |
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ConfigChange.Builder |
newBuilder() |
static ConfigChange.Builder |
newBuilder(ConfigChange prototype) |
ConfigChange.Builder |
newBuilderForType() |
protected ConfigChange.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static ConfigChange |
parseDelimitedFrom(java.io.InputStream input) |
static ConfigChange |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static ConfigChange |
parseFrom(byte[] data) |
static ConfigChange |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static ConfigChange |
parseFrom(java.nio.ByteBuffer data) |
static ConfigChange |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static ConfigChange |
parseFrom(ByteString data) |
static ConfigChange |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static ConfigChange |
parseFrom(CodedInputStream input) |
static ConfigChange |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static ConfigChange |
parseFrom(java.io.InputStream input) |
static ConfigChange |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<ConfigChange> |
parser() |
ConfigChange.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic 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
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public java.lang.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 ConfigChangeOrBuilderpublic 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 ConfigChangeOrBuilderpublic java.lang.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 ConfigChangeOrBuilderpublic 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 ConfigChangeOrBuilderpublic java.lang.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 ConfigChangeOrBuilderpublic 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 ConfigChangeOrBuilderpublic int getChangeTypeValue()
The type for this change, either ADDED, REMOVED, or MODIFIED.
.google.api.ChangeType change_type = 4;getChangeTypeValue in interface ConfigChangeOrBuilderpublic ChangeType getChangeType()
The type for this change, either ADDED, REMOVED, or MODIFIED.
.google.api.ChangeType change_type = 4;getChangeType in interface ConfigChangeOrBuilderpublic java.util.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 ConfigChangeOrBuilderpublic java.util.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 ConfigChangeOrBuilderpublic 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 ConfigChangeOrBuilderpublic 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 ConfigChangeOrBuilderpublic 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 ConfigChangeOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static ConfigChange parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ConfigChange parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ConfigChange parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ConfigChange parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ConfigChange parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ConfigChange parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ConfigChange parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ConfigChange parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ConfigChange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ConfigChange parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ConfigChange parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ConfigChange parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic ConfigChange.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static ConfigChange.Builder newBuilder()
public static ConfigChange.Builder newBuilder(ConfigChange prototype)
public ConfigChange.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected ConfigChange.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static ConfigChange getDefaultInstance()
public static Parser<ConfigChange> parser()
public Parser<ConfigChange> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public ConfigChange getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder