message: Update .proto files to match bundletool 1.7.0
  Summary: Grabbed recent versions of these files from in bundletool's github repo, and clang formatted them because that would happen anyways by some automated tooling.
diff: @@ -135,6 +135,11 @@ message Visibility {
  // The comment associated with the <public> tag.
  string comment = 3;
  +
  + // Indicates that the resource id may change across builds and that the public
  + // R.java identifier for this resource should not be final. This is set to
  + // `true` for resources in `staging-group` tags.
  + bool staged_api = 4;
  }
  // Whether a resource comes from a compile-time overlay and is explicitly
  @@ -171,6 +176,8 @@ message OverlayableItem {
  SIGNATURE = 5;
  ODM = 6;
  OEM = 7;
  + ACTOR = 8;
  + CONFIG_SIGNATURE = 9;
  }
  // The location of the <item> declaration in source.
  @@ -187,6 +194,12 @@ message OverlayableItem {
  uint32 overlayable_idx = 4;
  }
  +// The staged resource ID definition of a finalized resource.
  +message StagedId {
  + Source source = 1;
  + uint32 staged_id = 2;
  +}
  +
  // An entry ID in the range [0x0000, 0xffff].
  message EntryId { uint32 id = 1; }
  @@ -217,6 +230,9 @@ message Entry {
  // The set of values defined for this entry, each corresponding to a different
  // configuration/variant.
  repeated ConfigValue config_value = 6;
  +
  + // The staged resource ID of this finalized resource.
  + StagedId staged_id = 7;
  }
  // A Configuration/Value pair.
  @@ -269,6 +285,7 @@ message CompoundValue {
  Styleable styleable = 3;
  Array array = 4;
  Plural plural = 5;
  + MacroBody macro = 6;
  }
  }
  @@ -302,6 +319,14 @@ message Reference {
  // Whether this reference is dynamic.
  Boolean is_dynamic = 5;
  +
  + // The type flags used when compiling the reference. Used for substituting the
  + // contents of macros.
  + uint32 type_flags = 6;
  +
  + // Whether raw string values would have been accepted in place of this
  + // reference definition. Used for substituting the contents of macros.
  + bool allow_raw = 7;
  }
  // A value that represents an ID. This is just a placeholder, as ID values are
  @@ -586,3 +611,32 @@ message XmlAttribute {
  // The optional interpreted/compiled version of the `value` string.
  Item compiled_item = 6;
  }
  +
  +message MacroBody {
  + string raw_string = 1;
  + StyleString style_string = 2;
  + repeated UntranslatableSection untranslatable_sections = 3;
  + repeated NamespaceAlias namespace_stack = 4;
  + SourcePosition source = 5;
  +}
  +
  +message NamespaceAlias {
  + string prefix = 1;
  + string package_name = 2;
  + bool is_private = 3;
  +}
  +
  +message StyleString {
  + message Span {
  + string name = 1;
  + uint32 start_index = 2;
  + uint32 end_index = 3;
  + }
  + string str = 1;
  + repeated Span spans = 2;
  +}
  +
  +message UntranslatableSection {
  + uint64 start_index = 1;
  + uint64 end_index = 2;
  +}
  