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.GeneratedMessage.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.GeneratedMessage.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)repeated string declaration_to_remove = 3;Instrumentation.BuilderaddAllInit(java.lang.Iterable<java.lang.String> values)repeated string init = 4;Instrumentation.BuilderaddDeclarationToRemove(java.lang.String value)repeated string declaration_to_remove = 3;Instrumentation.BuilderaddDeclarationToRemoveBytes(com.google.protobuf.ByteString value)repeated string declaration_to_remove = 3;Instrumentation.BuilderaddInit(java.lang.String value)repeated string init = 4;Instrumentation.BuilderaddInitBytes(com.google.protobuf.ByteString value)repeated string init = 4;Instrumentationbuild()InstrumentationbuildPartial()Instrumentation.Builderclear()Instrumentation.BuilderclearAppNameSetter()optional string app_name_setter = 5;Instrumentation.BuilderclearDeclarationToRemove()repeated string declaration_to_remove = 3;Instrumentation.BuilderclearInit()repeated string init = 4;Instrumentation.BuilderclearReportCall()optional string report_call = 2;Instrumentation.BuilderclearReportDefined()optional string report_defined = 1;Instrumentation.BuilderclearReportExit()optional string report_exit = 6;Instrumentation.Builderclone()java.lang.StringgetAppNameSetter()optional string app_name_setter = 5;com.google.protobuf.ByteStringgetAppNameSetterBytes()optional string app_name_setter = 5;java.lang.StringgetDeclarationToRemove(int index)repeated string declaration_to_remove = 3;com.google.protobuf.ByteStringgetDeclarationToRemoveBytes(int index)repeated string declaration_to_remove = 3;intgetDeclarationToRemoveCount()repeated string declaration_to_remove = 3;java.util.List<java.lang.String>getDeclarationToRemoveList()repeated string declaration_to_remove = 3;InstrumentationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetInit(int index)repeated string init = 4;com.google.protobuf.ByteStringgetInitBytes(int index)repeated string init = 4;intgetInitCount()repeated string init = 4;java.util.List<java.lang.String>getInitList()repeated string init = 4;java.lang.StringgetReportCall()optional string report_call = 2;com.google.protobuf.ByteStringgetReportCallBytes()optional string report_call = 2;java.lang.StringgetReportDefined()optional string report_defined = 1;com.google.protobuf.ByteStringgetReportDefinedBytes()optional string report_defined = 1;java.lang.StringgetReportExit()optional string report_exit = 6;com.google.protobuf.ByteStringgetReportExitBytes()optional string report_exit = 6;booleanhasAppNameSetter()optional string app_name_setter = 5;booleanhasReportCall()optional string report_call = 2;booleanhasReportDefined()optional string report_defined = 1;booleanhasReportExit()optional string report_exit = 6;protected com.google.protobuf.GeneratedMessage.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.BuildersetAppNameSetter(java.lang.String value)optional string app_name_setter = 5;Instrumentation.BuildersetAppNameSetterBytes(com.google.protobuf.ByteString value)optional string app_name_setter = 5;Instrumentation.BuildersetDeclarationToRemove(int index, java.lang.String value)repeated string declaration_to_remove = 3;Instrumentation.BuildersetInit(int index, java.lang.String value)repeated string init = 4;Instrumentation.BuildersetReportCall(java.lang.String value)optional string report_call = 2;Instrumentation.BuildersetReportCallBytes(com.google.protobuf.ByteString value)optional string report_call = 2;Instrumentation.BuildersetReportDefined(java.lang.String value)optional string report_defined = 1;Instrumentation.BuildersetReportDefinedBytes(com.google.protobuf.ByteString value)optional string report_defined = 1;Instrumentation.BuildersetReportExit(java.lang.String value)optional string report_exit = 6;Instrumentation.BuildersetReportExitBytes(com.google.protobuf.ByteString value)optional string report_exit = 6;-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
-
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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<Instrumentation.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.GeneratedMessage.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.GeneratedMessage.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
-
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.GeneratedMessage.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()
optional string report_defined = 1;name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
- Specified by:
hasReportDefinedin interfaceInstrumentationOrBuilder
-
getReportDefined
public java.lang.String getReportDefined()
optional string report_defined = 1;name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
- Specified by:
getReportDefinedin interfaceInstrumentationOrBuilder
-
getReportDefinedBytes
public com.google.protobuf.ByteString getReportDefinedBytes()
optional string report_defined = 1;name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
- Specified by:
getReportDefinedBytesin interfaceInstrumentationOrBuilder
-
setReportDefined
public Instrumentation.Builder setReportDefined(java.lang.String value)
optional string report_defined = 1;name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
-
clearReportDefined
public Instrumentation.Builder clearReportDefined()
optional string report_defined = 1;name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
-
setReportDefinedBytes
public Instrumentation.Builder setReportDefinedBytes(com.google.protobuf.ByteString value)
optional string report_defined = 1;name of function(ID = <numeric function id>); used to inform the harness about the contents of a module
-
hasReportCall
public boolean hasReportCall()
optional string report_call = 2;name of function(ID = <numeric function id>); used to inform the harness about a function call
- Specified by:
hasReportCallin interfaceInstrumentationOrBuilder
-
getReportCall
public java.lang.String getReportCall()
optional string report_call = 2;name of function(ID = <numeric function id>); used to inform the harness about a function call
- Specified by:
getReportCallin interfaceInstrumentationOrBuilder
-
getReportCallBytes
public com.google.protobuf.ByteString getReportCallBytes()
optional string report_call = 2;name of function(ID = <numeric function id>); used to inform the harness about a function call
- Specified by:
getReportCallBytesin interfaceInstrumentationOrBuilder
-
setReportCall
public Instrumentation.Builder setReportCall(java.lang.String value)
optional string report_call = 2;name of function(ID = <numeric function id>); used to inform the harness about a function call
-
clearReportCall
public Instrumentation.Builder clearReportCall()
optional string report_call = 2;name of function(ID = <numeric function id>); used to inform the harness about a function call
-
setReportCallBytes
public Instrumentation.Builder setReportCallBytes(com.google.protobuf.ByteString value)
optional string report_call = 2;name of function(ID = <numeric function id>); used to inform the harness about a function call
-
hasReportExit
public boolean hasReportExit()
optional string report_exit = 6;name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit. Must return its second argument.
- Specified by:
hasReportExitin interfaceInstrumentationOrBuilder- Returns:
- VAL
-
getReportExit
public java.lang.String getReportExit()
optional string report_exit = 6;name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit. Must return its second argument.
- Specified by:
getReportExitin interfaceInstrumentationOrBuilder- Returns:
- VAL
-
getReportExitBytes
public com.google.protobuf.ByteString getReportExitBytes()
optional string report_exit = 6;name of function(ID = <numeric function id>, VAL = <return value>); used to inform the harness about a function exit. Must return its second argument.
- Specified by:
getReportExitBytesin interfaceInstrumentationOrBuilder- Returns:
- VAL
-
setReportExit
public Instrumentation.Builder setReportExit(java.lang.String value)
optional string report_exit = 6;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
-
clearReportExit
public Instrumentation.Builder clearReportExit()
optional string report_exit = 6;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
-
setReportExitBytes
public Instrumentation.Builder setReportExitBytes(com.google.protobuf.ByteString value)
optional string report_exit = 6;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
-
getDeclarationToRemoveList
public java.util.List<java.lang.String> getDeclarationToRemoveList()
repeated string declaration_to_remove = 3;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.
- Specified by:
getDeclarationToRemoveListin interfaceInstrumentationOrBuilder
-
getDeclarationToRemoveCount
public int getDeclarationToRemoveCount()
repeated string declaration_to_remove = 3;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.
- Specified by:
getDeclarationToRemoveCountin interfaceInstrumentationOrBuilder
-
getDeclarationToRemove
public java.lang.String getDeclarationToRemove(int index)
repeated string declaration_to_remove = 3;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.
- Specified by:
getDeclarationToRemovein interfaceInstrumentationOrBuilder
-
getDeclarationToRemoveBytes
public com.google.protobuf.ByteString getDeclarationToRemoveBytes(int index)
repeated string declaration_to_remove = 3;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.
- Specified by:
getDeclarationToRemoveBytesin interfaceInstrumentationOrBuilder
-
setDeclarationToRemove
public Instrumentation.Builder setDeclarationToRemove(int index, java.lang.String value)
repeated string declaration_to_remove = 3;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.
-
addDeclarationToRemove
public Instrumentation.Builder addDeclarationToRemove(java.lang.String value)
repeated string declaration_to_remove = 3;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.
-
addAllDeclarationToRemove
public Instrumentation.Builder addAllDeclarationToRemove(java.lang.Iterable<java.lang.String> values)
repeated string declaration_to_remove = 3;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.
-
clearDeclarationToRemove
public Instrumentation.Builder clearDeclarationToRemove()
repeated string declaration_to_remove = 3;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.
-
addDeclarationToRemoveBytes
public Instrumentation.Builder addDeclarationToRemoveBytes(com.google.protobuf.ByteString value)
repeated string declaration_to_remove = 3;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.
-
getInitList
public java.util.List<java.lang.String> getInitList()
repeated string init = 4;Definition of functions used to report module contents and function calls. Will be added to the start of the app's main module.
- Specified by:
getInitListin interfaceInstrumentationOrBuilder
-
getInitCount
public int getInitCount()
repeated string init = 4;Definition of functions used to report module contents and function calls. Will be added to the start of the app's main module.
- Specified by:
getInitCountin interfaceInstrumentationOrBuilder
-
getInit
public java.lang.String getInit(int index)
repeated string init = 4;Definition of functions used to report module contents and function calls. Will be added to the start of the app's main module.
- Specified by:
getInitin interfaceInstrumentationOrBuilder
-
getInitBytes
public com.google.protobuf.ByteString getInitBytes(int index)
repeated string init = 4;Definition of functions used to report module contents and function calls. Will be added to the start of the app's main module.
- Specified by:
getInitBytesin interfaceInstrumentationOrBuilder
-
setInit
public Instrumentation.Builder setInit(int index, java.lang.String value)
repeated string init = 4;Definition of functions used to report module contents and function calls. Will be added to the start of the app's main module.
-
addInit
public Instrumentation.Builder addInit(java.lang.String value)
repeated string init = 4;Definition of functions used to report module contents and function calls. Will be added to the start of the app's main module.
-
addAllInit
public Instrumentation.Builder addAllInit(java.lang.Iterable<java.lang.String> values)
repeated string init = 4;Definition of functions used to report module contents and function calls. Will be added to the start of the app's main module.
-
clearInit
public Instrumentation.Builder clearInit()
repeated string init = 4;Definition of functions used to report module contents and function calls. Will be added to the start of the app's main module.
-
addInitBytes
public Instrumentation.Builder addInitBytes(com.google.protobuf.ByteString value)
repeated string init = 4;Definition of functions used to report module contents and function calls. Will be added to the start of the app's main module.
-
hasAppNameSetter
public boolean hasAppNameSetter()
optional string app_name_setter = 5;name of function(<string>); used to inform the harness about the app name
- Specified by:
hasAppNameSetterin interfaceInstrumentationOrBuilder
-
getAppNameSetter
public java.lang.String getAppNameSetter()
optional string app_name_setter = 5;name of function(<string>); used to inform the harness about the app name
- Specified by:
getAppNameSetterin interfaceInstrumentationOrBuilder
-
getAppNameSetterBytes
public com.google.protobuf.ByteString getAppNameSetterBytes()
optional string app_name_setter = 5;name of function(<string>); used to inform the harness about the app name
- Specified by:
getAppNameSetterBytesin interfaceInstrumentationOrBuilder
-
setAppNameSetter
public Instrumentation.Builder setAppNameSetter(java.lang.String value)
optional string app_name_setter = 5;name of function(<string>); used to inform the harness about the app name
-
clearAppNameSetter
public Instrumentation.Builder clearAppNameSetter()
optional string app_name_setter = 5;name of function(<string>); used to inform the harness about the app name
-
setAppNameSetterBytes
public Instrumentation.Builder setAppNameSetterBytes(com.google.protobuf.ByteString value)
optional string app_name_setter = 5;name of function(<string>); used to inform the harness about the app name
-
-