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.Builder
addAllDeclarationToRemove(java.lang.Iterable<java.lang.String> values)
repeated string declaration_to_remove = 3;
Instrumentation.Builder
addAllInit(java.lang.Iterable<java.lang.String> values)
repeated string init = 4;
Instrumentation.Builder
addDeclarationToRemove(java.lang.String value)
repeated string declaration_to_remove = 3;
Instrumentation.Builder
addDeclarationToRemoveBytes(com.google.protobuf.ByteString value)
repeated string declaration_to_remove = 3;
Instrumentation.Builder
addInit(java.lang.String value)
repeated string init = 4;
Instrumentation.Builder
addInitBytes(com.google.protobuf.ByteString value)
repeated string init = 4;
Instrumentation
build()
Instrumentation
buildPartial()
Instrumentation.Builder
clear()
Instrumentation.Builder
clearAppNameSetter()
optional string app_name_setter = 5;
Instrumentation.Builder
clearDeclarationToRemove()
repeated string declaration_to_remove = 3;
Instrumentation.Builder
clearInit()
repeated string init = 4;
Instrumentation.Builder
clearReportCall()
optional string report_call = 2;
Instrumentation.Builder
clearReportDefined()
optional string report_defined = 1;
Instrumentation.Builder
clearReportExit()
optional string report_exit = 6;
Instrumentation.Builder
clone()
java.lang.String
getAppNameSetter()
optional string app_name_setter = 5;
com.google.protobuf.ByteString
getAppNameSetterBytes()
optional string app_name_setter = 5;
java.lang.String
getDeclarationToRemove(int index)
repeated string declaration_to_remove = 3;
com.google.protobuf.ByteString
getDeclarationToRemoveBytes(int index)
repeated string declaration_to_remove = 3;
int
getDeclarationToRemoveCount()
repeated string declaration_to_remove = 3;
java.util.List<java.lang.String>
getDeclarationToRemoveList()
repeated string declaration_to_remove = 3;
Instrumentation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getInit(int index)
repeated string init = 4;
com.google.protobuf.ByteString
getInitBytes(int index)
repeated string init = 4;
int
getInitCount()
repeated string init = 4;
java.util.List<java.lang.String>
getInitList()
repeated string init = 4;
java.lang.String
getReportCall()
optional string report_call = 2;
com.google.protobuf.ByteString
getReportCallBytes()
optional string report_call = 2;
java.lang.String
getReportDefined()
optional string report_defined = 1;
com.google.protobuf.ByteString
getReportDefinedBytes()
optional string report_defined = 1;
java.lang.String
getReportExit()
optional string report_exit = 6;
com.google.protobuf.ByteString
getReportExitBytes()
optional string report_exit = 6;
boolean
hasAppNameSetter()
optional string app_name_setter = 5;
boolean
hasReportCall()
optional string report_call = 2;
boolean
hasReportDefined()
optional string report_defined = 1;
boolean
hasReportExit()
optional string report_exit = 6;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Instrumentation.Builder
mergeFrom(Instrumentation other)
Instrumentation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Instrumentation.Builder
mergeFrom(com.google.protobuf.Message other)
Instrumentation.Builder
setAppNameSetter(java.lang.String value)
optional string app_name_setter = 5;
Instrumentation.Builder
setAppNameSetterBytes(com.google.protobuf.ByteString value)
optional string app_name_setter = 5;
Instrumentation.Builder
setDeclarationToRemove(int index, java.lang.String value)
repeated string declaration_to_remove = 3;
Instrumentation.Builder
setInit(int index, java.lang.String value)
repeated string init = 4;
Instrumentation.Builder
setReportCall(java.lang.String value)
optional string report_call = 2;
Instrumentation.Builder
setReportCallBytes(com.google.protobuf.ByteString value)
optional string report_call = 2;
Instrumentation.Builder
setReportDefined(java.lang.String value)
optional string report_defined = 1;
Instrumentation.Builder
setReportDefinedBytes(com.google.protobuf.ByteString value)
optional string report_defined = 1;
Instrumentation.Builder
setReportExit(java.lang.String value)
optional string report_exit = 6;
Instrumentation.Builder
setReportExitBytes(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Instrumentation.Builder>
-
clear
public Instrumentation.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Instrumentation.Builder>
-
clone
public Instrumentation.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessage.Builder<Instrumentation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Instrumentation.Builder>
-
getDefaultInstanceForType
public Instrumentation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Instrumentation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Instrumentation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Instrumentation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Instrumentation.Builder>
-
mergeFrom
public Instrumentation.Builder mergeFrom(Instrumentation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasReportDefined
in 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:
getReportDefined
in 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:
getReportDefinedBytes
in 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:
hasReportCall
in 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:
getReportCall
in 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:
getReportCallBytes
in 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:
hasReportExit
in 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:
getReportExit
in 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:
getReportExitBytes
in 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:
getDeclarationToRemoveList
in 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:
getDeclarationToRemoveCount
in 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:
getDeclarationToRemove
in 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:
getDeclarationToRemoveBytes
in 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:
getInitList
in 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:
getInitCount
in 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:
getInit
in 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:
getInitBytes
in 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:
hasAppNameSetter
in 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:
getAppNameSetter
in 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:
getAppNameSetterBytes
in 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
-
-