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, parseUnknownField
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>
public Instrumentation getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Instrumentation build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Instrumentation buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Instrumentation.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Instrumentation.Builder>
java.io.IOException
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 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 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 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 InstrumentationOrBuilder
public 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 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 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 InstrumentationOrBuilder
public 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 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 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 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 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 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 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 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 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 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 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 InstrumentationOrBuilder
public 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 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 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>