public static final class Value.CompilerFunction.Builder extends com.google.protobuf.GeneratedMessage.Builder<Value.CompilerFunction.Builder> implements Value.CompilerFunctionOrBuilder
A first-class function defined in the compiler. New `CompilerFunction`s may only be created by the compiler, but the host may pass `CompilerFunction`s back to the compiler as long as their IDs match IDs of functions received by the host during that same compilation.Protobuf type
sass.embedded_protocol.Value.CompilerFunction
Modifier and Type | Method and Description |
---|---|
Value.CompilerFunction |
build() |
Value.CompilerFunction |
buildPartial() |
Value.CompilerFunction.Builder |
clear() |
Value.CompilerFunction.Builder |
clearId()
A unique ID for this function.
|
Value.CompilerFunction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getId()
A unique ID for this function.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Value.CompilerFunction.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Value.CompilerFunction.Builder |
mergeFrom(com.google.protobuf.Message other) |
Value.CompilerFunction.Builder |
mergeFrom(Value.CompilerFunction other) |
Value.CompilerFunction.Builder |
setId(int value)
A unique ID for this function.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<Value.CompilerFunction.Builder>
public Value.CompilerFunction.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<Value.CompilerFunction.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<Value.CompilerFunction.Builder>
public Value.CompilerFunction getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Value.CompilerFunction build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Value.CompilerFunction buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Value.CompilerFunction.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Value.CompilerFunction.Builder>
public Value.CompilerFunction.Builder mergeFrom(Value.CompilerFunction other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Value.CompilerFunction.Builder>
public Value.CompilerFunction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Value.CompilerFunction.Builder>
IOException
public int getId()
A unique ID for this function. The compiler is responsible for generating this ID and ensuring it's unique across all functions passed to the host for this compilation. Mandatory.
uint32 id = 1;
getId
in interface Value.CompilerFunctionOrBuilder
public Value.CompilerFunction.Builder setId(int value)
A unique ID for this function. The compiler is responsible for generating this ID and ensuring it's unique across all functions passed to the host for this compilation. Mandatory.
uint32 id = 1;
value
- The id to set.public Value.CompilerFunction.Builder clearId()
A unique ID for this function. The compiler is responsible for generating this ID and ensuring it's unique across all functions passed to the host for this compilation. Mandatory.
uint32 id = 1;