Minor. Add comment about type aliases based types metadata format
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user