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(java.lang.Object obj) |
java.lang.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
|
java.lang.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() |
java.lang.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() |
java.lang.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
|
java.lang.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
|
java.lang.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(java.io.InputStream input) |
static Instrumentation |
parseDelimitedFrom(java.io.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(java.io.InputStream input) |
static Instrumentation |
parseFrom(java.io.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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 InstrumentationOrBuilderpublic java.lang.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 InstrumentationOrBuilderpublic 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 InstrumentationOrBuilderpublic 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 InstrumentationOrBuilderpublic java.lang.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 InstrumentationOrBuilderpublic 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 InstrumentationOrBuilderpublic 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 InstrumentationOrBuilderpublic java.lang.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 InstrumentationOrBuilderpublic 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 InstrumentationOrBuilderpublic 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 InstrumentationOrBuilderpublic 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 InstrumentationOrBuilderpublic java.lang.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 InstrumentationOrBuilderpublic 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 InstrumentationOrBuilderpublic 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 InstrumentationOrBuilderpublic 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 InstrumentationOrBuilderpublic java.lang.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 InstrumentationOrBuilderpublic 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 InstrumentationOrBuilderpublic boolean hasAppNameSetter()
name of function(<string>); used to inform the harness about the app name
optional string app_name_setter = 5;hasAppNameSetter in interface InstrumentationOrBuilderpublic java.lang.String getAppNameSetter()
name of function(<string>); used to inform the harness about the app name
optional string app_name_setter = 5;getAppNameSetter in interface InstrumentationOrBuilderpublic 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 InstrumentationOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Instrumentation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instrumentation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instrumentation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instrumentation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instrumentation parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Instrumentation parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Instrumentation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Instrumentation parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Instrumentation parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Instrumentation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Instrumentation.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Instrumentation.Builder newBuilder()
public static Instrumentation.Builder newBuilder(Instrumentation prototype)
public Instrumentation.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Instrumentation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Instrumentation getDefaultInstance()
public static com.google.protobuf.Parser<Instrumentation> parser()
public com.google.protobuf.Parser<Instrumentation> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Instrumentation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder