Package com.google.javascript.jscomp
Class Instrumentation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>
-
- com.google.javascript.jscomp.Instrumentation.Builder
-
- All Implemented Interfaces:
InstrumentationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- Instrumentation
public static final class Instrumentation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder> implements InstrumentationOrBuilder
Protobuf typejscomp.Instrumentation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Instrumentation.BuilderaddAllDeclarationToRemove(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.BuilderaddAllInit(java.lang.Iterable<java.lang.String> values)Definition of functions used to report module contents and function calls.Instrumentation.BuilderaddDeclarationToRemove(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.BuilderaddDeclarationToRemoveBytes(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.BuilderaddInit(java.lang.String value)Definition of functions used to report module contents and function calls.Instrumentation.BuilderaddInitBytes(com.google.protobuf.ByteString value)Definition of functions used to report module contents and function calls.Instrumentation.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Instrumentationbuild()InstrumentationbuildPartial()Instrumentation.Builderclear()Instrumentation.BuilderclearAppNameSetter()name of function(<string>); used to inform the harness about the app nameInstrumentation.BuilderclearDeclarationToRemove()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.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Instrumentation.BuilderclearInit()Definition of functions used to report module contents and function calls.Instrumentation.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Instrumentation.BuilderclearReportCall()name of function(ID = <numeric function id>); used to inform the harness about a function callInstrumentation.BuilderclearReportDefined()name of function(ID = <numeric function id>); used to inform the harness about the contents of a moduleInstrumentation.BuilderclearReportExit()name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit.Instrumentation.Builderclone()java.lang.StringgetAppNameSetter()name of function(<string>); used to inform the harness about the app namecom.google.protobuf.ByteStringgetAppNameSetterBytes()name of function(<string>); used to inform the harness about the app namejava.lang.StringgetDeclarationToRemove(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.ByteStringgetDeclarationToRemoveBytes(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.intgetDeclarationToRemoveCount()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.ProtocolStringListgetDeclarationToRemoveList()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.InstrumentationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetInit(int index)Definition of functions used to report module contents and function calls.com.google.protobuf.ByteStringgetInitBytes(int index)Definition of functions used to report module contents and function calls.intgetInitCount()Definition of functions used to report module contents and function calls.com.google.protobuf.ProtocolStringListgetInitList()Definition of functions used to report module contents and function calls.java.lang.StringgetReportCall()name of function(ID = <numeric function id>); used to inform the harness about a function callcom.google.protobuf.ByteStringgetReportCallBytes()name of function(ID = <numeric function id>); used to inform the harness about a function calljava.lang.StringgetReportDefined()name of function(ID = <numeric function id>); used to inform the harness about the contents of a modulecom.google.protobuf.ByteStringgetReportDefinedBytes()name of function(ID = <numeric function id>); used to inform the harness about the contents of a modulejava.lang.StringgetReportExit()name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit.com.google.protobuf.ByteStringgetReportExitBytes()name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit.booleanhasAppNameSetter()name of function(<string>); used to inform the harness about the app namebooleanhasReportCall()name of function(ID = <numeric function id>); used to inform the harness about a function callbooleanhasReportDefined()name of function(ID = <numeric function id>); used to inform the harness about the contents of a modulebooleanhasReportExit()name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Instrumentation.BuildermergeFrom(Instrumentation other)Instrumentation.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Instrumentation.BuildermergeFrom(com.google.protobuf.Message other)Instrumentation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Instrumentation.BuildersetAppNameSetter(java.lang.String value)name of function(<string>); used to inform the harness about the app nameInstrumentation.BuildersetAppNameSetterBytes(com.google.protobuf.ByteString value)name of function(<string>); used to inform the harness about the app nameInstrumentation.BuildersetDeclarationToRemove(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.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Instrumentation.BuildersetInit(int index, java.lang.String value)Definition of functions used to report module contents and function calls.Instrumentation.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Instrumentation.BuildersetReportCall(java.lang.String value)name of function(ID = <numeric function id>); used to inform the harness about a function callInstrumentation.BuildersetReportCallBytes(com.google.protobuf.ByteString value)name of function(ID = <numeric function id>); used to inform the harness about a function callInstrumentation.BuildersetReportDefined(java.lang.String value)name of function(ID = <numeric function id>); used to inform the harness about the contents of a moduleInstrumentation.BuildersetReportDefinedBytes(com.google.protobuf.ByteString value)name of function(ID = <numeric function id>); used to inform the harness about the contents of a moduleInstrumentation.BuildersetReportExit(java.lang.String value)name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit.Instrumentation.BuildersetReportExitBytes(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.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>
-
clear
public Instrumentation.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>
-
getDefaultInstanceForType
public Instrumentation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Instrumentation build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Instrumentation buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Instrumentation.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>
-
setField
public Instrumentation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>
-
clearField
public Instrumentation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>
-
clearOneof
public Instrumentation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>
-
setRepeatedField
public Instrumentation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>
-
addRepeatedField
public Instrumentation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>
-
mergeFrom
public Instrumentation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Instrumentation.Builder>
-
mergeFrom
public Instrumentation.Builder mergeFrom(Instrumentation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>
-
mergeFrom
public Instrumentation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Instrumentation.Builder>- Throws:
java.io.IOException
-
hasReportDefined
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;- Specified by:
hasReportDefinedin interfaceInstrumentationOrBuilder- Returns:
- Whether the reportDefined field is set.
-
getReportDefined
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;- Specified by:
getReportDefinedin interfaceInstrumentationOrBuilder- Returns:
- The reportDefined.
-
getReportDefinedBytes
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;- Specified by:
getReportDefinedBytesin interfaceInstrumentationOrBuilder- Returns:
- The bytes for reportDefined.
-
setReportDefined
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;- Parameters:
value- The reportDefined to set.- Returns:
- This builder for chaining.
-
clearReportDefined
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;- Returns:
- This builder for chaining.
-
setReportDefinedBytes
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;- Parameters:
value- The bytes for reportDefined to set.- Returns:
- This builder for chaining.
-
hasReportCall
public boolean hasReportCall()
name of function(ID = <numeric function id>); used to inform the harness about a function call
optional string report_call = 2;- Specified by:
hasReportCallin interfaceInstrumentationOrBuilder- Returns:
- Whether the reportCall field is set.
-
getReportCall
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;- Specified by:
getReportCallin interfaceInstrumentationOrBuilder- Returns:
- The reportCall.
-
getReportCallBytes
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;- Specified by:
getReportCallBytesin interfaceInstrumentationOrBuilder- Returns:
- The bytes for reportCall.
-
setReportCall
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;- Parameters:
value- The reportCall to set.- Returns:
- This builder for chaining.
-
clearReportCall
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;- Returns:
- This builder for chaining.
-
setReportCallBytes
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;- Parameters:
value- The bytes for reportCall to set.- Returns:
- This builder for chaining.
-
hasReportExit
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;- Specified by:
hasReportExitin interfaceInstrumentationOrBuilder- Returns:
- Whether the reportExit field is set.
-
getReportExit
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;- Specified by:
getReportExitin interfaceInstrumentationOrBuilder- Returns:
- The reportExit.
-
getReportExitBytes
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;- Specified by:
getReportExitBytesin interfaceInstrumentationOrBuilder- Returns:
- The bytes for reportExit.
-
setReportExit
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;- Parameters:
value- The reportExit to set.- Returns:
- This builder for chaining.
-
clearReportExit
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;- Returns:
- This builder for chaining.
-
setReportExitBytes
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;- Parameters:
value- The bytes for reportExit to set.- Returns:
- This builder for chaining.
-
getDeclarationToRemoveList
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;- Specified by:
getDeclarationToRemoveListin interfaceInstrumentationOrBuilder- Returns:
- A list containing the declarationToRemove.
-
getDeclarationToRemoveCount
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;- Specified by:
getDeclarationToRemoveCountin interfaceInstrumentationOrBuilder- Returns:
- The count of declarationToRemove.
-
getDeclarationToRemove
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;- Specified by:
getDeclarationToRemovein interfaceInstrumentationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The declarationToRemove at the given index.
-
getDeclarationToRemoveBytes
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;- Specified by:
getDeclarationToRemoveBytesin interfaceInstrumentationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the declarationToRemove at the given index.
-
setDeclarationToRemove
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;- Parameters:
index- The index to set the value at.value- The declarationToRemove to set.- Returns:
- This builder for chaining.
-
addDeclarationToRemove
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;- Parameters:
value- The declarationToRemove to add.- Returns:
- This builder for chaining.
-
addAllDeclarationToRemove
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;- Parameters:
values- The declarationToRemove to add.- Returns:
- This builder for chaining.
-
clearDeclarationToRemove
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;- Returns:
- This builder for chaining.
-
addDeclarationToRemoveBytes
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;- Parameters:
value- The bytes of the declarationToRemove to add.- Returns:
- This builder for chaining.
-
getInitList
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;- Specified by:
getInitListin interfaceInstrumentationOrBuilder- Returns:
- A list containing the init.
-
getInitCount
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;- Specified by:
getInitCountin interfaceInstrumentationOrBuilder- Returns:
- The count of init.
-
getInit
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;- Specified by:
getInitin interfaceInstrumentationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The init at the given index.
-
getInitBytes
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;- Specified by:
getInitBytesin interfaceInstrumentationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the init at the given index.
-
setInit
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;- Parameters:
index- The index to set the value at.value- The init to set.- Returns:
- This builder for chaining.
-
addInit
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;- Parameters:
value- The init to add.- Returns:
- This builder for chaining.
-
addAllInit
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;- Parameters:
values- The init to add.- Returns:
- This builder for chaining.
-
clearInit
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;- Returns:
- This builder for chaining.
-
addInitBytes
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;- Parameters:
value- The bytes of the init to add.- Returns:
- This builder for chaining.
-
hasAppNameSetter
public boolean hasAppNameSetter()
name of function(<string>); used to inform the harness about the app name
optional string app_name_setter = 5;- Specified by:
hasAppNameSetterin interfaceInstrumentationOrBuilder- Returns:
- Whether the appNameSetter field is set.
-
getAppNameSetter
public java.lang.String getAppNameSetter()
name of function(<string>); used to inform the harness about the app name
optional string app_name_setter = 5;- Specified by:
getAppNameSetterin interfaceInstrumentationOrBuilder- Returns:
- The appNameSetter.
-
getAppNameSetterBytes
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;- Specified by:
getAppNameSetterBytesin interfaceInstrumentationOrBuilder- Returns:
- The bytes for appNameSetter.
-
setAppNameSetter
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;- Parameters:
value- The appNameSetter to set.- Returns:
- This builder for chaining.
-
clearAppNameSetter
public Instrumentation.Builder clearAppNameSetter()
name of function(<string>); used to inform the harness about the app name
optional string app_name_setter = 5;- Returns:
- This builder for chaining.
-
setAppNameSetterBytes
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;- Parameters:
value- The bytes for appNameSetter to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Instrumentation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>
-
mergeUnknownFields
public final Instrumentation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Instrumentation.Builder>
-
-