Interface LibraryOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Library,Library.Builder
public interface LibraryOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()The library name.com.google.protobuf.ByteStringgetNameBytes()The library name.StringgetVersion()The library version.com.google.protobuf.ByteStringgetVersionBytes()The library version.booleanhasName()The library name.booleanhasVersion()The library version.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasName
boolean hasName()
The library name.
required string name = 1;- Returns:
- Whether the name field is set.
-
getName
String getName()
The library name.
required string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The library name.
required string name = 1;- Returns:
- The bytes for name.
-
hasVersion
boolean hasVersion()
The library version.
required string version = 2;- Returns:
- Whether the version field is set.
-
getVersion
String getVersion()
The library version.
required string version = 2;- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()
The library version.
required string version = 2;- Returns:
- The bytes for version.
-
-