Package com.google.javascript.jscomp
Class FunctionInformationMap.Entry.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<FunctionInformationMap.Entry.Builder>
com.google.javascript.jscomp.FunctionInformationMap.Entry.Builder
- All Implemented Interfaces:
FunctionInformationMap.EntryOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- FunctionInformationMap.Entry
public static final class FunctionInformationMap.Entry.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<FunctionInformationMap.Entry.Builder>
implements FunctionInformationMap.EntryOrBuilder
Protobuf type
jscomp.FunctionInformationMap.Entry
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
required string compiled_source = 8;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()
required int32 id = 2;
required int32 line_number = 4;
required string module_name = 5;
required string name = 7;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) required int32 size = 6;
required string source_name = 3;
clone()
required string compiled_source = 8;
com.google.protobuf.ByteString
required string compiled_source = 8;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
int
getId()
required int32 id = 2;
int
required int32 line_number = 4;
required string module_name = 5;
com.google.protobuf.ByteString
required string module_name = 5;
getName()
required string name = 7;
com.google.protobuf.ByteString
required string name = 7;
int
getSize()
required int32 size = 6;
required string source_name = 3;
com.google.protobuf.ByteString
required string source_name = 3;
boolean
required string compiled_source = 8;
boolean
hasId()
required int32 id = 2;
boolean
required int32 line_number = 4;
boolean
required string module_name = 5;
boolean
hasName()
required string name = 7;
boolean
hasSize()
required int32 size = 6;
boolean
required string source_name = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setCompiledSource
(String value) required string compiled_source = 8;
setCompiledSourceBytes
(com.google.protobuf.ByteString value) required string compiled_source = 8;
setId
(int value) required int32 id = 2;
setLineNumber
(int value) required int32 line_number = 4;
setModuleName
(String value) required string module_name = 5;
setModuleNameBytes
(com.google.protobuf.ByteString value) required string module_name = 5;
required string name = 7;
setNameBytes
(com.google.protobuf.ByteString value) required string name = 7;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSize
(int value) required int32 size = 6;
setSourceName
(String value) required string source_name = 3;
setSourceNameBytes
(com.google.protobuf.ByteString value) required string source_name = 3;
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionInformationMap.Entry.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.GeneratedMessageV3.Builder<FunctionInformationMap.Entry.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.GeneratedMessageV3.Builder<FunctionInformationMap.Entry.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.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.GeneratedMessageV3.Builder<FunctionInformationMap.Entry.Builder>
-
setField
public FunctionInformationMap.Entry.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionInformationMap.Entry.Builder>
-
clearField
public FunctionInformationMap.Entry.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionInformationMap.Entry.Builder>
-
clearOneof
public FunctionInformationMap.Entry.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionInformationMap.Entry.Builder>
-
setRepeatedField
public FunctionInformationMap.Entry.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionInformationMap.Entry.Builder>
-
addRepeatedField
public FunctionInformationMap.Entry.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionInformationMap.Entry.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<FunctionInformationMap.Entry.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionInformationMap.Entry.Builder>
-
mergeFrom
public FunctionInformationMap.Entry.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<FunctionInformationMap.Entry.Builder>
- Throws:
IOException
-
hasId
public boolean hasId()required int32 id = 2;
- Specified by:
hasId
in interfaceFunctionInformationMap.EntryOrBuilder
- Returns:
- Whether the id field is set.
-
getId
public int getId()required int32 id = 2;
- Specified by:
getId
in interfaceFunctionInformationMap.EntryOrBuilder
- Returns:
- The id.
-
setId
required int32 id = 2;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
required int32 id = 2;
- Returns:
- This builder for chaining.
-
hasSourceName
public boolean hasSourceName()required string source_name = 3;
- Specified by:
hasSourceName
in interfaceFunctionInformationMap.EntryOrBuilder
- Returns:
- Whether the sourceName field is set.
-
getSourceName
required string source_name = 3;
- Specified by:
getSourceName
in interfaceFunctionInformationMap.EntryOrBuilder
- Returns:
- The sourceName.
-
getSourceNameBytes
public com.google.protobuf.ByteString getSourceNameBytes()required string source_name = 3;
- Specified by:
getSourceNameBytes
in interfaceFunctionInformationMap.EntryOrBuilder
- Returns:
- The bytes for sourceName.
-
setSourceName
required string source_name = 3;
- Parameters:
value
- The sourceName to set.- Returns:
- This builder for chaining.
-
clearSourceName
required string source_name = 3;
- Returns:
- This builder for chaining.
-
setSourceNameBytes
public FunctionInformationMap.Entry.Builder setSourceNameBytes(com.google.protobuf.ByteString value) required string source_name = 3;
- Parameters:
value
- The bytes for sourceName to set.- Returns:
- This builder for chaining.
-
hasLineNumber
public boolean hasLineNumber()required int32 line_number = 4;
- Specified by:
hasLineNumber
in interfaceFunctionInformationMap.EntryOrBuilder
- Returns:
- Whether the lineNumber field is set.
-
getLineNumber
public int getLineNumber()required int32 line_number = 4;
- Specified by:
getLineNumber
in interfaceFunctionInformationMap.EntryOrBuilder
- Returns:
- The lineNumber.
-
setLineNumber
required int32 line_number = 4;
- Parameters:
value
- The lineNumber to set.- Returns:
- This builder for chaining.
-
clearLineNumber
required int32 line_number = 4;
- Returns:
- This builder for chaining.
-
hasModuleName
public boolean hasModuleName()required string module_name = 5;
- Specified by:
hasModuleName
in interfaceFunctionInformationMap.EntryOrBuilder
- Returns:
- Whether the moduleName field is set.
-
getModuleName
required string module_name = 5;
- Specified by:
getModuleName
in interfaceFunctionInformationMap.EntryOrBuilder
- Returns:
- The moduleName.
-
getModuleNameBytes
public com.google.protobuf.ByteString getModuleNameBytes()required string module_name = 5;
- Specified by:
getModuleNameBytes
in interfaceFunctionInformationMap.EntryOrBuilder
- Returns:
- The bytes for moduleName.
-
setModuleName
required string module_name = 5;
- Parameters:
value
- The moduleName to set.- Returns:
- This builder for chaining.
-
clearModuleName
required string module_name = 5;
- Returns:
- This builder for chaining.
-
setModuleNameBytes
public FunctionInformationMap.Entry.Builder setModuleNameBytes(com.google.protobuf.ByteString value) required string module_name = 5;
- Parameters:
value
- The bytes for moduleName to set.- Returns:
- This builder for chaining.
-
hasSize
public boolean hasSize()required int32 size = 6;
- Specified by:
hasSize
in interfaceFunctionInformationMap.EntryOrBuilder
- Returns:
- Whether the size field is set.
-
getSize
public int getSize()required int32 size = 6;
- Specified by:
getSize
in interfaceFunctionInformationMap.EntryOrBuilder
- Returns:
- The size.
-
setSize
required int32 size = 6;
- Parameters:
value
- The size to set.- Returns:
- This builder for chaining.
-
clearSize
required int32 size = 6;
- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()required string name = 7;
- Specified by:
hasName
in interfaceFunctionInformationMap.EntryOrBuilder
- Returns:
- Whether the name field is set.
-
getName
required string name = 7;
- Specified by:
getName
in interfaceFunctionInformationMap.EntryOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()required string name = 7;
- Specified by:
getNameBytes
in interfaceFunctionInformationMap.EntryOrBuilder
- Returns:
- The bytes for name.
-
setName
required string name = 7;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
required string name = 7;
- Returns:
- This builder for chaining.
-
setNameBytes
required string name = 7;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasCompiledSource
public boolean hasCompiledSource()required string compiled_source = 8;
- Specified by:
hasCompiledSource
in interfaceFunctionInformationMap.EntryOrBuilder
- Returns:
- Whether the compiledSource field is set.
-
getCompiledSource
required string compiled_source = 8;
- Specified by:
getCompiledSource
in interfaceFunctionInformationMap.EntryOrBuilder
- Returns:
- The compiledSource.
-
getCompiledSourceBytes
public com.google.protobuf.ByteString getCompiledSourceBytes()required string compiled_source = 8;
- Specified by:
getCompiledSourceBytes
in interfaceFunctionInformationMap.EntryOrBuilder
- Returns:
- The bytes for compiledSource.
-
setCompiledSource
required string compiled_source = 8;
- Parameters:
value
- The compiledSource to set.- Returns:
- This builder for chaining.
-
clearCompiledSource
required string compiled_source = 8;
- Returns:
- This builder for chaining.
-
setCompiledSourceBytes
public FunctionInformationMap.Entry.Builder setCompiledSourceBytes(com.google.protobuf.ByteString value) required string compiled_source = 8;
- Parameters:
value
- The bytes for compiledSource to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final FunctionInformationMap.Entry.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionInformationMap.Entry.Builder>
-
mergeUnknownFields
public final FunctionInformationMap.Entry.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionInformationMap.Entry.Builder>
-