public final class ConversationLocation extends GeneratedMessage implements ConversationLocationOrBuilderLocation within a conversation.
Protobuf type google.privacy.dlp.v2.ConversationLocation
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ConversationLocationImplements
ConversationLocationOrBuilderStatic Fields
ALL_MESSAGES_FIELD_NUMBER
public static final int ALL_MESSAGES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
MESSAGE_INDEX_FIELD_NUMBER
public static final int MESSAGE_INDEX_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ConversationLocation getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ConversationLocation |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ConversationLocation.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ConversationLocation.Builder |
|
newBuilder(ConversationLocation prototype)
public static ConversationLocation.Builder newBuilder(ConversationLocation prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ConversationLocation |
| Returns | |
|---|---|
| Type | Description |
ConversationLocation.Builder |
|
parseDelimitedFrom(InputStream input)
public static ConversationLocation parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ConversationLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ConversationLocation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConversationLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ConversationLocation parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ConversationLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ConversationLocation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConversationLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ConversationLocation parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ConversationLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConversationLocation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConversationLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ConversationLocation parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ConversationLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ConversationLocation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConversationLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ConversationLocation parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ConversationLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ConversationLocation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConversationLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ConversationLocation parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ConversationLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ConversationLocation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConversationLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ConversationLocation> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ConversationLocation> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAllMessages()
public ConversationLocation.AllMessages getAllMessages()If set, indicates that the finding applies to all messages in the conversation.
.google.privacy.dlp.v2.ConversationLocation.AllMessages all_messages = 2;
| Returns | |
|---|---|
| Type | Description |
ConversationLocation.AllMessages |
The allMessages. |
getAllMessagesOrBuilder()
public ConversationLocation.AllMessagesOrBuilder getAllMessagesOrBuilder()If set, indicates that the finding applies to all messages in the conversation.
.google.privacy.dlp.v2.ConversationLocation.AllMessages all_messages = 2;
| Returns | |
|---|---|
| Type | Description |
ConversationLocation.AllMessagesOrBuilder |
|
getDefaultInstanceForType()
public ConversationLocation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ConversationLocation |
|
getLocationCase()
public ConversationLocation.LocationCase getLocationCase()| Returns | |
|---|---|
| Type | Description |
ConversationLocation.LocationCase |
|
getMessageIndex()
public int getMessageIndex()Matches an index of a message in the conversation provided in the request.
int32 message_index = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The messageIndex. |
getParserForType()
public Parser<ConversationLocation> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ConversationLocation> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasAllMessages()
public boolean hasAllMessages()If set, indicates that the finding applies to all messages in the conversation.
.google.privacy.dlp.v2.ConversationLocation.AllMessages all_messages = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the allMessages field is set. |
hasMessageIndex()
public boolean hasMessageIndex()Matches an index of a message in the conversation provided in the request.
int32 message_index = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the messageIndex field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ConversationLocation.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ConversationLocation.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ConversationLocation.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ConversationLocation.Builder |
|
toBuilder()
public ConversationLocation.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ConversationLocation.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|