public interface IdOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getId()
public abstract ByteString getId()Full raw ID.
bytes id = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The id. |
getNamespace()
public abstract Id.Namespace getNamespace()Namespace the id belongs to.
.google.backstory.Id.Namespace namespace = 1;
| Returns | |
|---|---|
| Type | Description |
Id.Namespace |
The namespace. |
getNamespaceValue()
public abstract int getNamespaceValue()Namespace the id belongs to.
.google.backstory.Id.Namespace namespace = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for namespace. |
getStringId()
public abstract String getStringId()Some ids are stored as strings that are not able to be translated to bytes, so store these separately. Ex. detection id of the form de_aaaaaaaa-aaaa...
string string_id = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The stringId. |
getStringIdBytes()
public abstract ByteString getStringIdBytes()Some ids are stored as strings that are not able to be translated to bytes, so store these separately. Ex. detection id of the form de_aaaaaaaa-aaaa...
string string_id = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for stringId. |