Class ChangeReport.Builder (3.20.0)

public static final class ChangeReport.Builder extends GeneratedMessageV3.Builder<ChangeReport.Builder> implements ChangeReportOrBuilder

Change report associated with a particular service configuration.

It contains a list of ConfigChanges based on the comparison between two service configurations.

Protobuf type google.api.servicemanagement.v1.ChangeReport

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllConfigChanges(Iterable<? extends ConfigChange> values)

public ChangeReport.Builder addAllConfigChanges(Iterable<? extends ConfigChange> values)

List of changes between two service configurations. The changes will be alphabetically sorted based on the identifier of each change. A ConfigChange identifier is a dot separated path to the configuration. Example: visibility.rules[selector='LibraryService.CreateBook'].restriction

repeated .google.api.ConfigChange config_changes = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.api.ConfigChange>
Returns
TypeDescription
ChangeReport.Builder

addConfigChanges(ConfigChange value)

public ChangeReport.Builder addConfigChanges(ConfigChange value)

List of changes between two service configurations. The changes will be alphabetically sorted based on the identifier of each change. A ConfigChange identifier is a dot separated path to the configuration. Example: visibility.rules[selector='LibraryService.CreateBook'].restriction

repeated .google.api.ConfigChange config_changes = 1;

Parameter
NameDescription
valuecom.google.api.ConfigChange
Returns
TypeDescription
ChangeReport.Builder

addConfigChanges(ConfigChange.Builder builderForValue)

public ChangeReport.Builder addConfigChanges(ConfigChange.Builder builderForValue)

List of changes between two service configurations. The changes will be alphabetically sorted based on the identifier of each change. A ConfigChange identifier is a dot separated path to the configuration. Example: visibility.rules[selector='LibraryService.CreateBook'].restriction

repeated .google.api.ConfigChange config_changes = 1;

Parameter
NameDescription
builderForValuecom.google.api.ConfigChange.Builder
Returns
TypeDescription
ChangeReport.Builder

addConfigChanges(int index, ConfigChange value)

public ChangeReport.Builder addConfigChanges(int index, ConfigChange value)

List of changes between two service configurations. The changes will be alphabetically sorted based on the identifier of each change. A ConfigChange identifier is a dot separated path to the configuration. Example: visibility.rules[selector='LibraryService.CreateBook'].restriction

repeated .google.api.ConfigChange config_changes = 1;

Parameters
NameDescription
indexint
valuecom.google.api.ConfigChange
Returns
TypeDescription
ChangeReport.Builder

addConfigChanges(int index, ConfigChange.Builder builderForValue)

public ChangeReport.Builder addConfigChanges(int index, ConfigChange.Builder builderForValue)

List of changes between two service configurations. The changes will be alphabetically sorted based on the identifier of each change. A ConfigChange identifier is a dot separated path to the configuration. Example: visibility.rules[selector='LibraryService.CreateBook'].restriction

repeated .google.api.ConfigChange config_changes = 1;

Parameters
NameDescription
indexint
builderForValuecom.google.api.ConfigChange.Builder
Returns
TypeDescription
ChangeReport.Builder

addConfigChangesBuilder()

public ConfigChange.Builder addConfigChangesBuilder()

List of changes between two service configurations. The changes will be alphabetically sorted based on the identifier of each change. A ConfigChange identifier is a dot separated path to the configuration. Example: visibility.rules[selector='LibraryService.CreateBook'].restriction

repeated .google.api.ConfigChange config_changes = 1;

Returns
TypeDescription
com.google.api.ConfigChange.Builder

addConfigChangesBuilder(int index)

public ConfigChange.Builder addConfigChangesBuilder(int index)

List of changes between two service configurations. The changes will be alphabetically sorted based on the identifier of each change. A ConfigChange identifier is a dot separated path to the configuration. Example: visibility.rules[selector='LibraryService.CreateBook'].restriction

repeated .google.api.ConfigChange config_changes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.api.ConfigChange.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ChangeReport.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ChangeReport.Builder
Overrides

build()

public ChangeReport build()
Returns
TypeDescription
ChangeReport

buildPartial()

public ChangeReport buildPartial()
Returns
TypeDescription
ChangeReport

clear()

public ChangeReport.Builder clear()
Returns
TypeDescription
ChangeReport.Builder
Overrides

clearConfigChanges()

public ChangeReport.Builder clearConfigChanges()

List of changes between two service configurations. The changes will be alphabetically sorted based on the identifier of each change. A ConfigChange identifier is a dot separated path to the configuration. Example: visibility.rules[selector='LibraryService.CreateBook'].restriction

repeated .google.api.ConfigChange config_changes = 1;

Returns
TypeDescription
ChangeReport.Builder

clearField(Descriptors.FieldDescriptor field)

public ChangeReport.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ChangeReport.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ChangeReport.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ChangeReport.Builder
Overrides

clone()

public ChangeReport.Builder clone()
Returns
TypeDescription
ChangeReport.Builder
Overrides

getConfigChanges(int index)

public ConfigChange getConfigChanges(int index)

List of changes between two service configurations. The changes will be alphabetically sorted based on the identifier of each change. A ConfigChange identifier is a dot separated path to the configuration. Example: visibility.rules[selector='LibraryService.CreateBook'].restriction

repeated .google.api.ConfigChange config_changes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.api.ConfigChange

getConfigChangesBuilder(int index)

public ConfigChange.Builder getConfigChangesBuilder(int index)

List of changes between two service configurations. The changes will be alphabetically sorted based on the identifier of each change. A ConfigChange identifier is a dot separated path to the configuration. Example: visibility.rules[selector='LibraryService.CreateBook'].restriction

repeated .google.api.ConfigChange config_changes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.api.ConfigChange.Builder

getConfigChangesBuilderList()

public List<ConfigChange.Builder> getConfigChangesBuilderList()

List of changes between two service configurations. The changes will be alphabetically sorted based on the identifier of each change. A ConfigChange identifier is a dot separated path to the configuration. Example: visibility.rules[selector='LibraryService.CreateBook'].restriction

repeated .google.api.ConfigChange config_changes = 1;

Returns
TypeDescription
List<com.google.api.ConfigChange.Builder>

getConfigChangesCount()

public int getConfigChangesCount()

List of changes between two service configurations. The changes will be alphabetically sorted based on the identifier of each change. A ConfigChange identifier is a dot separated path to the configuration. Example: visibility.rules[selector='LibraryService.CreateBook'].restriction

repeated .google.api.ConfigChange config_changes = 1;

Returns
TypeDescription
int

getConfigChangesList()

public List<ConfigChange> getConfigChangesList()

List of changes between two service configurations. The changes will be alphabetically sorted based on the identifier of each change. A ConfigChange identifier is a dot separated path to the configuration. Example: visibility.rules[selector='LibraryService.CreateBook'].restriction

repeated .google.api.ConfigChange config_changes = 1;

Returns
TypeDescription
List<com.google.api.ConfigChange>

getConfigChangesOrBuilder(int index)

public ConfigChangeOrBuilder getConfigChangesOrBuilder(int index)

List of changes between two service configurations. The changes will be alphabetically sorted based on the identifier of each change. A ConfigChange identifier is a dot separated path to the configuration. Example: visibility.rules[selector='LibraryService.CreateBook'].restriction

repeated .google.api.ConfigChange config_changes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.api.ConfigChangeOrBuilder

getConfigChangesOrBuilderList()

public List<? extends ConfigChangeOrBuilder> getConfigChangesOrBuilderList()

List of changes between two service configurations. The changes will be alphabetically sorted based on the identifier of each change. A ConfigChange identifier is a dot separated path to the configuration. Example: visibility.rules[selector='LibraryService.CreateBook'].restriction

repeated .google.api.ConfigChange config_changes = 1;

Returns
TypeDescription
List<? extends com.google.api.ConfigChangeOrBuilder>

getDefaultInstanceForType()

public ChangeReport getDefaultInstanceForType()
Returns
TypeDescription
ChangeReport

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ChangeReport other)

public ChangeReport.Builder mergeFrom(ChangeReport other)
Parameter
NameDescription
otherChangeReport
Returns
TypeDescription
ChangeReport.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ChangeReport.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChangeReport.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ChangeReport.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ChangeReport.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ChangeReport.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ChangeReport.Builder
Overrides

removeConfigChanges(int index)

public ChangeReport.Builder removeConfigChanges(int index)

List of changes between two service configurations. The changes will be alphabetically sorted based on the identifier of each change. A ConfigChange identifier is a dot separated path to the configuration. Example: visibility.rules[selector='LibraryService.CreateBook'].restriction

repeated .google.api.ConfigChange config_changes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ChangeReport.Builder

setConfigChanges(int index, ConfigChange value)

public ChangeReport.Builder setConfigChanges(int index, ConfigChange value)

List of changes between two service configurations. The changes will be alphabetically sorted based on the identifier of each change. A ConfigChange identifier is a dot separated path to the configuration. Example: visibility.rules[selector='LibraryService.CreateBook'].restriction

repeated .google.api.ConfigChange config_changes = 1;

Parameters
NameDescription
indexint
valuecom.google.api.ConfigChange
Returns
TypeDescription
ChangeReport.Builder

setConfigChanges(int index, ConfigChange.Builder builderForValue)

public ChangeReport.Builder setConfigChanges(int index, ConfigChange.Builder builderForValue)

List of changes between two service configurations. The changes will be alphabetically sorted based on the identifier of each change. A ConfigChange identifier is a dot separated path to the configuration. Example: visibility.rules[selector='LibraryService.CreateBook'].restriction

repeated .google.api.ConfigChange config_changes = 1;

Parameters
NameDescription
indexint
builderForValuecom.google.api.ConfigChange.Builder
Returns
TypeDescription
ChangeReport.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ChangeReport.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ChangeReport.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ChangeReport.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ChangeReport.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ChangeReport.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ChangeReport.Builder
Overrides