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 |
clearLen()
required uint32 len = 3; |
NcStreamProto.Attribute.Builder |
clearName()
required string name = 1; |
NcStreamProto.Attribute.Builder |
clearSdata()
repeated string sdata = 5; |
NcStreamProto.Attribute.Builder |
clearType()
required .Attribute.Type type = 2; |
NcStreamProto.Attribute.Builder |
clearUnsigned()
optional bool unsigned = 6 [default = false]; |
NcStreamProto.Attribute.Builder |
clone() |
com.google.protobuf.ByteString |
getData()
optional bytes data = 4; |
NcStreamProto.Attribute |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getLen()
required uint32 len = 3; |
java.lang.String |
getName()
required string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
required 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; |
java.util.List<java.lang.String> |
getSdataList()
repeated string sdata = 5; |
NcStreamProto.Attribute.Type |
getType()
required .Attribute.Type type = 2; |
boolean |
getUnsigned()
optional bool unsigned = 6 [default = false]; |
boolean |
hasData()
optional bytes data = 4; |
boolean |
hasLen()
required uint32 len = 3; |
boolean |
hasName()
required string name = 1; |
boolean |
hasType()
required .Attribute.Type type = 2; |
boolean |
hasUnsigned()
optional bool unsigned = 6 [default = false]; |
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 |
setData(com.google.protobuf.ByteString value)
optional bytes data = 4; |
NcStreamProto.Attribute.Builder |
setLen(int value)
required uint32 len = 3; |
NcStreamProto.Attribute.Builder |
setName(java.lang.String value)
required string name = 1; |
NcStreamProto.Attribute.Builder |
setNameBytes(com.google.protobuf.ByteString value)
required 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)
required .Attribute.Type type = 2; |
NcStreamProto.Attribute.Builder |
setUnsigned(boolean value)
optional bool unsigned = 6 [default = false]; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, 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<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.GeneratedMessage.Builder<NcStreamProto.Attribute.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.GeneratedMessage.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.GeneratedMessage.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 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.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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<NcStreamProto.Attribute.Builder>
java.io.IOException
public boolean hasName()
required string name = 1;
hasName
in interface NcStreamProto.AttributeOrBuilder
public java.lang.String getName()
required string name = 1;
getName
in interface NcStreamProto.AttributeOrBuilder
public com.google.protobuf.ByteString getNameBytes()
required string name = 1;
getNameBytes
in interface NcStreamProto.AttributeOrBuilder
public NcStreamProto.Attribute.Builder setName(java.lang.String value)
required string name = 1;
public NcStreamProto.Attribute.Builder clearName()
required string name = 1;
public NcStreamProto.Attribute.Builder setNameBytes(com.google.protobuf.ByteString value)
required string name = 1;
public boolean hasType()
required .Attribute.Type type = 2;
hasType
in interface NcStreamProto.AttributeOrBuilder
public NcStreamProto.Attribute.Type getType()
required .Attribute.Type type = 2;
getType
in interface NcStreamProto.AttributeOrBuilder
public NcStreamProto.Attribute.Builder setType(NcStreamProto.Attribute.Type value)
required .Attribute.Type type = 2;
public NcStreamProto.Attribute.Builder clearType()
required .Attribute.Type type = 2;
public boolean hasLen()
required uint32 len = 3;
hasLen
in interface NcStreamProto.AttributeOrBuilder
public int getLen()
required uint32 len = 3;
getLen
in interface NcStreamProto.AttributeOrBuilder
public NcStreamProto.Attribute.Builder setLen(int value)
required uint32 len = 3;
public NcStreamProto.Attribute.Builder clearLen()
required uint32 len = 3;
public boolean hasData()
optional bytes data = 4;
not needed if len == 0
hasData
in interface NcStreamProto.AttributeOrBuilder
public com.google.protobuf.ByteString getData()
optional bytes data = 4;
not needed if len == 0
getData
in interface NcStreamProto.AttributeOrBuilder
public NcStreamProto.Attribute.Builder setData(com.google.protobuf.ByteString value)
optional bytes data = 4;
not needed if len == 0
public NcStreamProto.Attribute.Builder clearData()
optional bytes data = 4;
not needed if len == 0
public java.util.List<java.lang.String> getSdataList()
repeated string sdata = 5;
used for string data
getSdataList
in interface NcStreamProto.AttributeOrBuilder
public int getSdataCount()
repeated string sdata = 5;
used for string data
getSdataCount
in interface NcStreamProto.AttributeOrBuilder
public java.lang.String getSdata(int index)
repeated string sdata = 5;
used for string data
getSdata
in interface NcStreamProto.AttributeOrBuilder
public com.google.protobuf.ByteString getSdataBytes(int index)
repeated string sdata = 5;
used for string data
getSdataBytes
in interface NcStreamProto.AttributeOrBuilder
public 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 hasUnsigned()
optional bool unsigned = 6 [default = false];
hasUnsigned
in interface NcStreamProto.AttributeOrBuilder
public boolean getUnsigned()
optional bool unsigned = 6 [default = false];
getUnsigned
in interface NcStreamProto.AttributeOrBuilder
public NcStreamProto.Attribute.Builder setUnsigned(boolean value)
optional bool unsigned = 6 [default = false];
public NcStreamProto.Attribute.Builder clearUnsigned()
optional bool unsigned = 6 [default = false];