public static final class NcStreamProto.Attribute.Builder extends com.google.protobuf.GeneratedMessageV3.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)
used for string data
|
NcStreamProto.Attribute.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
NcStreamProto.Attribute.Builder |
addSdata(java.lang.String value)
used for string data
|
NcStreamProto.Attribute.Builder |
addSdataBytes(com.google.protobuf.ByteString value)
used for string data
|
NcStreamProto.Attribute |
build() |
NcStreamProto.Attribute |
buildPartial() |
NcStreamProto.Attribute.Builder |
clear() |
NcStreamProto.Attribute.Builder |
clearData()
not needed if len == 0, Attribute with name but no value
|
NcStreamProto.Attribute.Builder |
clearDataType()
5.0: cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRING
|
NcStreamProto.Attribute.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
NcStreamProto.Attribute.Builder |
clearLen()
uint32 len = 3; |
NcStreamProto.Attribute.Builder |
clearName()
string name = 1; |
NcStreamProto.Attribute.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
NcStreamProto.Attribute.Builder |
clearSdata()
used for string data
|
NcStreamProto.Attribute.Builder |
clearType()
< 5.0
|
NcStreamProto.Attribute.Builder |
clearUnsigned()
not used
|
NcStreamProto.Attribute.Builder |
clone() |
com.google.protobuf.ByteString |
getData()
not needed if len == 0, Attribute with name but no value
|
NcStreamProto.DataType |
getDataType()
5.0: cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRING
|
int |
getDataTypeValue()
5.0: cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRING
|
NcStreamProto.Attribute |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getLen()
uint32 len = 3; |
java.lang.String |
getName()
string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
string name = 1; |
java.lang.String |
getSdata(int index)
used for string data
|
com.google.protobuf.ByteString |
getSdataBytes(int index)
used for string data
|
int |
getSdataCount()
used for string data
|
com.google.protobuf.ProtocolStringList |
getSdataList()
used for string data
|
NcStreamProto.Attribute.Type |
getType()
< 5.0
|
int |
getTypeValue()
< 5.0
|
boolean |
getUnsigned()
not used
|
protected com.google.protobuf.GeneratedMessageV3.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)
not needed if len == 0, Attribute with name but no value
|
NcStreamProto.Attribute.Builder |
setDataType(NcStreamProto.DataType value)
5.0: cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRING
|
NcStreamProto.Attribute.Builder |
setDataTypeValue(int value)
5.0: cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRING
|
NcStreamProto.Attribute.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
NcStreamProto.Attribute.Builder |
setLen(int value)
uint32 len = 3; |
NcStreamProto.Attribute.Builder |
setName(java.lang.String value)
string name = 1; |
NcStreamProto.Attribute.Builder |
setNameBytes(com.google.protobuf.ByteString value)
string name = 1; |
NcStreamProto.Attribute.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
NcStreamProto.Attribute.Builder |
setSdata(int index,
java.lang.String value)
used for string data
|
NcStreamProto.Attribute.Builder |
setType(NcStreamProto.Attribute.Type value)
< 5.0
|
NcStreamProto.Attribute.Builder |
setTypeValue(int value)
< 5.0
|
NcStreamProto.Attribute.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
NcStreamProto.Attribute.Builder |
setUnsigned(boolean value)
not used
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Attribute.Builder>
public NcStreamProto.Attribute.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Attribute.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.GeneratedMessageV3.Builder<NcStreamProto.Attribute.Builder>
public NcStreamProto.Attribute getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public NcStreamProto.Attribute build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public NcStreamProto.Attribute buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public NcStreamProto.Attribute.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Attribute.Builder>
public NcStreamProto.Attribute.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Attribute.Builder>
public NcStreamProto.Attribute.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Attribute.Builder>
public NcStreamProto.Attribute.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Attribute.Builder>
public NcStreamProto.Attribute.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Attribute.Builder>
public NcStreamProto.Attribute.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Attribute.Builder>
public NcStreamProto.Attribute.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<NcStreamProto.Attribute.Builder>
java.io.IOException
public java.lang.String getName()
string name = 1;
getName
in interface NcStreamProto.AttributeOrBuilder
public com.google.protobuf.ByteString getNameBytes()
string name = 1;
getNameBytes
in interface NcStreamProto.AttributeOrBuilder
public NcStreamProto.Attribute.Builder setName(java.lang.String value)
string name = 1;
value
- The name to set.public NcStreamProto.Attribute.Builder clearName()
string name = 1;
public NcStreamProto.Attribute.Builder setNameBytes(com.google.protobuf.ByteString value)
string name = 1;
value
- The bytes for name to set.public int getTypeValue()
< 5.0
.Attribute.Type type = 2;
getTypeValue
in interface NcStreamProto.AttributeOrBuilder
public NcStreamProto.Attribute.Builder setTypeValue(int value)
< 5.0
.Attribute.Type type = 2;
value
- The enum numeric value on the wire for type to set.public NcStreamProto.Attribute.Type getType()
< 5.0
.Attribute.Type type = 2;
getType
in interface NcStreamProto.AttributeOrBuilder
public NcStreamProto.Attribute.Builder setType(NcStreamProto.Attribute.Type value)
< 5.0
.Attribute.Type type = 2;
value
- The type to set.public NcStreamProto.Attribute.Builder clearType()
< 5.0
.Attribute.Type type = 2;
public int getLen()
uint32 len = 3;
getLen
in interface NcStreamProto.AttributeOrBuilder
public NcStreamProto.Attribute.Builder setLen(int value)
uint32 len = 3;
value
- The len to set.public NcStreamProto.Attribute.Builder clearLen()
uint32 len = 3;
public com.google.protobuf.ByteString getData()
not needed if len == 0, Attribute with name but no value
bytes data = 4;
getData
in interface NcStreamProto.AttributeOrBuilder
public NcStreamProto.Attribute.Builder setData(com.google.protobuf.ByteString value)
not needed if len == 0, Attribute with name but no value
bytes data = 4;
value
- The data to set.public NcStreamProto.Attribute.Builder clearData()
not needed if len == 0, Attribute with name but no value
bytes data = 4;
public com.google.protobuf.ProtocolStringList getSdataList()
used for string data
repeated string sdata = 5;
getSdataList
in interface NcStreamProto.AttributeOrBuilder
public int getSdataCount()
used for string data
repeated string sdata = 5;
getSdataCount
in interface NcStreamProto.AttributeOrBuilder
public java.lang.String getSdata(int index)
used for string data
repeated string sdata = 5;
getSdata
in interface NcStreamProto.AttributeOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getSdataBytes(int index)
used for string data
repeated string sdata = 5;
getSdataBytes
in interface NcStreamProto.AttributeOrBuilder
index
- The index of the value to return.public NcStreamProto.Attribute.Builder setSdata(int index, java.lang.String value)
used for string data
repeated string sdata = 5;
index
- The index to set the value at.value
- The sdata to set.public NcStreamProto.Attribute.Builder addSdata(java.lang.String value)
used for string data
repeated string sdata = 5;
value
- The sdata to add.public NcStreamProto.Attribute.Builder addAllSdata(java.lang.Iterable<java.lang.String> values)
used for string data
repeated string sdata = 5;
values
- The sdata to add.public NcStreamProto.Attribute.Builder clearSdata()
used for string data
repeated string sdata = 5;
public NcStreamProto.Attribute.Builder addSdataBytes(com.google.protobuf.ByteString value)
used for string data
repeated string sdata = 5;
value
- The bytes of the sdata to add.public boolean getUnsigned()
not used
bool unsigned = 6;
getUnsigned
in interface NcStreamProto.AttributeOrBuilder
public NcStreamProto.Attribute.Builder setUnsigned(boolean value)
not used
bool unsigned = 6;
value
- The unsigned to set.public NcStreamProto.Attribute.Builder clearUnsigned()
not used
bool unsigned = 6;
public int getDataTypeValue()
5.0: cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRING
.DataType dataType = 7;
getDataTypeValue
in interface NcStreamProto.AttributeOrBuilder
public NcStreamProto.Attribute.Builder setDataTypeValue(int value)
5.0: cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRING
.DataType dataType = 7;
value
- The enum numeric value on the wire for dataType to set.public NcStreamProto.DataType getDataType()
5.0: cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRING
.DataType dataType = 7;
getDataType
in interface NcStreamProto.AttributeOrBuilder
public NcStreamProto.Attribute.Builder setDataType(NcStreamProto.DataType value)
5.0: cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRING
.DataType dataType = 7;
value
- The dataType to set.public NcStreamProto.Attribute.Builder clearDataType()
5.0: cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRING
.DataType dataType = 7;
public final NcStreamProto.Attribute.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Attribute.Builder>
public final NcStreamProto.Attribute.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Attribute.Builder>