ucar.nc2.stream
Class NcStreamProto.Structure
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ucar.nc2.stream.NcStreamProto.Structure
- All Implemented Interfaces:
- com.google.protobuf.Message, com.google.protobuf.MessageLite
- Enclosing class:
- NcStreamProto
public static final class NcStreamProto.Structure
- 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
DATATYPE_FIELD_NUMBER
public static final int DATATYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
SHAPE_FIELD_NUMBER
public static final int SHAPE_FIELD_NUMBER
- See Also:
- Constant Field Values
ATTS_FIELD_NUMBER
public static final int ATTS_FIELD_NUMBER
- See Also:
- Constant Field Values
VARS_FIELD_NUMBER
public static final int VARS_FIELD_NUMBER
- See Also:
- Constant Field Values
STRUCTS_FIELD_NUMBER
public static final int STRUCTS_FIELD_NUMBER
- See Also:
- Constant Field Values
getDefaultInstance
public static NcStreamProto.Structure getDefaultInstance()
getDefaultInstanceForType
public NcStreamProto.Structure 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()
hasDataType
public boolean hasDataType()
getDataType
public NcStreamProto.DataType getDataType()
getShapeList
public List<NcStreamProto.Dimension> getShapeList()
getShapeCount
public int getShapeCount()
getShape
public NcStreamProto.Dimension getShape(int index)
getAttsList
public List<NcStreamProto.Attribute> getAttsList()
getAttsCount
public int getAttsCount()
getAtts
public NcStreamProto.Attribute getAtts(int index)
getVarsList
public List<NcStreamProto.Variable> getVarsList()
getVarsCount
public int getVarsCount()
getVars
public NcStreamProto.Variable getVars(int index)
getStructsList
public List<NcStreamProto.Structure> getStructsList()
getStructsCount
public int getStructsCount()
getStructs
public NcStreamProto.Structure getStructs(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.Structure parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static NcStreamProto.Structure 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.Structure parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static NcStreamProto.Structure parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static NcStreamProto.Structure parseFrom(InputStream input)
throws IOException
- Throws:
IOException
parseFrom
public static NcStreamProto.Structure parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
parseDelimitedFrom
public static NcStreamProto.Structure parseDelimitedFrom(InputStream input)
throws IOException
- Throws:
IOException
parseDelimitedFrom
public static NcStreamProto.Structure parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
parseFrom
public static NcStreamProto.Structure parseFrom(com.google.protobuf.CodedInputStream input)
throws IOException
- Throws:
IOException
parseFrom
public static NcStreamProto.Structure parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
newBuilder
public static NcStreamProto.Structure.Builder newBuilder()
newBuilderForType
public NcStreamProto.Structure.Builder newBuilderForType()
newBuilder
public static NcStreamProto.Structure.Builder newBuilder(NcStreamProto.Structure prototype)
toBuilder
public NcStreamProto.Structure.Builder toBuilder()
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.