Class DataAccessLabel (0.2.0)

public final class DataAccessLabel extends GeneratedMessageV3 implements DataAccessLabelOrBuilder

A DataAccessLabel is a label on events to define user access to data.

Protobuf type google.cloud.chronicle.v1.DataAccessLabel

Static Fields

AUTHOR_FIELD_NUMBER

public static final int AUTHOR_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

LAST_EDITOR_FIELD_NUMBER

public static final int LAST_EDITOR_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

UDM_QUERY_FIELD_NUMBER

public static final int UDM_QUERY_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataAccessLabel getDefaultInstance()
Returns
Type Description
DataAccessLabel

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DataAccessLabel.Builder newBuilder()
Returns
Type Description
DataAccessLabel.Builder

newBuilder(DataAccessLabel prototype)

public static DataAccessLabel.Builder newBuilder(DataAccessLabel prototype)
Parameter
Name Description
prototype DataAccessLabel
Returns
Type Description
DataAccessLabel.Builder

parseDelimitedFrom(InputStream input)

public static DataAccessLabel parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataAccessLabel
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataAccessLabel parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataAccessLabel
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataAccessLabel parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataAccessLabel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataAccessLabel parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataAccessLabel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataAccessLabel parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataAccessLabel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataAccessLabel parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataAccessLabel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataAccessLabel parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataAccessLabel
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataAccessLabel parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataAccessLabel
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataAccessLabel parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataAccessLabel
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataAccessLabel parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataAccessLabel
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataAccessLabel parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataAccessLabel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataAccessLabel parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataAccessLabel
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataAccessLabel> parser()
Returns
Type Description
Parser<DataAccessLabel>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAuthor()

public String getAuthor()

Output only. The user who created the data access label.

string author = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The author.

getAuthorBytes()

public ByteString getAuthorBytes()

Output only. The user who created the data access label.

string author = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for author.

getCreateTime()

public Timestamp getCreateTime()

Output only. The time at which the data access label was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time at which the data access label was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public DataAccessLabel getDefaultInstanceForType()
Returns
Type Description
DataAccessLabel

getDefinitionCase()

public DataAccessLabel.DefinitionCase getDefinitionCase()
Returns
Type Description
DataAccessLabel.DefinitionCase

getDescription()

public String getDescription()

Optional. A description of the data access label for a human reader.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. A description of the data access label for a human reader.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getDisplayName()

public String getDisplayName()

Output only. The short name displayed for the label as it appears on event data.

string display_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. The short name displayed for the label as it appears on event data.

string display_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getLastEditor()

public String getLastEditor()

Output only. The user who last updated the data access label.

string last_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The lastEditor.

getLastEditorBytes()

public ByteString getLastEditorBytes()

Output only. The user who last updated the data access label.

string last_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for lastEditor.

getName()

public String getName()

The unique resource name of the data access label.

string name = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The unique resource name of the data access label.

string name = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<DataAccessLabel> getParserForType()
Returns
Type Description
Parser<DataAccessLabel>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUdmQuery()

public String getUdmQuery()

A UDM query over event data.

string udm_query = 3;

Returns
Type Description
String

The udmQuery.

getUdmQueryBytes()

public ByteString getUdmQueryBytes()

A UDM query over event data.

string udm_query = 3;

Returns
Type Description
ByteString

The bytes for udmQuery.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The time at which the data access label was last updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time at which the data access label was last updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The time at which the data access label was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasUdmQuery()

public boolean hasUdmQuery()

A UDM query over event data.

string udm_query = 3;

Returns
Type Description
boolean

Whether the udmQuery field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The time at which the data access label was last updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DataAccessLabel.Builder newBuilderForType()
Returns
Type Description
DataAccessLabel.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataAccessLabel.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataAccessLabel.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DataAccessLabel.Builder toBuilder()
Returns
Type Description
DataAccessLabel.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException