Class DataAccessLabels (0.3.0)

public final class DataAccessLabels extends GeneratedMessage implements DataAccessLabelsOrBuilder

Label used in data access.

Protobuf type google.backstory.DataAccessLabels

Static Fields

ALLOW_SCOPED_ACCESS_FIELD_NUMBER

public static final int ALLOW_SCOPED_ACCESS_FIELD_NUMBER
Field Value
Type Description
int

CUSTOM_LABELS_FIELD_NUMBER

public static final int CUSTOM_LABELS_FIELD_NUMBER
Field Value
Type Description
int

INGESTION_KV_LABELS_FIELD_NUMBER

public static final int INGESTION_KV_LABELS_FIELD_NUMBER
Field Value
Type Description
int

INGESTION_LABELS_FIELD_NUMBER

public static final int INGESTION_LABELS_FIELD_NUMBER
Field Value
Type Description
int

LOG_TYPES_FIELD_NUMBER

public static final int LOG_TYPES_FIELD_NUMBER
Field Value
Type Description
int

NAMESPACES_FIELD_NUMBER

public static final int NAMESPACES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataAccessLabels getDefaultInstance()
Returns
Type Description
DataAccessLabels

getDescriptor()

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

newBuilder()

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

newBuilder(DataAccessLabels prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAllowScopedAccess()

public boolean getAllowScopedAccess()

Are the labels ready for scoped access

bool allow_scoped_access = 6;

Returns
Type Description
boolean

The allowScopedAccess.

getCustomLabels(int index)

public String getCustomLabels(int index)

All the complex labels (UDM search syntax based).

repeated string custom_labels = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The customLabels at the given index.

getCustomLabelsBytes(int index)

public ByteString getCustomLabelsBytes(int index)

All the complex labels (UDM search syntax based).

repeated string custom_labels = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the customLabels at the given index.

getCustomLabelsCount()

public int getCustomLabelsCount()

All the complex labels (UDM search syntax based).

repeated string custom_labels = 4;

Returns
Type Description
int

The count of customLabels.

getCustomLabelsList()

public ProtocolStringList getCustomLabelsList()

All the complex labels (UDM search syntax based).

repeated string custom_labels = 4;

Returns
Type Description
ProtocolStringList

A list containing the customLabels.

getDefaultInstanceForType()

public DataAccessLabels getDefaultInstanceForType()
Returns
Type Description
DataAccessLabels

getIngestionKvLabels(int index)

public DataAccessIngestionLabel getIngestionKvLabels(int index)

All the ingestion labels (key/value pairs).

repeated .google.backstory.DataAccessIngestionLabel ingestion_kv_labels = 5;

Parameter
Name Description
index int
Returns
Type Description
DataAccessIngestionLabel

getIngestionKvLabelsCount()

public int getIngestionKvLabelsCount()

All the ingestion labels (key/value pairs).

repeated .google.backstory.DataAccessIngestionLabel ingestion_kv_labels = 5;

Returns
Type Description
int

getIngestionKvLabelsList()

public List<DataAccessIngestionLabel> getIngestionKvLabelsList()

All the ingestion labels (key/value pairs).

repeated .google.backstory.DataAccessIngestionLabel ingestion_kv_labels = 5;

Returns
Type Description
List<DataAccessIngestionLabel>

getIngestionKvLabelsOrBuilder(int index)

public DataAccessIngestionLabelOrBuilder getIngestionKvLabelsOrBuilder(int index)

All the ingestion labels (key/value pairs).

repeated .google.backstory.DataAccessIngestionLabel ingestion_kv_labels = 5;

Parameter
Name Description
index int
Returns
Type Description
DataAccessIngestionLabelOrBuilder

getIngestionKvLabelsOrBuilderList()

public List<? extends DataAccessIngestionLabelOrBuilder> getIngestionKvLabelsOrBuilderList()

All the ingestion labels (key/value pairs).

repeated .google.backstory.DataAccessIngestionLabel ingestion_kv_labels = 5;

Returns
Type Description
List<? extends com.google.backstory.DataAccessIngestionLabelOrBuilder>

getIngestionLabels(int index) (deprecated)

public String getIngestionLabels(int index)

Deprecated. google.backstory.DataAccessLabels.ingestion_labels is deprecated. See backstory/data_access.proto;l=40

All the ingestion labels.

repeated string ingestion_labels = 2 [deprecated = true];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The ingestionLabels at the given index.

getIngestionLabelsBytes(int index) (deprecated)

public ByteString getIngestionLabelsBytes(int index)

Deprecated. google.backstory.DataAccessLabels.ingestion_labels is deprecated. See backstory/data_access.proto;l=40

All the ingestion labels.

repeated string ingestion_labels = 2 [deprecated = true];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the ingestionLabels at the given index.

getIngestionLabelsCount() (deprecated)

public int getIngestionLabelsCount()

Deprecated. google.backstory.DataAccessLabels.ingestion_labels is deprecated. See backstory/data_access.proto;l=40

All the ingestion labels.

repeated string ingestion_labels = 2 [deprecated = true];

Returns
Type Description
int

The count of ingestionLabels.

getIngestionLabelsList() (deprecated)

public ProtocolStringList getIngestionLabelsList()

Deprecated. google.backstory.DataAccessLabels.ingestion_labels is deprecated. See backstory/data_access.proto;l=40

All the ingestion labels.

repeated string ingestion_labels = 2 [deprecated = true];

Returns
Type Description
ProtocolStringList

A list containing the ingestionLabels.

getLogTypes(int index)

public String getLogTypes(int index)

All the LogType labels.

repeated string log_types = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The logTypes at the given index.

getLogTypesBytes(int index)

public ByteString getLogTypesBytes(int index)

All the LogType labels.

repeated string log_types = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the logTypes at the given index.

getLogTypesCount()

public int getLogTypesCount()

All the LogType labels.

repeated string log_types = 1;

Returns
Type Description
int

The count of logTypes.

getLogTypesList()

public ProtocolStringList getLogTypesList()

All the LogType labels.

repeated string log_types = 1;

Returns
Type Description
ProtocolStringList

A list containing the logTypes.

getNamespaces(int index)

public String getNamespaces(int index)

All the namespaces.

repeated string namespaces = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The namespaces at the given index.

getNamespacesBytes(int index)

public ByteString getNamespacesBytes(int index)

All the namespaces.

repeated string namespaces = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the namespaces at the given index.

getNamespacesCount()

public int getNamespacesCount()

All the namespaces.

repeated string namespaces = 3;

Returns
Type Description
int

The count of namespaces.

getNamespacesList()

public ProtocolStringList getNamespacesList()

All the namespaces.

repeated string namespaces = 3;

Returns
Type Description
ProtocolStringList

A list containing the namespaces.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected DataAccessLabels.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataAccessLabels.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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