Package com.google.privacy.dlp.v2
Interface Key.PathElementOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Key.PathElement
,Key.PathElement.Builder
- Enclosing class:
- Key
public static interface Key.PathElementOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getId()
The auto-allocated ID of the entity.Key.PathElement.IdTypeCase
getIdTypeCase()
String
getKind()
The kind of the entity.com.google.protobuf.ByteString
getKindBytes()
The kind of the entity.String
getName()
The name of the entity.com.google.protobuf.ByteString
getNameBytes()
The name of the entity.boolean
hasId()
The auto-allocated ID of the entity.boolean
hasName()
The name of the entity.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getKind
String getKind()
The kind of the entity. A kind matching regex `__.*__` is reserved/read-only. A kind must not contain more than 1500 bytes when UTF-8 encoded. Cannot be `""`.
string kind = 1;
- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()
The kind of the entity. A kind matching regex `__.*__` is reserved/read-only. A kind must not contain more than 1500 bytes when UTF-8 encoded. Cannot be `""`.
string kind = 1;
- Returns:
- The bytes for kind.
-
hasId
boolean hasId()
The auto-allocated ID of the entity. Never equal to zero. Values less than zero are discouraged and may not be supported in the future.
int64 id = 2;
- Returns:
- Whether the id field is set.
-
getId
long getId()
The auto-allocated ID of the entity. Never equal to zero. Values less than zero are discouraged and may not be supported in the future.
int64 id = 2;
- Returns:
- The id.
-
hasName
boolean hasName()
The name of the entity. A name matching regex `__.*__` is reserved/read-only. A name must not be more than 1500 bytes when UTF-8 encoded. Cannot be `""`.
string name = 3;
- Returns:
- Whether the name field is set.
-
getName
String getName()
The name of the entity. A name matching regex `__.*__` is reserved/read-only. A name must not be more than 1500 bytes when UTF-8 encoded. Cannot be `""`.
string name = 3;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The name of the entity. A name matching regex `__.*__` is reserved/read-only. A name must not be more than 1500 bytes when UTF-8 encoded. Cannot be `""`.
string name = 3;
- Returns:
- The bytes for name.
-
getIdTypeCase
Key.PathElement.IdTypeCase getIdTypeCase()
-
-