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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ConfigChange.BuilderImplements
ConfigChangeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAdvices(Advice value)
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;
Name | Description |
value | Advice |
Type | Description |
ConfigChange.Builder |
addAdvices(Advice.Builder builderForValue)
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;
Name | Description |
builderForValue | Advice.Builder |
Type | Description |
ConfigChange.Builder |
addAdvices(int index, Advice value)
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;
Name | Description |
index | int |
value | Advice |
Type | Description |
ConfigChange.Builder |
addAdvices(int index, Advice.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | Advice.Builder |
Type | Description |
ConfigChange.Builder |
addAdvicesBuilder()
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;
Type | Description |
Advice.Builder |
addAdvicesBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
Advice.Builder |
addAllAdvices(Iterable<? extends Advice> values)
public ConfigChange.Builder addAllAdvices(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;
Name | Description |
values | Iterable<? extends com.google.api.Advice> |
Type | Description |
ConfigChange.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConfigChange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ConfigChange.Builder |
build()
public ConfigChange build()
Type | Description |
ConfigChange |
buildPartial()
public ConfigChange buildPartial()
Type | Description |
ConfigChange |
clear()
public ConfigChange.Builder clear()
Type | Description |
ConfigChange.Builder |
clearAdvices()
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;
Type | Description |
ConfigChange.Builder |
clearChangeType()
public ConfigChange.Builder clearChangeType()
The type for this change, either ADDED, REMOVED, or MODIFIED.
.google.api.ChangeType change_type = 4;
Type | Description |
ConfigChange.Builder | This builder for chaining. |
clearElement()
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;
Type | Description |
ConfigChange.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ConfigChange.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ConfigChange.Builder |
clearNewValue()
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;
Type | Description |
ConfigChange.Builder | This builder for chaining. |
clearOldValue()
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;
Type | Description |
ConfigChange.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ConfigChange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ConfigChange.Builder |
clone()
public ConfigChange.Builder clone()
Type | Description |
ConfigChange.Builder |
getAdvices(int index)
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;
Name | Description |
index | int |
Type | Description |
Advice |
getAdvicesBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
Advice.Builder |
getAdvicesBuilderList()
public 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;
Type | Description |
List<Builder> |
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;
Type | Description |
int |
getAdvicesList()
public 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;
Type | Description |
List<Advice> |
getAdvicesOrBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
AdviceOrBuilder |
getAdvicesOrBuilderList()
public 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;
Type | Description |
List<? extends com.google.api.AdviceOrBuilder> |
getChangeType()
public ChangeType getChangeType()
The type for this change, either ADDED, REMOVED, or MODIFIED.
.google.api.ChangeType change_type = 4;
Type | Description |
ChangeType | The changeType. |
getChangeTypeValue()
public int getChangeTypeValue()
The type for this change, either ADDED, REMOVED, or MODIFIED.
.google.api.ChangeType change_type = 4;
Type | Description |
int | The enum numeric value on the wire for changeType. |
getDefaultInstanceForType()
public ConfigChange getDefaultInstanceForType()
Type | Description |
ConfigChange |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getElement()
public 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;
Type | Description |
String | The element. |
getElementBytes()
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;
Type | Description |
ByteString | The bytes for element. |
getNewValue()
public 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;
Type | Description |
String | The newValue. |
getNewValueBytes()
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;
Type | Description |
ByteString | The bytes for newValue. |
getOldValue()
public 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;
Type | Description |
String | The oldValue. |
getOldValueBytes()
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;
Type | Description |
ByteString | The bytes for oldValue. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ConfigChange other)
public ConfigChange.Builder mergeFrom(ConfigChange other)
Name | Description |
other | ConfigChange |
Type | Description |
ConfigChange.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConfigChange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ConfigChange.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ConfigChange.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ConfigChange.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConfigChange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ConfigChange.Builder |
removeAdvices(int index)
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;
Name | Description |
index | int |
Type | Description |
ConfigChange.Builder |
setAdvices(int index, Advice value)
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;
Name | Description |
index | int |
value | Advice |
Type | Description |
ConfigChange.Builder |
setAdvices(int index, Advice.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | Advice.Builder |
Type | Description |
ConfigChange.Builder |
setChangeType(ChangeType value)
public ConfigChange.Builder setChangeType(ChangeType value)
The type for this change, either ADDED, REMOVED, or MODIFIED.
.google.api.ChangeType change_type = 4;
Name | Description |
value | ChangeType The changeType to set. |
Type | Description |
ConfigChange.Builder | This builder for chaining. |
setChangeTypeValue(int value)
public ConfigChange.Builder setChangeTypeValue(int value)
The type for this change, either ADDED, REMOVED, or MODIFIED.
.google.api.ChangeType change_type = 4;
Name | Description |
value | int The enum numeric value on the wire for changeType to set. |
Type | Description |
ConfigChange.Builder | This builder for chaining. |
setElement(String value)
public ConfigChange.Builder setElement(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;
Name | Description |
value | String The element to set. |
Type | Description |
ConfigChange.Builder | This builder for chaining. |
setElementBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for element to set. |
Type | Description |
ConfigChange.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ConfigChange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ConfigChange.Builder |
setNewValue(String value)
public ConfigChange.Builder setNewValue(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;
Name | Description |
value | String The newValue to set. |
Type | Description |
ConfigChange.Builder | This builder for chaining. |
setNewValueBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for newValue to set. |
Type | Description |
ConfigChange.Builder | This builder for chaining. |
setOldValue(String value)
public ConfigChange.Builder setOldValue(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;
Name | Description |
value | String The oldValue to set. |
Type | Description |
ConfigChange.Builder | This builder for chaining. |
setOldValueBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for oldValue to set. |
Type | Description |
ConfigChange.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConfigChange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ConfigChange.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ConfigChange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ConfigChange.Builder |