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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
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
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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 ConfigChangeOrBuilder
public 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 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 ConfigChangeOrBuilder
public 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 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 ConfigChangeOrBuilder
public 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 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 ConfigChangeOrBuilder
public 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 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 MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static ConfigChange parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ConfigChange parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ConfigChange parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ConfigChange parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ConfigChange parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ConfigChange parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ConfigChange parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ConfigChange parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ConfigChange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ConfigChange parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ConfigChange parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static ConfigChange parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public ConfigChange.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static ConfigChange.Builder newBuilder()
public static ConfigChange.Builder newBuilder(ConfigChange prototype)
public ConfigChange.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected ConfigChange.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static ConfigChange getDefaultInstance()
public static Parser<ConfigChange> parser()
public Parser<ConfigChange> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public ConfigChange getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder