Class DataAccessLabelReference (0.2.0)

public final class DataAccessLabelReference extends GeneratedMessageV3 implements DataAccessLabelReferenceOrBuilder

Reference object to a data access label.

Protobuf type google.cloud.chronicle.v1.DataAccessLabelReference

Static Fields

ASSET_NAMESPACE_FIELD_NUMBER

public static final int ASSET_NAMESPACE_FIELD_NUMBER
Field Value
Type Description
int

DATA_ACCESS_LABEL_FIELD_NUMBER

public static final int DATA_ACCESS_LABEL_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

INGESTION_LABEL_FIELD_NUMBER

public static final int INGESTION_LABEL_FIELD_NUMBER
Field Value
Type Description
int

LOG_TYPE_FIELD_NUMBER

public static final int LOG_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataAccessLabelReference getDefaultInstance()
Returns
Type Description
DataAccessLabelReference

getDescriptor()

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

newBuilder()

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

newBuilder(DataAccessLabelReference prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAssetNamespace()

public String getAssetNamespace()

The asset namespace configured in the forwarder of the customer's events.

string asset_namespace = 3;

Returns
Type Description
String

The assetNamespace.

getAssetNamespaceBytes()

public ByteString getAssetNamespaceBytes()

The asset namespace configured in the forwarder of the customer's events.

string asset_namespace = 3;

Returns
Type Description
ByteString

The bytes for assetNamespace.

getDataAccessLabel()

public String getDataAccessLabel()

The name of the data access label.

string data_access_label = 1;

Returns
Type Description
String

The dataAccessLabel.

getDataAccessLabelBytes()

public ByteString getDataAccessLabelBytes()

The name of the data access label.

string data_access_label = 1;

Returns
Type Description
ByteString

The bytes for dataAccessLabel.

getDefaultInstanceForType()

public DataAccessLabelReference getDefaultInstanceForType()
Returns
Type Description
DataAccessLabelReference

getDisplayName()

public String getDisplayName()

Output only. The display name of the label. Data access label and log types's name will match the display name of the resource. The asset namespace will match the namespace itself. The ingestion key value pair will match the key of the tuple.

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

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. The display name of the label. Data access label and log types's name will match the display name of the resource. The asset namespace will match the namespace itself. The ingestion key value pair will match the key of the tuple.

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

Returns
Type Description
ByteString

The bytes for displayName.

getIngestionLabel()

public IngestionLabel getIngestionLabel()

The ingestion label configured in the forwarder of the customer's events.

.google.cloud.chronicle.v1.IngestionLabel ingestion_label = 4;

Returns
Type Description
IngestionLabel

The ingestionLabel.

getIngestionLabelOrBuilder()

public IngestionLabelOrBuilder getIngestionLabelOrBuilder()

The ingestion label configured in the forwarder of the customer's events.

.google.cloud.chronicle.v1.IngestionLabel ingestion_label = 4;

Returns
Type Description
IngestionLabelOrBuilder

getLabelCase()

public DataAccessLabelReference.LabelCase getLabelCase()
Returns
Type Description
DataAccessLabelReference.LabelCase

getLogType()

public String getLogType()

The name of the log type.

string log_type = 2;

Returns
Type Description
String

The logType.

getLogTypeBytes()

public ByteString getLogTypeBytes()

The name of the log type.

string log_type = 2;

Returns
Type Description
ByteString

The bytes for logType.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAssetNamespace()

public boolean hasAssetNamespace()

The asset namespace configured in the forwarder of the customer's events.

string asset_namespace = 3;

Returns
Type Description
boolean

Whether the assetNamespace field is set.

hasDataAccessLabel()

public boolean hasDataAccessLabel()

The name of the data access label.

string data_access_label = 1;

Returns
Type Description
boolean

Whether the dataAccessLabel field is set.

hasIngestionLabel()

public boolean hasIngestionLabel()

The ingestion label configured in the forwarder of the customer's events.

.google.cloud.chronicle.v1.IngestionLabel ingestion_label = 4;

Returns
Type Description
boolean

Whether the ingestionLabel field is set.

hasLogType()

public boolean hasLogType()

The name of the log type.

string log_type = 2;

Returns
Type Description
boolean

Whether the logType 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 DataAccessLabelReference.Builder newBuilderForType()
Returns
Type Description
DataAccessLabelReference.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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