Class ChangeReport.Builder

  • All Implemented Interfaces:
    ChangeReportOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    ChangeReport

    public static final class ChangeReport.Builder
    extends com.google.protobuf.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
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ChangeReport.Builder>
      • clear

        public ChangeReport.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ChangeReport.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ChangeReport.Builder>
      • getDefaultInstanceForType

        public ChangeReport getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ChangeReport build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ChangeReport buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public ChangeReport.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ChangeReport.Builder>
      • setField

        public ChangeReport.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                             Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ChangeReport.Builder>
      • clearField

        public ChangeReport.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ChangeReport.Builder>
      • clearOneof

        public ChangeReport.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ChangeReport.Builder>
      • setRepeatedField

        public ChangeReport.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     int index,
                                                     Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ChangeReport.Builder>
      • addRepeatedField

        public ChangeReport.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ChangeReport.Builder>
      • mergeFrom

        public ChangeReport.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ChangeReport.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ChangeReport.Builder>
      • mergeFrom

        public ChangeReport.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ChangeReport.Builder>
        Throws:
        IOException
      • getConfigChangesList

        public List<com.google.api.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;
        Specified by:
        getConfigChangesList in interface ChangeReportOrBuilder
      • 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;
        Specified by:
        getConfigChangesCount in interface ChangeReportOrBuilder
      • getConfigChanges

        public com.google.api.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;
        Specified by:
        getConfigChanges in interface ChangeReportOrBuilder
      • setConfigChanges

        public ChangeReport.Builder setConfigChanges​(int index,
                                                     com.google.api.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;
      • setConfigChanges

        public ChangeReport.Builder setConfigChanges​(int index,
                                                     com.google.api.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;
      • addConfigChanges

        public ChangeReport.Builder addConfigChanges​(com.google.api.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;
      • addConfigChanges

        public ChangeReport.Builder addConfigChanges​(int index,
                                                     com.google.api.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;
      • addConfigChanges

        public ChangeReport.Builder addConfigChanges​(com.google.api.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;
      • addConfigChanges

        public ChangeReport.Builder addConfigChanges​(int index,
                                                     com.google.api.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;
      • addAllConfigChanges

        public ChangeReport.Builder addAllConfigChanges​(Iterable<? extends com.google.api.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;
      • 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;
      • removeConfigChanges

        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;
      • getConfigChangesBuilder

        public com.google.api.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;
      • getConfigChangesOrBuilder

        public com.google.api.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;
        Specified by:
        getConfigChangesOrBuilder in interface ChangeReportOrBuilder
      • getConfigChangesOrBuilderList

        public List<? extends com.google.api.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;
        Specified by:
        getConfigChangesOrBuilderList in interface ChangeReportOrBuilder
      • addConfigChangesBuilder

        public com.google.api.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;
      • addConfigChangesBuilder

        public com.google.api.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;
      • getConfigChangesBuilderList

        public List<com.google.api.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;
      • setUnknownFields

        public final ChangeReport.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ChangeReport.Builder>
      • mergeUnknownFields

        public final ChangeReport.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ChangeReport.Builder>