public static final class ConfigChange.Builder extends GeneratedMessageV3.Builder<ConfigChange.Builder> 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 | Method and Description |
|---|---|
ConfigChange.Builder |
addAdvices(Advice.Builder builderForValue)
Collection of advice provided for this change, useful for determining the
possible impact of this change.
|
ConfigChange.Builder |
addAdvices(Advice value)
Collection of advice provided for this change, useful for determining the
possible impact of this change.
|
ConfigChange.Builder |
addAdvices(int index,
Advice.Builder builderForValue)
Collection of advice provided for this change, useful for determining the
possible impact of this change.
|
ConfigChange.Builder |
addAdvices(int index,
Advice value)
Collection of advice provided for this change, useful for determining the
possible impact of this change.
|
Advice.Builder |
addAdvicesBuilder()
Collection of advice provided for this change, useful for determining the
possible impact of this change.
|
Advice.Builder |
addAdvicesBuilder(int index)
Collection of advice provided for this change, useful for determining the
possible impact of this change.
|
ConfigChange.Builder |
addAllAdvices(java.lang.Iterable<? extends Advice> values)
Collection of advice provided for this change, useful for determining the
possible impact of this change.
|
ConfigChange.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
ConfigChange |
build() |
ConfigChange |
buildPartial() |
ConfigChange.Builder |
clear() |
ConfigChange.Builder |
clearAdvices()
Collection of advice provided for this change, useful for determining the
possible impact of this change.
|
ConfigChange.Builder |
clearChangeType()
The type for this change, either ADDED, REMOVED, or MODIFIED.
|
ConfigChange.Builder |
clearElement()
Object hierarchy path to the change, with levels separated by a '.'
character.
|
ConfigChange.Builder |
clearField(Descriptors.FieldDescriptor field) |
ConfigChange.Builder |
clearNewValue()
Value of the changed object in the new Service configuration,
in JSON format.
|
ConfigChange.Builder |
clearOldValue()
Value of the changed object in the old Service configuration,
in JSON format.
|
ConfigChange.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ConfigChange.Builder |
clone() |
Advice |
getAdvices(int index)
Collection of advice provided for this change, useful for determining the
possible impact of this change.
|
Advice.Builder |
getAdvicesBuilder(int index)
Collection of advice provided for this change, useful for determining the
possible impact of this change.
|
java.util.List<Advice.Builder> |
getAdvicesBuilderList()
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.
|
ConfigChange |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
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.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ConfigChange.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ConfigChange.Builder |
mergeFrom(ConfigChange other) |
ConfigChange.Builder |
mergeFrom(Message other) |
ConfigChange.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ConfigChange.Builder |
removeAdvices(int index)
Collection of advice provided for this change, useful for determining the
possible impact of this change.
|
ConfigChange.Builder |
setAdvices(int index,
Advice.Builder builderForValue)
Collection of advice provided for this change, useful for determining the
possible impact of this change.
|
ConfigChange.Builder |
setAdvices(int index,
Advice value)
Collection of advice provided for this change, useful for determining the
possible impact of this change.
|
ConfigChange.Builder |
setChangeType(ChangeType value)
The type for this change, either ADDED, REMOVED, or MODIFIED.
|
ConfigChange.Builder |
setChangeTypeValue(int value)
The type for this change, either ADDED, REMOVED, or MODIFIED.
|
ConfigChange.Builder |
setElement(java.lang.String value)
Object hierarchy path to the change, with levels separated by a '.'
character.
|
ConfigChange.Builder |
setElementBytes(ByteString value)
Object hierarchy path to the change, with levels separated by a '.'
character.
|
ConfigChange.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
ConfigChange.Builder |
setNewValue(java.lang.String value)
Value of the changed object in the new Service configuration,
in JSON format.
|
ConfigChange.Builder |
setNewValueBytes(ByteString value)
Value of the changed object in the new Service configuration,
in JSON format.
|
ConfigChange.Builder |
setOldValue(java.lang.String value)
Value of the changed object in the old Service configuration,
in JSON format.
|
ConfigChange.Builder |
setOldValueBytes(ByteString value)
Value of the changed object in the old Service configuration,
in JSON format.
|
ConfigChange.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ConfigChange.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<ConfigChange.Builder>public ConfigChange.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<ConfigChange.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<ConfigChange.Builder>public ConfigChange getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic ConfigChange build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic ConfigChange buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic ConfigChange.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<ConfigChange.Builder>public ConfigChange.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<ConfigChange.Builder>public ConfigChange.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<ConfigChange.Builder>public ConfigChange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<ConfigChange.Builder>public ConfigChange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<ConfigChange.Builder>public ConfigChange.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<ConfigChange.Builder>public ConfigChange.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<ConfigChange.Builder>public ConfigChange.Builder mergeFrom(ConfigChange other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<ConfigChange.Builder>public ConfigChange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<ConfigChange.Builder>java.io.IOExceptionpublic 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 ConfigChange.Builder setElement(java.lang.String value)
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;public ConfigChange.Builder clearElement()
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;public ConfigChange.Builder setElementBytes(ByteString value)
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;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 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 ConfigChange.Builder setOldValue(java.lang.String value)
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;public ConfigChange.Builder clearOldValue()
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;public ConfigChange.Builder setOldValueBytes(ByteString value)
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;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 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 ConfigChange.Builder setNewValue(java.lang.String value)
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;public ConfigChange.Builder clearNewValue()
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;public ConfigChange.Builder setNewValueBytes(ByteString value)
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;public int getChangeTypeValue()
The type for this change, either ADDED, REMOVED, or MODIFIED.
.google.api.ChangeType change_type = 4;getChangeTypeValue in interface ConfigChangeOrBuilderpublic ConfigChange.Builder setChangeTypeValue(int value)
The type for this change, either ADDED, REMOVED, or MODIFIED.
.google.api.ChangeType change_type = 4;public ChangeType getChangeType()
The type for this change, either ADDED, REMOVED, or MODIFIED.
.google.api.ChangeType change_type = 4;getChangeType in interface ConfigChangeOrBuilderpublic ConfigChange.Builder setChangeType(ChangeType value)
The type for this change, either ADDED, REMOVED, or MODIFIED.
.google.api.ChangeType change_type = 4;public ConfigChange.Builder clearChangeType()
The type for this change, either ADDED, REMOVED, or MODIFIED.
.google.api.ChangeType change_type = 4;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 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 ConfigChange.Builder setAdvices(int index, Advice value)
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5;public ConfigChange.Builder setAdvices(int index, Advice.Builder builderForValue)
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5;public ConfigChange.Builder addAdvices(Advice value)
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5;public ConfigChange.Builder addAdvices(int index, Advice value)
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5;public ConfigChange.Builder addAdvices(Advice.Builder builderForValue)
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5;public ConfigChange.Builder addAdvices(int index, Advice.Builder builderForValue)
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5;public ConfigChange.Builder addAllAdvices(java.lang.Iterable<? extends Advice> values)
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5;public ConfigChange.Builder clearAdvices()
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5;public ConfigChange.Builder removeAdvices(int index)
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5;public Advice.Builder getAdvicesBuilder(int index)
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5;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 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 Advice.Builder addAdvicesBuilder()
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5;public Advice.Builder addAdvicesBuilder(int index)
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5;public java.util.List<Advice.Builder> getAdvicesBuilderList()
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5;public final ConfigChange.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<ConfigChange.Builder>public final ConfigChange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<ConfigChange.Builder>