public static final class Instrumentation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder> implements InstrumentationOrBuilder
jscomp.Instrumentation| Modifier and Type | Method and Description |
|---|---|
Instrumentation.Builder |
addAllDeclarationToRemove(java.lang.Iterable<java.lang.String> values)
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.
|
Instrumentation.Builder |
addAllInit(java.lang.Iterable<java.lang.String> values)
Definition of functions used to report module contents and
function calls.
|
Instrumentation.Builder |
addDeclarationToRemove(java.lang.String value)
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.
|
Instrumentation.Builder |
addDeclarationToRemoveBytes(com.google.protobuf.ByteString value)
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.
|
Instrumentation.Builder |
addInit(java.lang.String value)
Definition of functions used to report module contents and
function calls.
|
Instrumentation.Builder |
addInitBytes(com.google.protobuf.ByteString value)
Definition of functions used to report module contents and
function calls.
|
Instrumentation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Instrumentation |
build() |
Instrumentation |
buildPartial() |
Instrumentation.Builder |
clear() |
Instrumentation.Builder |
clearAppNameSetter()
name of function(<string>);
used to inform the harness about the app name
|
Instrumentation.Builder |
clearDeclarationToRemove()
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.
|
Instrumentation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Instrumentation.Builder |
clearInit()
Definition of functions used to report module contents and
function calls.
|
Instrumentation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Instrumentation.Builder |
clearReportCall()
name of function(ID = <numeric function id>);
used to inform the harness about a function call
|
Instrumentation.Builder |
clearReportDefined()
name of function(ID = <numeric function id>);
used to inform the harness about the contents of a module
|
Instrumentation.Builder |
clearReportExit()
name of function(ID = <numeric function id>, VAL = <return value>);
used to inform the harness about a function exit.
|
Instrumentation.Builder |
clone() |
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.
|
Instrumentation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
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.
|
boolean |
hasAppNameSetter()
name of function(<string>);
used to inform the harness about the app name
|
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() |
Instrumentation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Instrumentation.Builder |
mergeFrom(Instrumentation other) |
Instrumentation.Builder |
mergeFrom(com.google.protobuf.Message other) |
Instrumentation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Instrumentation.Builder |
setAppNameSetter(java.lang.String value)
name of function(<string>);
used to inform the harness about the app name
|
Instrumentation.Builder |
setAppNameSetterBytes(com.google.protobuf.ByteString value)
name of function(<string>);
used to inform the harness about the app name
|
Instrumentation.Builder |
setDeclarationToRemove(int index,
java.lang.String value)
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.
|
Instrumentation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Instrumentation.Builder |
setInit(int index,
java.lang.String value)
Definition of functions used to report module contents and
function calls.
|
Instrumentation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Instrumentation.Builder |
setReportCall(java.lang.String value)
name of function(ID = <numeric function id>);
used to inform the harness about a function call
|
Instrumentation.Builder |
setReportCallBytes(com.google.protobuf.ByteString value)
name of function(ID = <numeric function id>);
used to inform the harness about a function call
|
Instrumentation.Builder |
setReportDefined(java.lang.String value)
name of function(ID = <numeric function id>);
used to inform the harness about the contents of a module
|
Instrumentation.Builder |
setReportDefinedBytes(com.google.protobuf.ByteString value)
name of function(ID = <numeric function id>);
used to inform the harness about the contents of a module
|
Instrumentation.Builder |
setReportExit(java.lang.String value)
name of function(ID = <numeric function id>, VAL = <return value>);
used to inform the harness about a function exit.
|
Instrumentation.Builder |
setReportExitBytes(com.google.protobuf.ByteString value)
name of function(ID = <numeric function id>, VAL = <return value>);
used to inform the harness about a function exit.
|
Instrumentation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>public Instrumentation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>public Instrumentation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Instrumentation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Instrumentation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Instrumentation.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>public Instrumentation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>public Instrumentation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>public Instrumentation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>public Instrumentation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>public Instrumentation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>public Instrumentation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instrumentation.Builder>public Instrumentation.Builder mergeFrom(Instrumentation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>public Instrumentation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instrumentation.Builder>java.io.IOExceptionpublic 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 Instrumentation.Builder setReportDefined(java.lang.String value)
name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
optional string report_defined = 1;public Instrumentation.Builder clearReportDefined()
name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
optional string report_defined = 1;public Instrumentation.Builder setReportDefinedBytes(com.google.protobuf.ByteString value)
name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
optional string report_defined = 1;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 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 Instrumentation.Builder setReportCall(java.lang.String value)
name of function(ID = <numeric function id>); used to inform the harness about a function call
optional string report_call = 2;public Instrumentation.Builder clearReportCall()
name of function(ID = <numeric function id>); used to inform the harness about a function call
optional string report_call = 2;public Instrumentation.Builder setReportCallBytes(com.google.protobuf.ByteString value)
name of function(ID = <numeric function id>); used to inform the harness about a function call
optional string report_call = 2;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 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 Instrumentation.Builder setReportExit(java.lang.String value)
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;public Instrumentation.Builder clearReportExit()
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;public Instrumentation.Builder setReportExitBytes(com.google.protobuf.ByteString value)
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;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 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 Instrumentation.Builder setDeclarationToRemove(int index, java.lang.String value)
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;public Instrumentation.Builder addDeclarationToRemove(java.lang.String value)
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;public Instrumentation.Builder addAllDeclarationToRemove(java.lang.Iterable<java.lang.String> values)
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;public Instrumentation.Builder clearDeclarationToRemove()
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;public Instrumentation.Builder addDeclarationToRemoveBytes(com.google.protobuf.ByteString value)
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;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 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 Instrumentation.Builder setInit(int index, java.lang.String value)
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;public Instrumentation.Builder addInit(java.lang.String value)
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;public Instrumentation.Builder addAllInit(java.lang.Iterable<java.lang.String> values)
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;public Instrumentation.Builder clearInit()
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;public Instrumentation.Builder addInitBytes(com.google.protobuf.ByteString value)
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;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 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 Instrumentation.Builder setAppNameSetter(java.lang.String value)
name of function(<string>); used to inform the harness about the app name
optional string app_name_setter = 5;public Instrumentation.Builder clearAppNameSetter()
name of function(<string>); used to inform the harness about the app name
optional string app_name_setter = 5;public Instrumentation.Builder setAppNameSetterBytes(com.google.protobuf.ByteString value)
name of function(<string>); used to inform the harness about the app name
optional string app_name_setter = 5;public final Instrumentation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>public final Instrumentation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>