Package gauge.messages
Class Spec.Parameter.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Spec.Parameter.Builder>
gauge.messages.Spec.Parameter.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Spec.ParameterOrBuilder,Cloneable
- Enclosing class:
- Spec.Parameter
public static final class Spec.Parameter.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Spec.Parameter.Builder>
implements Spec.ParameterOrBuilder
/ A proto object representing Fragment.Protobuf type
gauge.messages.Parameter-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()/ Holds the name of the parameter, used as Key to lookup the value./ Type of the Parameter./ Holds the table value, if parameterType=Table or Special_Table/ Holds the value of the parameterstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()/ Holds the name of the parameter, used as Key to lookup the value.com.google.protobuf.ByteString/ Holds the name of the parameter, used as Key to lookup the value./ Type of the Parameter.int/ Type of the Parameter.getTable()/ Holds the table value, if parameterType=Table or Special_Table/ Holds the table value, if parameterType=Table or Special_Table/ Holds the table value, if parameterType=Table or Special_TablegetValue()/ Holds the value of the parametercom.google.protobuf.ByteString/ Holds the value of the parameterbooleanhasTable()/ Holds the table value, if parameterType=Table or Special_Tableprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Spec.Parameter other) mergeTable(Spec.ProtoTable value) / Holds the table value, if parameterType=Table or Special_Table/ Holds the name of the parameter, used as Key to lookup the value.setNameBytes(com.google.protobuf.ByteString value) / Holds the name of the parameter, used as Key to lookup the value./ Type of the Parameter.setParameterTypeValue(int value) / Type of the Parameter.setTable(Spec.ProtoTable value) / Holds the table value, if parameterType=Table or Special_TablesetTable(Spec.ProtoTable.Builder builderForValue) / Holds the table value, if parameterType=Table or Special_Table/ Holds the value of the parametersetValueBytes(com.google.protobuf.ByteString value) / Holds the value of the parameterMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Spec.Parameter.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<Spec.Parameter.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<Spec.Parameter.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Spec.Parameter.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Spec.Parameter.Builder>
-
mergeFrom
public Spec.Parameter.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Spec.Parameter.Builder>- Throws:
IOException
-
getParameterTypeValue
public int getParameterTypeValue()/ Type of the Parameter. Valid values: Static, Dynamic, Special_String, Special_Table, Table
.gauge.messages.Parameter.ParameterType parameterType = 1;- Specified by:
getParameterTypeValuein interfaceSpec.ParameterOrBuilder- Returns:
- The enum numeric value on the wire for parameterType.
-
setParameterTypeValue
/ Type of the Parameter. Valid values: Static, Dynamic, Special_String, Special_Table, Table
.gauge.messages.Parameter.ParameterType parameterType = 1;- Parameters:
value- The enum numeric value on the wire for parameterType to set.- Returns:
- This builder for chaining.
-
getParameterType
/ Type of the Parameter. Valid values: Static, Dynamic, Special_String, Special_Table, Table
.gauge.messages.Parameter.ParameterType parameterType = 1;- Specified by:
getParameterTypein interfaceSpec.ParameterOrBuilder- Returns:
- The parameterType.
-
setParameterType
/ Type of the Parameter. Valid values: Static, Dynamic, Special_String, Special_Table, Table
.gauge.messages.Parameter.ParameterType parameterType = 1;- Parameters:
value- The parameterType to set.- Returns:
- This builder for chaining.
-
clearParameterType
/ Type of the Parameter. Valid values: Static, Dynamic, Special_String, Special_Table, Table
.gauge.messages.Parameter.ParameterType parameterType = 1;- Returns:
- This builder for chaining.
-
getValue
/ Holds the value of the parameter
string value = 2;- Specified by:
getValuein interfaceSpec.ParameterOrBuilder- Returns:
- The value.
-
getValueBytes
public com.google.protobuf.ByteString getValueBytes()/ Holds the value of the parameter
string value = 2;- Specified by:
getValueBytesin interfaceSpec.ParameterOrBuilder- Returns:
- The bytes for value.
-
setValue
/ Holds the value of the parameter
string value = 2;- Parameters:
value- The value to set.- Returns:
- This builder for chaining.
-
clearValue
/ Holds the value of the parameter
string value = 2;- Returns:
- This builder for chaining.
-
setValueBytes
/ Holds the value of the parameter
string value = 2;- Parameters:
value- The bytes for value to set.- Returns:
- This builder for chaining.
-
getName
/ Holds the name of the parameter, used as Key to lookup the value.
string name = 3;- Specified by:
getNamein interfaceSpec.ParameterOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()/ Holds the name of the parameter, used as Key to lookup the value.
string name = 3;- Specified by:
getNameBytesin interfaceSpec.ParameterOrBuilder- Returns:
- The bytes for name.
-
setName
/ Holds the name of the parameter, used as Key to lookup the value.
string name = 3;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
/ Holds the name of the parameter, used as Key to lookup the value.
string name = 3;- Returns:
- This builder for chaining.
-
setNameBytes
/ Holds the name of the parameter, used as Key to lookup the value.
string name = 3;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasTable
public boolean hasTable()/ Holds the table value, if parameterType=Table or Special_Table
.gauge.messages.ProtoTable table = 4;- Specified by:
hasTablein interfaceSpec.ParameterOrBuilder- Returns:
- Whether the table field is set.
-
getTable
/ Holds the table value, if parameterType=Table or Special_Table
.gauge.messages.ProtoTable table = 4;- Specified by:
getTablein interfaceSpec.ParameterOrBuilder- Returns:
- The table.
-
setTable
/ Holds the table value, if parameterType=Table or Special_Table
.gauge.messages.ProtoTable table = 4; -
setTable
/ Holds the table value, if parameterType=Table or Special_Table
.gauge.messages.ProtoTable table = 4; -
mergeTable
/ Holds the table value, if parameterType=Table or Special_Table
.gauge.messages.ProtoTable table = 4; -
clearTable
/ Holds the table value, if parameterType=Table or Special_Table
.gauge.messages.ProtoTable table = 4; -
getTableBuilder
/ Holds the table value, if parameterType=Table or Special_Table
.gauge.messages.ProtoTable table = 4; -
getTableOrBuilder
/ Holds the table value, if parameterType=Table or Special_Table
.gauge.messages.ProtoTable table = 4;- Specified by:
getTableOrBuilderin interfaceSpec.ParameterOrBuilder
-