[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Interface TypeOrBuilder (3.19.4)\n\n public interface TypeOrBuilder extends MessageLiteOrBuilder\n\nImplements\n----------\n\n[MessageLiteOrBuilder](/java/docs/reference/protobuf/latest/com.google.protobuf.MessageLiteOrBuilder)\n\nMethods\n-------\n\n### getFields(int index)\n\n public abstract Field getFields(int index)\n\nThe list of fields.\n\n`repeated .google.protobuf.Field fields = 2;`\n\n### getFieldsCount()\n\n public abstract int getFieldsCount()\n\nThe list of fields.\n\n`repeated .google.protobuf.Field fields = 2;`\n\n### getFieldsList()\n\n public abstract List\u003cField\u003e getFieldsList()\n\nThe list of fields.\n\n`repeated .google.protobuf.Field fields = 2;`\n\n### getName()\n\n public abstract String getName()\n\nThe fully qualified message name.\n\n`string name = 1;`\n\n### getNameBytes()\n\n public abstract ByteString getNameBytes()\n\nThe fully qualified message name.\n\n`string name = 1;`\n\n### getOneofs(int index)\n\n public abstract String getOneofs(int index)\n\nThe list of types appearing in `oneof` definitions in this type.\n\n`repeated string oneofs = 3;`\n\n### getOneofsBytes(int index)\n\n public abstract ByteString getOneofsBytes(int index)\n\nThe list of types appearing in `oneof` definitions in this type.\n\n`repeated string oneofs = 3;`\n\n### getOneofsCount()\n\n public abstract int getOneofsCount()\n\nThe list of types appearing in `oneof` definitions in this type.\n\n`repeated string oneofs = 3;`\n\n### getOneofsList()\n\n public abstract List\u003cString\u003e getOneofsList()\n\nThe list of types appearing in `oneof` definitions in this type.\n\n`repeated string oneofs = 3;`\n\n### getOptions(int index)\n\n public abstract Option getOptions(int index)\n\nThe protocol buffer options.\n\n`repeated .google.protobuf.Option options = 4;`\n\n### getOptionsCount()\n\n public abstract int getOptionsCount()\n\nThe protocol buffer options.\n\n`repeated .google.protobuf.Option options = 4;`\n\n### getOptionsList()\n\n public abstract List\u003cOption\u003e getOptionsList()\n\nThe protocol buffer options.\n\n`repeated .google.protobuf.Option options = 4;`\n\n### getSourceContext()\n\n public abstract SourceContext getSourceContext()\n\nThe source context.\n\n`.google.protobuf.SourceContext source_context = 5;`\n\n### getSyntax()\n\n public abstract Syntax getSyntax()\n\nThe source syntax.\n\n`.google.protobuf.Syntax syntax = 6;`\n\n### getSyntaxValue()\n\n public abstract int getSyntaxValue()\n\nThe source syntax.\n\n`.google.protobuf.Syntax syntax = 6;`\n\n### hasSourceContext()\n\n public abstract boolean hasSourceContext()\n\nThe source context.\n\n`.google.protobuf.SourceContext source_context = 5;`"]]