com.opera.core.systems.scope.protos
Class EcmascriptProtos.Value.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessage.Builder<EcmascriptProtos.Value.Builder>
com.opera.core.systems.scope.protos.EcmascriptProtos.Value.Builder
- All Implemented Interfaces:
- com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, EcmascriptProtos.ValueOrBuilder, Cloneable
- Enclosing class:
- EcmascriptProtos.Value
public static final class EcmascriptProtos.Value.Builder
- extends com.google.protobuf.GeneratedMessage.Builder<EcmascriptProtos.Value.Builder>
- implements EcmascriptProtos.ValueOrBuilder
| Methods inherited from class com.google.protobuf.GeneratedMessage.Builder |
addRepeatedField, clearField, getAllFields, getField, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields |
| Methods inherited from class com.google.protobuf.AbstractMessage.Builder |
mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException |
| Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder |
addAll, newUninitializedMessageException |
| Methods inherited from interface com.google.protobuf.MessageOrBuilder |
getAllFields, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField |
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<EcmascriptProtos.Value.Builder>
clear
public EcmascriptProtos.Value.Builder clear()
- Specified by:
clear in interface com.google.protobuf.Message.Builder- Specified by:
clear in interface com.google.protobuf.MessageLite.Builder- Overrides:
clear in class com.google.protobuf.GeneratedMessage.Builder<EcmascriptProtos.Value.Builder>
clone
public EcmascriptProtos.Value.Builder clone()
- Specified by:
clone in interface com.google.protobuf.Message.Builder- Specified by:
clone in interface com.google.protobuf.MessageLite.Builder- Overrides:
clone in class com.google.protobuf.GeneratedMessage.Builder<EcmascriptProtos.Value.Builder>
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType in interface com.google.protobuf.Message.Builder- Specified by:
getDescriptorForType in interface com.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<EcmascriptProtos.Value.Builder>
getDefaultInstanceForType
public EcmascriptProtos.Value getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
build
public EcmascriptProtos.Value build()
- Specified by:
build in interface com.google.protobuf.Message.Builder- Specified by:
build in interface com.google.protobuf.MessageLite.Builder
buildPartial
public EcmascriptProtos.Value buildPartial()
- Specified by:
buildPartial in interface com.google.protobuf.Message.Builder- Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder
mergeFrom
public EcmascriptProtos.Value.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder- Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EcmascriptProtos.Value.Builder>
mergeFrom
public EcmascriptProtos.Value.Builder mergeFrom(EcmascriptProtos.Value other)
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.Builder<EcmascriptProtos.Value.Builder>
mergeFrom
public EcmascriptProtos.Value.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder- Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder- Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EcmascriptProtos.Value.Builder>
- Throws:
IOException
hasType
public boolean hasType()
- Specified by:
hasType in interface EcmascriptProtos.ValueOrBuilder
getType
public EcmascriptProtos.Value.Type getType()
- Specified by:
getType in interface EcmascriptProtos.ValueOrBuilder
setType
public EcmascriptProtos.Value.Builder setType(EcmascriptProtos.Value.Type value)
clearType
public EcmascriptProtos.Value.Builder clearType()
hasNumber
public boolean hasNumber()
- Specified by:
hasNumber in interface EcmascriptProtos.ValueOrBuilder
getNumber
public double getNumber()
- Specified by:
getNumber in interface EcmascriptProtos.ValueOrBuilder
setNumber
public EcmascriptProtos.Value.Builder setNumber(double value)
clearNumber
public EcmascriptProtos.Value.Builder clearNumber()
hasStr
public boolean hasStr()
- Specified by:
hasStr in interface EcmascriptProtos.ValueOrBuilder
getStr
public String getStr()
- Specified by:
getStr in interface EcmascriptProtos.ValueOrBuilder
setStr
public EcmascriptProtos.Value.Builder setStr(String value)
clearStr
public EcmascriptProtos.Value.Builder clearStr()
hasObject
public boolean hasObject()
- Specified by:
hasObject in interface EcmascriptProtos.ValueOrBuilder
getObject
public EcmascriptProtos.Object getObject()
- Specified by:
getObject in interface EcmascriptProtos.ValueOrBuilder
setObject
public EcmascriptProtos.Value.Builder setObject(EcmascriptProtos.Object value)
setObject
public EcmascriptProtos.Value.Builder setObject(EcmascriptProtos.Object.Builder builderForValue)
mergeObject
public EcmascriptProtos.Value.Builder mergeObject(EcmascriptProtos.Object value)
clearObject
public EcmascriptProtos.Value.Builder clearObject()
getObjectBuilder
public EcmascriptProtos.Object.Builder getObjectBuilder()
getObjectOrBuilder
public EcmascriptProtos.ObjectOrBuilder getObjectOrBuilder()
- Specified by:
getObjectOrBuilder in interface EcmascriptProtos.ValueOrBuilder
Copyright © 2012. All Rights Reserved.