Compartilhar via


ProtoOutputStream.MakeFieldId(Int32, Int64) Method

Definition

Combine a fieldId (the field keys in the proto file) and the field flags.

[Android.Runtime.Register("makeFieldId", "(IJ)J", "", ApiSince=30)]
public static long MakeFieldId (int id, long fieldFlags);
[<Android.Runtime.Register("makeFieldId", "(IJ)J", "", ApiSince=30)>]
static member MakeFieldId : int * int64 -> int64

Parameters

id
Int32
fieldFlags
Int64

Returns

Attributes

Remarks

Combine a fieldId (the field keys in the proto file) and the field flags. Mostly useful for testing because the generated code contains the fieldId constants.

Java documentation for android.util.proto.ProtoOutputStream.makeFieldId(int, long).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to