public static final class NcStreamProto.Attribute.Builder extends com.google.protobuf.GeneratedMessage.Builder<NcStreamProto.Attribute.Builder> implements NcStreamProto.AttributeOrBuilder
Attribute| Modifier and Type | Method and Description |
|---|---|
NcStreamProto.Attribute.Builder |
addAllSdata(java.lang.Iterable<java.lang.String> values)
repeated string sdata = 5; |
NcStreamProto.Attribute.Builder |
addSdata(java.lang.String value)
repeated string sdata = 5; |
NcStreamProto.Attribute.Builder |
addSdataBytes(com.google.protobuf.ByteString value)
repeated string sdata = 5; |
NcStreamProto.Attribute |
build() |
NcStreamProto.Attribute |
buildPartial() |
NcStreamProto.Attribute.Builder |
clear() |
NcStreamProto.Attribute.Builder |
clearData()
optional bytes data = 4; |
NcStreamProto.Attribute.Builder |
clearDataType()
optional .DataType dataType = 7; |
NcStreamProto.Attribute.Builder |
clearLen()
optional uint32 len = 3; |
NcStreamProto.Attribute.Builder |
clearName()
optional string name = 1; |
NcStreamProto.Attribute.Builder |
clearSdata()
repeated string sdata = 5; |
NcStreamProto.Attribute.Builder |
clearType()
optional .Attribute.Type type = 2; |
NcStreamProto.Attribute.Builder |
clearUnsigned()
optional bool unsigned = 6; |
com.google.protobuf.ByteString |
getData()
optional bytes data = 4; |
NcStreamProto.DataType |
getDataType()
optional .DataType dataType = 7; |
int |
getDataTypeValue()
optional .DataType dataType = 7; |
NcStreamProto.Attribute |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getLen()
optional uint32 len = 3; |
java.lang.String |
getName()
optional string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 1; |
java.lang.String |
getSdata(int index)
repeated string sdata = 5; |
com.google.protobuf.ByteString |
getSdataBytes(int index)
repeated string sdata = 5; |
int |
getSdataCount()
repeated string sdata = 5; |
com.google.protobuf.ProtocolStringList |
getSdataList()
repeated string sdata = 5; |
NcStreamProto.Attribute.Type |
getType()
optional .Attribute.Type type = 2; |
int |
getTypeValue()
optional .Attribute.Type type = 2; |
boolean |
getUnsigned()
optional bool unsigned = 6; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
NcStreamProto.Attribute.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NcStreamProto.Attribute.Builder |
mergeFrom(com.google.protobuf.Message other) |
NcStreamProto.Attribute.Builder |
mergeFrom(NcStreamProto.Attribute other) |
NcStreamProto.Attribute.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
NcStreamProto.Attribute.Builder |
setData(com.google.protobuf.ByteString value)
optional bytes data = 4; |
NcStreamProto.Attribute.Builder |
setDataType(NcStreamProto.DataType value)
optional .DataType dataType = 7; |
NcStreamProto.Attribute.Builder |
setDataTypeValue(int value)
optional .DataType dataType = 7; |
NcStreamProto.Attribute.Builder |
setLen(int value)
optional uint32 len = 3; |
NcStreamProto.Attribute.Builder |
setName(java.lang.String value)
optional string name = 1; |
NcStreamProto.Attribute.Builder |
setNameBytes(com.google.protobuf.ByteString value)
optional string name = 1; |
NcStreamProto.Attribute.Builder |
setSdata(int index,
java.lang.String value)
repeated string sdata = 5; |
NcStreamProto.Attribute.Builder |
setType(NcStreamProto.Attribute.Type value)
optional .Attribute.Type type = 2; |
NcStreamProto.Attribute.Builder |
setTypeValue(int value)
optional .Attribute.Type type = 2; |
NcStreamProto.Attribute.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
NcStreamProto.Attribute.Builder |
setUnsigned(boolean value)
optional bool unsigned = 6; |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<NcStreamProto.Attribute.Builder>public NcStreamProto.Attribute.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<NcStreamProto.Attribute.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<NcStreamProto.Attribute.Builder>public NcStreamProto.Attribute getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic NcStreamProto.Attribute build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic NcStreamProto.Attribute buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic NcStreamProto.Attribute.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<NcStreamProto.Attribute.Builder>public NcStreamProto.Attribute.Builder mergeFrom(NcStreamProto.Attribute other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<NcStreamProto.Attribute.Builder>public NcStreamProto.Attribute.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<NcStreamProto.Attribute.Builder>java.io.IOExceptionpublic java.lang.String getName()
optional string name = 1;getName in interface NcStreamProto.AttributeOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
optional string name = 1;getNameBytes in interface NcStreamProto.AttributeOrBuilderpublic NcStreamProto.Attribute.Builder setName(java.lang.String value)
optional string name = 1;public NcStreamProto.Attribute.Builder clearName()
optional string name = 1;public NcStreamProto.Attribute.Builder setNameBytes(com.google.protobuf.ByteString value)
optional string name = 1;public int getTypeValue()
optional .Attribute.Type type = 2;
< 5.0
getTypeValue in interface NcStreamProto.AttributeOrBuilderpublic NcStreamProto.Attribute.Builder setTypeValue(int value)
optional .Attribute.Type type = 2;
< 5.0
public NcStreamProto.Attribute.Type getType()
optional .Attribute.Type type = 2;
< 5.0
getType in interface NcStreamProto.AttributeOrBuilderpublic NcStreamProto.Attribute.Builder setType(NcStreamProto.Attribute.Type value)
optional .Attribute.Type type = 2;
< 5.0
public NcStreamProto.Attribute.Builder clearType()
optional .Attribute.Type type = 2;
< 5.0
public int getLen()
optional uint32 len = 3;getLen in interface NcStreamProto.AttributeOrBuilderpublic NcStreamProto.Attribute.Builder setLen(int value)
optional uint32 len = 3;public NcStreamProto.Attribute.Builder clearLen()
optional uint32 len = 3;public com.google.protobuf.ByteString getData()
optional bytes data = 4;
not needed if len == 0, Attribute with name but no value
getData in interface NcStreamProto.AttributeOrBuilderpublic NcStreamProto.Attribute.Builder setData(com.google.protobuf.ByteString value)
optional bytes data = 4;
not needed if len == 0, Attribute with name but no value
public NcStreamProto.Attribute.Builder clearData()
optional bytes data = 4;
not needed if len == 0, Attribute with name but no value
public com.google.protobuf.ProtocolStringList getSdataList()
repeated string sdata = 5;
used for string data
getSdataList in interface NcStreamProto.AttributeOrBuilderpublic int getSdataCount()
repeated string sdata = 5;
used for string data
getSdataCount in interface NcStreamProto.AttributeOrBuilderpublic java.lang.String getSdata(int index)
repeated string sdata = 5;
used for string data
getSdata in interface NcStreamProto.AttributeOrBuilderpublic com.google.protobuf.ByteString getSdataBytes(int index)
repeated string sdata = 5;
used for string data
getSdataBytes in interface NcStreamProto.AttributeOrBuilderpublic NcStreamProto.Attribute.Builder setSdata(int index, java.lang.String value)
repeated string sdata = 5;
used for string data
public NcStreamProto.Attribute.Builder addSdata(java.lang.String value)
repeated string sdata = 5;
used for string data
public NcStreamProto.Attribute.Builder addAllSdata(java.lang.Iterable<java.lang.String> values)
repeated string sdata = 5;
used for string data
public NcStreamProto.Attribute.Builder clearSdata()
repeated string sdata = 5;
used for string data
public NcStreamProto.Attribute.Builder addSdataBytes(com.google.protobuf.ByteString value)
repeated string sdata = 5;
used for string data
public boolean getUnsigned()
optional bool unsigned = 6;
not used
getUnsigned in interface NcStreamProto.AttributeOrBuilderpublic NcStreamProto.Attribute.Builder setUnsigned(boolean value)
optional bool unsigned = 6;
not used
public NcStreamProto.Attribute.Builder clearUnsigned()
optional bool unsigned = 6;
not used
public int getDataTypeValue()
optional .DataType dataType = 7;
5.0: cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRING
getDataTypeValue in interface NcStreamProto.AttributeOrBuilderpublic NcStreamProto.Attribute.Builder setDataTypeValue(int value)
optional .DataType dataType = 7;
5.0: cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRING
public NcStreamProto.DataType getDataType()
optional .DataType dataType = 7;
5.0: cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRING
getDataType in interface NcStreamProto.AttributeOrBuilderpublic NcStreamProto.Attribute.Builder setDataType(NcStreamProto.DataType value)
optional .DataType dataType = 7;
5.0: cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRING
public NcStreamProto.Attribute.Builder clearDataType()
optional .DataType dataType = 7;
5.0: cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRING
public final NcStreamProto.Attribute.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessage.Builder<NcStreamProto.Attribute.Builder>public final NcStreamProto.Attribute.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessage.Builder<NcStreamProto.Attribute.Builder>