public static final class ConfigChange.Builder extends com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.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 com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.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.
|
java.lang.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.
|
java.lang.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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ConfigChange.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ConfigChange.Builder |
mergeFrom(ConfigChange other) |
ConfigChange.Builder |
mergeFrom(com.google.protobuf.Message other) |
ConfigChange.Builder |
mergeUnknownFields(com.google.protobuf.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(com.google.protobuf.ByteString value)
Object hierarchy path to the change, with levels separated by a '.'
character.
|
ConfigChange.Builder |
setField(com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.ByteString value)
Value of the changed object in the old Service configuration,
in JSON format.
|
ConfigChange.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ConfigChange.Builder |
setUnknownFields(com.google.protobuf.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
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigChange.Builder>
public ConfigChange.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigChange.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigChange.Builder>
public ConfigChange getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ConfigChange build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ConfigChange buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ConfigChange.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigChange.Builder>
public ConfigChange.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigChange.Builder>
public ConfigChange.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigChange.Builder>
public ConfigChange.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigChange.Builder>
public ConfigChange.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigChange.Builder>
public ConfigChange.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigChange.Builder>
public ConfigChange.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ConfigChange.Builder>
public ConfigChange.Builder mergeFrom(ConfigChange other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigChange.Builder>
public ConfigChange.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.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.CreateBook"].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.CreateBook"].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.CreateBook"].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.CreateBook"].restriction - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value - logging.producer_destinations[0]
string element = 1;
public ConfigChange.Builder setElementBytes(com.google.protobuf.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.CreateBook"].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 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 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(com.google.protobuf.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 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 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(com.google.protobuf.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(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigChange.Builder>
public final ConfigChange.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigChange.Builder>