ucar.nc2.stream
Class NcStreamProto.Attribute
java.lang.Object
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ucar.nc2.stream.NcStreamProto.Attribute
- All Implemented Interfaces:
- com.google.protobuf.Message
- 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, newRepeatedGeneratedExtension |
| Methods inherited from class com.google.protobuf.AbstractMessage |
equals, hashCode, toByteArray, toByteString, toString, writeDelimitedTo, writeTo |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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
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 java.lang.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()
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized in interface com.google.protobuf.Message- Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
- Specified by:
writeTo in interface com.google.protobuf.Message- Overrides:
writeTo in class com.google.protobuf.AbstractMessage
- Throws:
java.io.IOException
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize in interface com.google.protobuf.Message- 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.ExtensionRegistry 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.ExtensionRegistry extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static NcStreamProto.Attribute parseFrom(java.io.InputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
parseFrom
public static NcStreamProto.Attribute parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistry extensionRegistry)
throws java.io.IOException
- Throws:
java.io.IOException
parseDelimitedFrom
public static NcStreamProto.Attribute parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
parseDelimitedFrom
public static NcStreamProto.Attribute parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistry extensionRegistry)
throws java.io.IOException
- Throws:
java.io.IOException
parseFrom
public static NcStreamProto.Attribute parseFrom(com.google.protobuf.CodedInputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
parseFrom
public static NcStreamProto.Attribute parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistry extensionRegistry)
throws java.io.IOException
- Throws:
java.io.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()