public final class Instrumentation extends com.google.protobuf.GeneratedMessageV3 implements InstrumentationOrBuilder
jscomp.Instrumentation
Modifier and Type | Class and Description |
---|---|
static class |
Instrumentation.Builder
Protobuf type
jscomp.Instrumentation |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
APP_NAME_SETTER_FIELD_NUMBER |
static int |
DECLARATION_TO_REMOVE_FIELD_NUMBER |
static int |
INIT_FIELD_NUMBER |
static com.google.protobuf.Parser<Instrumentation> |
PARSER
Deprecated.
|
static int |
REPORT_CALL_FIELD_NUMBER |
static int |
REPORT_DEFINED_FIELD_NUMBER |
static int |
REPORT_EXIT_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAppNameSetter()
name of function(<string>);
used to inform the harness about the app name
|
com.google.protobuf.ByteString |
getAppNameSetterBytes()
name of function(<string>);
used to inform the harness about the app name
|
String |
getDeclarationToRemove(int index)
List of variable declarations in the application's source code
that should be replaced by variables with the same name that are
part of the instrumentation harness.
|
com.google.protobuf.ByteString |
getDeclarationToRemoveBytes(int index)
List of variable declarations in the application's source code
that should be replaced by variables with the same name that are
part of the instrumentation harness.
|
int |
getDeclarationToRemoveCount()
List of variable declarations in the application's source code
that should be replaced by variables with the same name that are
part of the instrumentation harness.
|
com.google.protobuf.ProtocolStringList |
getDeclarationToRemoveList()
List of variable declarations in the application's source code
that should be replaced by variables with the same name that are
part of the instrumentation harness.
|
static Instrumentation |
getDefaultInstance() |
Instrumentation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getInit(int index)
Definition of functions used to report module contents and
function calls.
|
com.google.protobuf.ByteString |
getInitBytes(int index)
Definition of functions used to report module contents and
function calls.
|
int |
getInitCount()
Definition of functions used to report module contents and
function calls.
|
com.google.protobuf.ProtocolStringList |
getInitList()
Definition of functions used to report module contents and
function calls.
|
com.google.protobuf.Parser<Instrumentation> |
getParserForType() |
String |
getReportCall()
name of function(ID = <numeric function id>);
used to inform the harness about a function call
|
com.google.protobuf.ByteString |
getReportCallBytes()
name of function(ID = <numeric function id>);
used to inform the harness about a function call
|
String |
getReportDefined()
name of function(ID = <numeric function id>);
used to inform the harness about the contents of a module
|
com.google.protobuf.ByteString |
getReportDefinedBytes()
name of function(ID = <numeric function id>);
used to inform the harness about the contents of a module
|
String |
getReportExit()
name of function(ID = <numeric function id>, VAL = <return value>);
used to inform the harness about a function exit.
|
com.google.protobuf.ByteString |
getReportExitBytes()
name of function(ID = <numeric function id>, VAL = <return value>);
used to inform the harness about a function exit.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAppNameSetter()
name of function(<string>);
used to inform the harness about the app name
|
int |
hashCode() |
boolean |
hasReportCall()
name of function(ID = <numeric function id>);
used to inform the harness about a function call
|
boolean |
hasReportDefined()
name of function(ID = <numeric function id>);
used to inform the harness about the contents of a module
|
boolean |
hasReportExit()
name of function(ID = <numeric function id>, VAL = <return value>);
used to inform the harness about a function exit.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Instrumentation.Builder |
newBuilder() |
static Instrumentation.Builder |
newBuilder(Instrumentation prototype) |
Instrumentation.Builder |
newBuilderForType() |
protected Instrumentation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Instrumentation |
parseDelimitedFrom(InputStream input) |
static Instrumentation |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Instrumentation |
parseFrom(byte[] data) |
static Instrumentation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Instrumentation |
parseFrom(com.google.protobuf.ByteString data) |
static Instrumentation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Instrumentation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Instrumentation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Instrumentation |
parseFrom(InputStream input) |
static Instrumentation |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Instrumentation> |
parser() |
Instrumentation.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int REPORT_DEFINED_FIELD_NUMBER
public static final int REPORT_CALL_FIELD_NUMBER
public static final int REPORT_EXIT_FIELD_NUMBER
public static final int DECLARATION_TO_REMOVE_FIELD_NUMBER
public static final int INIT_FIELD_NUMBER
public static final int APP_NAME_SETTER_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Instrumentation> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasReportDefined()
name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
optional string report_defined = 1;
hasReportDefined
in interface InstrumentationOrBuilder
public String getReportDefined()
name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
optional string report_defined = 1;
getReportDefined
in interface InstrumentationOrBuilder
public com.google.protobuf.ByteString getReportDefinedBytes()
name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
optional string report_defined = 1;
getReportDefinedBytes
in interface InstrumentationOrBuilder
public boolean hasReportCall()
name of function(ID = <numeric function id>); used to inform the harness about a function call
optional string report_call = 2;
hasReportCall
in interface InstrumentationOrBuilder
public String getReportCall()
name of function(ID = <numeric function id>); used to inform the harness about a function call
optional string report_call = 2;
getReportCall
in interface InstrumentationOrBuilder
public com.google.protobuf.ByteString getReportCallBytes()
name of function(ID = <numeric function id>); used to inform the harness about a function call
optional string report_call = 2;
getReportCallBytes
in interface InstrumentationOrBuilder
public boolean hasReportExit()
name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit. Must return its second argument. @returns VAL
optional string report_exit = 6;
hasReportExit
in interface InstrumentationOrBuilder
public String getReportExit()
name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit. Must return its second argument. @returns VAL
optional string report_exit = 6;
getReportExit
in interface InstrumentationOrBuilder
public com.google.protobuf.ByteString getReportExitBytes()
name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit. Must return its second argument. @returns VAL
optional string report_exit = 6;
getReportExitBytes
in interface InstrumentationOrBuilder
public com.google.protobuf.ProtocolStringList getDeclarationToRemoveList()
List of variable declarations in the application's source code that should be replaced by variables with the same name that are part of the instrumentation harness. The presence of these declarations in the original code allows debug UIs that access these variables to compile when the instrumentation pass is disabled.
repeated string declaration_to_remove = 3;
getDeclarationToRemoveList
in interface InstrumentationOrBuilder
public int getDeclarationToRemoveCount()
List of variable declarations in the application's source code that should be replaced by variables with the same name that are part of the instrumentation harness. The presence of these declarations in the original code allows debug UIs that access these variables to compile when the instrumentation pass is disabled.
repeated string declaration_to_remove = 3;
getDeclarationToRemoveCount
in interface InstrumentationOrBuilder
public String getDeclarationToRemove(int index)
List of variable declarations in the application's source code that should be replaced by variables with the same name that are part of the instrumentation harness. The presence of these declarations in the original code allows debug UIs that access these variables to compile when the instrumentation pass is disabled.
repeated string declaration_to_remove = 3;
getDeclarationToRemove
in interface InstrumentationOrBuilder
public com.google.protobuf.ByteString getDeclarationToRemoveBytes(int index)
List of variable declarations in the application's source code that should be replaced by variables with the same name that are part of the instrumentation harness. The presence of these declarations in the original code allows debug UIs that access these variables to compile when the instrumentation pass is disabled.
repeated string declaration_to_remove = 3;
getDeclarationToRemoveBytes
in interface InstrumentationOrBuilder
public com.google.protobuf.ProtocolStringList getInitList()
Definition of functions used to report module contents and function calls. Will be added to the start of the app's main module.
repeated string init = 4;
getInitList
in interface InstrumentationOrBuilder
public int getInitCount()
Definition of functions used to report module contents and function calls. Will be added to the start of the app's main module.
repeated string init = 4;
getInitCount
in interface InstrumentationOrBuilder
public String getInit(int index)
Definition of functions used to report module contents and function calls. Will be added to the start of the app's main module.
repeated string init = 4;
getInit
in interface InstrumentationOrBuilder
public com.google.protobuf.ByteString getInitBytes(int index)
Definition of functions used to report module contents and function calls. Will be added to the start of the app's main module.
repeated string init = 4;
getInitBytes
in interface InstrumentationOrBuilder
public boolean hasAppNameSetter()
name of function(<string>); used to inform the harness about the app name
optional string app_name_setter = 5;
hasAppNameSetter
in interface InstrumentationOrBuilder
public String getAppNameSetter()
name of function(<string>); used to inform the harness about the app name
optional string app_name_setter = 5;
getAppNameSetter
in interface InstrumentationOrBuilder
public com.google.protobuf.ByteString getAppNameSetterBytes()
name of function(<string>); used to inform the harness about the app name
optional string app_name_setter = 5;
getAppNameSetterBytes
in interface InstrumentationOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Instrumentation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Instrumentation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Instrumentation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Instrumentation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Instrumentation parseFrom(InputStream input) throws IOException
IOException
public static Instrumentation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Instrumentation parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Instrumentation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Instrumentation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Instrumentation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Instrumentation.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Instrumentation.Builder newBuilder()
public static Instrumentation.Builder newBuilder(Instrumentation prototype)
public Instrumentation.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Instrumentation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Instrumentation getDefaultInstance()
public static com.google.protobuf.Parser<Instrumentation> parser()
public com.google.protobuf.Parser<Instrumentation> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Instrumentation getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder