Minor. Add comment about type aliases based types metadata format

This commit is contained in:
Denis Zharkov
2016-06-27 15:50:26 +03:00
parent d78177dc23
commit 15ce4f8856
3 changed files with 83 additions and 0 deletions
@@ -5449,10 +5449,20 @@ public final class DebugProtoBuf {
/**
* <code>optional int32 type_alias_name = 12;</code>
*
* <pre>
* Note that this may be present only for abbreviated_type
* Top level types are always fully expanded
* </pre>
*/
boolean hasTypeAliasName();
/**
* <code>optional int32 type_alias_name = 12;</code>
*
* <pre>
* Note that this may be present only for abbreviated_type
* Top level types are always fully expanded
* </pre>
*/
int getTypeAliasName();
@@ -6709,12 +6719,22 @@ public final class DebugProtoBuf {
private int typeAliasName_;
/**
* <code>optional int32 type_alias_name = 12;</code>
*
* <pre>
* Note that this may be present only for abbreviated_type
* Top level types are always fully expanded
* </pre>
*/
public boolean hasTypeAliasName() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* <code>optional int32 type_alias_name = 12;</code>
*
* <pre>
* Note that this may be present only for abbreviated_type
* Top level types are always fully expanded
* </pre>
*/
public int getTypeAliasName() {
return typeAliasName_;
@@ -7951,18 +7971,33 @@ public final class DebugProtoBuf {
private int typeAliasName_ ;
/**
* <code>optional int32 type_alias_name = 12;</code>
*
* <pre>
* Note that this may be present only for abbreviated_type
* Top level types are always fully expanded
* </pre>
*/
public boolean hasTypeAliasName() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* <code>optional int32 type_alias_name = 12;</code>
*
* <pre>
* Note that this may be present only for abbreviated_type
* Top level types are always fully expanded
* </pre>
*/
public int getTypeAliasName() {
return typeAliasName_;
}
/**
* <code>optional int32 type_alias_name = 12;</code>
*
* <pre>
* Note that this may be present only for abbreviated_type
* Top level types are always fully expanded
* </pre>
*/
public Builder setTypeAliasName(int value) {
bitField0_ |= 0x00000100;
@@ -7972,6 +8007,11 @@ public final class DebugProtoBuf {
}
/**
* <code>optional int32 type_alias_name = 12;</code>
*
* <pre>
* Note that this may be present only for abbreviated_type
* Top level types are always fully expanded
* </pre>
*/
public Builder clearTypeAliasName() {
bitField0_ = (bitField0_ & ~0x00000100);
@@ -127,6 +127,9 @@ message Type {
optional int32 type_parameter = 7; // id of the type parameter
// Name of the type parameter in the immediate owner
optional int32 type_parameter_name = 9 [(name_id_in_table) = true];
// Note that this may be present only for abbreviated_type
// Top level types are always fully expanded
optional int32 type_alias_name = 12 [(fq_name_id_in_table) = true];
optional Type outer_type = 10;
@@ -4437,10 +4437,20 @@ public final class ProtoBuf {
/**
* <code>optional int32 type_alias_name = 12;</code>
*
* <pre>
* Note that this may be present only for abbreviated_type
* Top level types are always fully expanded
* </pre>
*/
boolean hasTypeAliasName();
/**
* <code>optional int32 type_alias_name = 12;</code>
*
* <pre>
* Note that this may be present only for abbreviated_type
* Top level types are always fully expanded
* </pre>
*/
int getTypeAliasName();
@@ -5510,12 +5520,22 @@ public final class ProtoBuf {
private int typeAliasName_;
/**
* <code>optional int32 type_alias_name = 12;</code>
*
* <pre>
* Note that this may be present only for abbreviated_type
* Top level types are always fully expanded
* </pre>
*/
public boolean hasTypeAliasName() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* <code>optional int32 type_alias_name = 12;</code>
*
* <pre>
* Note that this may be present only for abbreviated_type
* Top level types are always fully expanded
* </pre>
*/
public int getTypeAliasName() {
return typeAliasName_;
@@ -6478,18 +6498,33 @@ public final class ProtoBuf {
private int typeAliasName_ ;
/**
* <code>optional int32 type_alias_name = 12;</code>
*
* <pre>
* Note that this may be present only for abbreviated_type
* Top level types are always fully expanded
* </pre>
*/
public boolean hasTypeAliasName() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* <code>optional int32 type_alias_name = 12;</code>
*
* <pre>
* Note that this may be present only for abbreviated_type
* Top level types are always fully expanded
* </pre>
*/
public int getTypeAliasName() {
return typeAliasName_;
}
/**
* <code>optional int32 type_alias_name = 12;</code>
*
* <pre>
* Note that this may be present only for abbreviated_type
* Top level types are always fully expanded
* </pre>
*/
public Builder setTypeAliasName(int value) {
bitField0_ |= 0x00000100;
@@ -6499,6 +6534,11 @@ public final class ProtoBuf {
}
/**
* <code>optional int32 type_alias_name = 12;</code>
*
* <pre>
* Note that this may be present only for abbreviated_type
* Top level types are always fully expanded
* </pre>
*/
public Builder clearTypeAliasName() {
bitField0_ = (bitField0_ & ~0x00000100);