public final class ProtoFile extends Object
.proto
file.Modifier and Type | Field and Description |
---|---|
static int |
MAX_TAG_VALUE |
static int |
MIN_TAG_VALUE |
Constructor and Description |
---|
ProtoFile(String fileName,
String packageName,
List<String> dependencies,
List<String> publicDependencies,
List<Type> types,
List<Service> services,
List<Option> options,
List<ExtendDeclaration> extendDeclarations) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<String> |
getDependencies() |
List<ExtendDeclaration> |
getExtendDeclarations() |
String |
getFileName() |
List<Option> |
getOptions() |
String |
getPackageName() |
List<String> |
getPublicDependencies() |
List<Service> |
getServices() |
List<Type> |
getTypes() |
int |
hashCode() |
static boolean |
isValidTag(int value)
True if the supplied value is in the valid tag range and not reserved.
|
String |
toString() |
public static final int MIN_TAG_VALUE
public static final int MAX_TAG_VALUE
public static boolean isValidTag(int value)
public String getFileName()
public String getPackageName()
public List<ExtendDeclaration> getExtendDeclarations()
Copyright © 2022 Square, Inc.. All rights reserved.