Package io.spine.net
Interface Uri.ProtocolOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Uri.Protocol
,Uri.Protocol.Builder
- Enclosing class:
- Uri
public static interface Uri.ProtocolOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Some other protocolcom.google.protobuf.ByteString
getNameBytes()
Some other protocolUri.Protocol.ProtocolCase
getProtocolCase()
Uri.Schema
getSchema()
Most often used schemas.int
getSchemaValue()
Most often used schemas.boolean
hasName()
Some other protocolboolean
hasSchema()
Most often used schemas.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasSchema
boolean hasSchema()
Most often used schemas.
.spine.net.Uri.Schema schema = 1;
- Returns:
- Whether the schema field is set.
-
getSchemaValue
int getSchemaValue()
Most often used schemas.
.spine.net.Uri.Schema schema = 1;
- Returns:
- The enum numeric value on the wire for schema.
-
getSchema
Uri.Schema getSchema()
Most often used schemas.
.spine.net.Uri.Schema schema = 1;
- Returns:
- The schema.
-
hasName
boolean hasName()
Some other protocol
string name = 2;
- Returns:
- Whether the name field is set.
-
getName
String getName()
Some other protocol
string name = 2;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Some other protocol
string name = 2;
- Returns:
- The bytes for name.
-
getProtocolCase
Uri.Protocol.ProtocolCase getProtocolCase()
-
-