public static interface Protos.ExtensionOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.ByteString |
getData()
required bytes data = 2; |
java.lang.String |
getId()
like org.whatever.foo.bar
|
com.google.protobuf.ByteString |
getIdBytes()
like org.whatever.foo.bar
|
boolean |
getMandatory()
If we do not understand a mandatory extension, abort to prevent data loss.
|
boolean |
hasData()
required bytes data = 2; |
boolean |
hasId()
like org.whatever.foo.bar
|
boolean |
hasMandatory()
If we do not understand a mandatory extension, abort to prevent data loss.
|
boolean hasId()
like org.whatever.foo.bar
required string id = 1;
java.lang.String getId()
like org.whatever.foo.bar
required string id = 1;
com.google.protobuf.ByteString getIdBytes()
like org.whatever.foo.bar
required string id = 1;
boolean hasData()
required bytes data = 2;
com.google.protobuf.ByteString getData()
required bytes data = 2;
boolean hasMandatory()
If we do not understand a mandatory extension, abort to prevent data loss. For example, this could be applied to a new type of holding, such as a contract, where dropping of an extension in a read/write cycle could cause loss of value.
required bool mandatory = 3;
boolean getMandatory()
If we do not understand a mandatory extension, abort to prevent data loss. For example, this could be applied to a new type of holding, such as a contract, where dropping of an extension in a read/write cycle could cause loss of value.
required bool mandatory = 3;