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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ConfigChange.Builder>
public ConfigChange.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ConfigChange.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ConfigChange.Builder>
public ConfigChange getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ConfigChange build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ConfigChange buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ConfigChange.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ConfigChange.Builder>
public ConfigChange.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ConfigChange.Builder>
public ConfigChange.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ConfigChange.Builder>
public ConfigChange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ConfigChange.Builder>
public ConfigChange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ConfigChange.Builder>
public ConfigChange.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ConfigChange.Builder>
public ConfigChange.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ConfigChange.Builder>
public ConfigChange.Builder mergeFrom(ConfigChange other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ConfigChange.Builder>
public ConfigChange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ConfigChange.Builder>
java.io.IOException
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 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 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 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 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 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 ConfigChangeOrBuilder
public 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 ConfigChangeOrBuilder
public 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 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 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 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 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.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ConfigChange.Builder>
public final ConfigChange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ConfigChange.Builder>