Package com.google.api
Class ConfigChange.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ConfigChange.Builder>
com.google.api.ConfigChange.Builder
- All Implemented Interfaces:
ConfigChangeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ConfigChange
public static final class ConfigChange.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionaddAdvices(int index, Advice value) Collection of advice provided for this change, useful for determining the possible impact of this change.addAdvices(int index, Advice.Builder builderForValue) Collection of advice provided for this change, useful for determining the possible impact of this change.addAdvices(Advice value) Collection of advice provided for this change, useful for determining the possible impact of this change.addAdvices(Advice.Builder builderForValue) Collection of advice provided for this change, useful for determining the possible impact of this change.Collection of advice provided for this change, useful for determining the possible impact of this change.addAdvicesBuilder(int index) Collection of advice provided for this change, useful for determining the possible impact of this change.addAllAdvices(Iterable<? extends Advice> values) Collection of advice provided for this change, useful for determining the possible impact of this change.build()clear()Collection of advice provided for this change, useful for determining the possible impact of this change.The type for this change, either ADDED, REMOVED, or MODIFIED.Object hierarchy path to the change, with levels separated by a '.'Value of the changed object in the new Service configuration, in JSON format.Value of the changed object in the old Service configuration, in JSON format.getAdvices(int index) Collection of advice provided for this change, useful for determining the possible impact of this change.getAdvicesBuilder(int index) Collection of advice provided for this change, useful for determining the possible impact of this change.Collection of advice provided for this change, useful for determining the possible impact of this change.intCollection of advice provided for this change, useful for determining the possible impact of this change.Collection of advice provided for this change, useful for determining the possible impact of this change.getAdvicesOrBuilder(int index) Collection of advice provided for this change, useful for determining the possible impact of this change.List<? extends AdviceOrBuilder>Collection of advice provided for this change, useful for determining the possible impact of this change.The type for this change, either ADDED, REMOVED, or MODIFIED.intThe type for this change, either ADDED, REMOVED, or MODIFIED.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorObject hierarchy path to the change, with levels separated by a '.'com.google.protobuf.ByteStringObject hierarchy path to the change, with levels separated by a '.'Value of the changed object in the new Service configuration, in JSON format.com.google.protobuf.ByteStringValue of the changed object in the new Service configuration, in JSON format.Value of the changed object in the old Service configuration, in JSON format.com.google.protobuf.ByteStringValue of the changed object in the old Service configuration, in JSON format.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ConfigChange other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeAdvices(int index) Collection of advice provided for this change, useful for determining the possible impact of this change.setAdvices(int index, Advice value) Collection of advice provided for this change, useful for determining the possible impact of this change.setAdvices(int index, Advice.Builder builderForValue) Collection of advice provided for this change, useful for determining the possible impact of this change.setChangeType(ChangeType value) The type for this change, either ADDED, REMOVED, or MODIFIED.setChangeTypeValue(int value) The type for this change, either ADDED, REMOVED, or MODIFIED.setElement(String value) Object hierarchy path to the change, with levels separated by a '.'setElementBytes(com.google.protobuf.ByteString value) Object hierarchy path to the change, with levels separated by a '.'setNewValue(String value) Value of the changed object in the new Service configuration, in JSON format.setNewValueBytes(com.google.protobuf.ByteString value) Value of the changed object in the new Service configuration, in JSON format.setOldValue(String value) Value of the changed object in the old Service configuration, in JSON format.setOldValueBytes(com.google.protobuf.ByteString value) Value of the changed object in the old Service configuration, in JSON format.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ConfigChange.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ConfigChange.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ConfigChange.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConfigChange.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ConfigChange.Builder>
-
mergeFrom
public ConfigChange.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConfigChange.Builder>- Throws:
IOException
-
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;- Specified by:
getElementin interfaceConfigChangeOrBuilder- Returns:
- The element.
-
getElementBytes
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.ListBooks"].restriction - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value - logging.producer_destinations[0]
string element = 1;- Specified by:
getElementBytesin interfaceConfigChangeOrBuilder- Returns:
- The bytes for element.
-
setElement
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;- Parameters:
value- The element to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setElementBytes
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;- Parameters:
value- The bytes for element to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getOldValuein interfaceConfigChangeOrBuilder- Returns:
- The oldValue.
-
getOldValueBytes
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;- Specified by:
getOldValueBytesin interfaceConfigChangeOrBuilder- Returns:
- The bytes for oldValue.
-
setOldValue
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;- Parameters:
value- The oldValue to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setOldValueBytes
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;- Parameters:
value- The bytes for oldValue to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getNewValuein interfaceConfigChangeOrBuilder- Returns:
- The newValue.
-
getNewValueBytes
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;- Specified by:
getNewValueBytesin interfaceConfigChangeOrBuilder- Returns:
- The bytes for newValue.
-
setNewValue
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;- Parameters:
value- The newValue to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setNewValueBytes
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;- Parameters:
value- The bytes for newValue to set.- Returns:
- This builder for chaining.
-
getChangeTypeValue
public int getChangeTypeValue()The type for this change, either ADDED, REMOVED, or MODIFIED.
.google.api.ChangeType change_type = 4;- Specified by:
getChangeTypeValuein interfaceConfigChangeOrBuilder- Returns:
- The enum numeric value on the wire for changeType.
-
setChangeTypeValue
The type for this change, either ADDED, REMOVED, or MODIFIED.
.google.api.ChangeType change_type = 4;- Parameters:
value- The enum numeric value on the wire for changeType to set.- Returns:
- This builder for chaining.
-
getChangeType
The type for this change, either ADDED, REMOVED, or MODIFIED.
.google.api.ChangeType change_type = 4;- Specified by:
getChangeTypein interfaceConfigChangeOrBuilder- Returns:
- The changeType.
-
setChangeType
The type for this change, either ADDED, REMOVED, or MODIFIED.
.google.api.ChangeType change_type = 4;- Parameters:
value- The changeType to set.- Returns:
- This builder for chaining.
-
clearChangeType
The type for this change, either ADDED, REMOVED, or MODIFIED.
.google.api.ChangeType change_type = 4;- Returns:
- This builder for chaining.
-
getAdvicesList
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5;- Specified by:
getAdvicesListin interfaceConfigChangeOrBuilder
-
getAdvicesCount
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;- Specified by:
getAdvicesCountin interfaceConfigChangeOrBuilder
-
getAdvices
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5;- Specified by:
getAdvicesin interfaceConfigChangeOrBuilder
-
setAdvices
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5; -
setAdvices
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5; -
addAdvices
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5; -
addAdvices
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5; -
addAdvices
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5; -
addAdvices
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5; -
addAllAdvices
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5; -
clearAdvices
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5; -
removeAdvices
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5; -
getAdvicesBuilder
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5; -
getAdvicesOrBuilder
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5;- Specified by:
getAdvicesOrBuilderin interfaceConfigChangeOrBuilder
-
getAdvicesOrBuilderList
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5;- Specified by:
getAdvicesOrBuilderListin interfaceConfigChangeOrBuilder
-
addAdvicesBuilder
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5; -
addAdvicesBuilder
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5; -
getAdvicesBuilderList
Collection of advice provided for this change, useful for determining the possible impact of this change.
repeated .google.api.Advice advices = 5;
-