ucar.nc2.stream
Class NcStreamProto.Attribute
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ucar.nc2.stream.NcStreamProto.Attribute
- All Implemented Interfaces:
- com.google.protobuf.Message, com.google.protobuf.MessageLite
- Enclosing class:
- NcStreamProto
public static final class NcStreamProto.Attribute
- extends com.google.protobuf.GeneratedMessage
| Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type> |
| Methods inherited from class com.google.protobuf.GeneratedMessage |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, newGeneratedExtension |
| Methods inherited from class com.google.protobuf.AbstractMessage |
equals, hashCode, toString |
| Methods inherited from class com.google.protobuf.AbstractMessageLite |
toByteArray, toByteString, writeDelimitedTo, writeTo |
| Methods inherited from interface com.google.protobuf.MessageLite |
toByteArray, toByteString, writeDelimitedTo, writeTo |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
LEN_FIELD_NUMBER
public static final int LEN_FIELD_NUMBER
- See Also:
- Constant Field Values
DATA_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
- See Also:
- Constant Field Values
SDATA_FIELD_NUMBER
public static final int SDATA_FIELD_NUMBER
- See Also:
- Constant Field Values
getDefaultInstance
public static NcStreamProto.Attribute getDefaultInstance()
getDefaultInstanceForType
public NcStreamProto.Attribute getDefaultInstanceForType()
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
hasName
public boolean hasName()
getName
public String getName()
hasType
public boolean hasType()
getType
public NcStreamProto.Attribute.Type getType()
hasLen
public boolean hasLen()
getLen
public int getLen()
hasData
public boolean hasData()
getData
public com.google.protobuf.ByteString getData()
getSdataList
public List<String> getSdataList()
getSdataCount
public int getSdataCount()
getSdata
public String getSdata(int index)
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized in interface com.google.protobuf.MessageLite- Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
- Specified by:
writeTo in interface com.google.protobuf.MessageLite- Overrides:
writeTo in class com.google.protobuf.AbstractMessage
- Throws:
IOException
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize in interface com.google.protobuf.MessageLite- Overrides:
getSerializedSize in class com.google.protobuf.AbstractMessage
parseFrom
public static NcStreamProto.Attribute parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static NcStreamProto.Attribute parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static NcStreamProto.Attribute parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static NcStreamProto.Attribute parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static NcStreamProto.Attribute parseFrom(InputStream input)
throws IOException
- Throws:
IOException
parseFrom
public static NcStreamProto.Attribute parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
parseDelimitedFrom
public static NcStreamProto.Attribute parseDelimitedFrom(InputStream input)
throws IOException
- Throws:
IOException
parseDelimitedFrom
public static NcStreamProto.Attribute parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
parseFrom
public static NcStreamProto.Attribute parseFrom(com.google.protobuf.CodedInputStream input)
throws IOException
- Throws:
IOException
parseFrom
public static NcStreamProto.Attribute parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
newBuilder
public static NcStreamProto.Attribute.Builder newBuilder()
newBuilderForType
public NcStreamProto.Attribute.Builder newBuilderForType()
newBuilder
public static NcStreamProto.Attribute.Builder newBuilder(NcStreamProto.Attribute prototype)
toBuilder
public NcStreamProto.Attribute.Builder toBuilder()
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.