Class DataAccessLabels.Builder (0.3.0)

public static final class DataAccessLabels.Builder extends GeneratedMessage.Builder<DataAccessLabels.Builder> implements DataAccessLabelsOrBuilder

Label used in data access.

Protobuf type google.backstory.DataAccessLabels

Static Methods

getDescriptor()

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

Methods

addAllCustomLabels(Iterable<String> values)

public DataAccessLabels.Builder addAllCustomLabels(Iterable<String> values)

All the complex labels (UDM search syntax based).

repeated string custom_labels = 4;

Parameter
Name Description
values Iterable<String>

The customLabels to add.

Returns
Type Description
DataAccessLabels.Builder

This builder for chaining.

addAllIngestionKvLabels(Iterable<? extends DataAccessIngestionLabel> values)

public DataAccessLabels.Builder addAllIngestionKvLabels(Iterable<? extends DataAccessIngestionLabel> values)

All the ingestion labels (key/value pairs).

repeated .google.backstory.DataAccessIngestionLabel ingestion_kv_labels = 5;

Parameter
Name Description
values Iterable<? extends com.google.backstory.DataAccessIngestionLabel>
Returns
Type Description
DataAccessLabels.Builder

addAllIngestionLabels(Iterable<String> values) (deprecated)

public DataAccessLabels.Builder addAllIngestionLabels(Iterable<String> values)

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
values Iterable<String>

The ingestionLabels to add.

Returns
Type Description
DataAccessLabels.Builder

This builder for chaining.

addAllLogTypes(Iterable<String> values)

public DataAccessLabels.Builder addAllLogTypes(Iterable<String> values)

All the LogType labels.

repeated string log_types = 1;

Parameter
Name Description
values Iterable<String>

The logTypes to add.

Returns
Type Description
DataAccessLabels.Builder

This builder for chaining.

addAllNamespaces(Iterable<String> values)

public DataAccessLabels.Builder addAllNamespaces(Iterable<String> values)

All the namespaces.

repeated string namespaces = 3;

Parameter
Name Description
values Iterable<String>

The namespaces to add.

Returns
Type Description
DataAccessLabels.Builder

This builder for chaining.

addCustomLabels(String value)

public DataAccessLabels.Builder addCustomLabels(String value)

All the complex labels (UDM search syntax based).

repeated string custom_labels = 4;

Parameter
Name Description
value String

The customLabels to add.

Returns
Type Description
DataAccessLabels.Builder

This builder for chaining.

addCustomLabelsBytes(ByteString value)

public DataAccessLabels.Builder addCustomLabelsBytes(ByteString value)

All the complex labels (UDM search syntax based).

repeated string custom_labels = 4;

Parameter
Name Description
value ByteString

The bytes of the customLabels to add.

Returns
Type Description
DataAccessLabels.Builder

This builder for chaining.

addIngestionKvLabels(DataAccessIngestionLabel value)

public DataAccessLabels.Builder addIngestionKvLabels(DataAccessIngestionLabel value)

All the ingestion labels (key/value pairs).

repeated .google.backstory.DataAccessIngestionLabel ingestion_kv_labels = 5;

Parameter
Name Description
value DataAccessIngestionLabel
Returns
Type Description
DataAccessLabels.Builder

addIngestionKvLabels(DataAccessIngestionLabel.Builder builderForValue)

public DataAccessLabels.Builder addIngestionKvLabels(DataAccessIngestionLabel.Builder builderForValue)

All the ingestion labels (key/value pairs).

repeated .google.backstory.DataAccessIngestionLabel ingestion_kv_labels = 5;

Parameter
Name Description
builderForValue DataAccessIngestionLabel.Builder
Returns
Type Description
DataAccessLabels.Builder

addIngestionKvLabels(int index, DataAccessIngestionLabel value)

public DataAccessLabels.Builder addIngestionKvLabels(int index, DataAccessIngestionLabel value)

All the ingestion labels (key/value pairs).

repeated .google.backstory.DataAccessIngestionLabel ingestion_kv_labels = 5;

Parameters
Name Description
index int
value DataAccessIngestionLabel
Returns
Type Description
DataAccessLabels.Builder

addIngestionKvLabels(int index, DataAccessIngestionLabel.Builder builderForValue)

public DataAccessLabels.Builder addIngestionKvLabels(int index, DataAccessIngestionLabel.Builder builderForValue)

All the ingestion labels (key/value pairs).

repeated .google.backstory.DataAccessIngestionLabel ingestion_kv_labels = 5;

Parameters
Name Description
index int
builderForValue DataAccessIngestionLabel.Builder
Returns
Type Description
DataAccessLabels.Builder

addIngestionKvLabelsBuilder()

public DataAccessIngestionLabel.Builder addIngestionKvLabelsBuilder()

All the ingestion labels (key/value pairs).

repeated .google.backstory.DataAccessIngestionLabel ingestion_kv_labels = 5;

Returns
Type Description
DataAccessIngestionLabel.Builder

addIngestionKvLabelsBuilder(int index)

public DataAccessIngestionLabel.Builder addIngestionKvLabelsBuilder(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.Builder

addIngestionLabels(String value) (deprecated)

public DataAccessLabels.Builder addIngestionLabels(String value)

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
value String

The ingestionLabels to add.

Returns
Type Description
DataAccessLabels.Builder

This builder for chaining.

addIngestionLabelsBytes(ByteString value) (deprecated)

public DataAccessLabels.Builder addIngestionLabelsBytes(ByteString value)

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
value ByteString

The bytes of the ingestionLabels to add.

Returns
Type Description
DataAccessLabels.Builder

This builder for chaining.

addLogTypes(String value)

public DataAccessLabels.Builder addLogTypes(String value)

All the LogType labels.

repeated string log_types = 1;

Parameter
Name Description
value String

The logTypes to add.

Returns
Type Description
DataAccessLabels.Builder

This builder for chaining.

addLogTypesBytes(ByteString value)

public DataAccessLabels.Builder addLogTypesBytes(ByteString value)

All the LogType labels.

repeated string log_types = 1;

Parameter
Name Description
value ByteString

The bytes of the logTypes to add.

Returns
Type Description
DataAccessLabels.Builder

This builder for chaining.

addNamespaces(String value)

public DataAccessLabels.Builder addNamespaces(String value)

All the namespaces.

repeated string namespaces = 3;

Parameter
Name Description
value String

The namespaces to add.

Returns
Type Description
DataAccessLabels.Builder

This builder for chaining.

addNamespacesBytes(ByteString value)

public DataAccessLabels.Builder addNamespacesBytes(ByteString value)

All the namespaces.

repeated string namespaces = 3;

Parameter
Name Description
value ByteString

The bytes of the namespaces to add.

Returns
Type Description
DataAccessLabels.Builder

This builder for chaining.

build()

public DataAccessLabels build()
Returns
Type Description
DataAccessLabels

buildPartial()

public DataAccessLabels buildPartial()
Returns
Type Description
DataAccessLabels

clear()

public DataAccessLabels.Builder clear()
Returns
Type Description
DataAccessLabels.Builder
Overrides

clearAllowScopedAccess()

public DataAccessLabels.Builder clearAllowScopedAccess()

Are the labels ready for scoped access

bool allow_scoped_access = 6;

Returns
Type Description
DataAccessLabels.Builder

This builder for chaining.

clearCustomLabels()

public DataAccessLabels.Builder clearCustomLabels()

All the complex labels (UDM search syntax based).

repeated string custom_labels = 4;

Returns
Type Description
DataAccessLabels.Builder

This builder for chaining.

clearIngestionKvLabels()

public DataAccessLabels.Builder clearIngestionKvLabels()

All the ingestion labels (key/value pairs).

repeated .google.backstory.DataAccessIngestionLabel ingestion_kv_labels = 5;

Returns
Type Description
DataAccessLabels.Builder

clearIngestionLabels() (deprecated)

public DataAccessLabels.Builder clearIngestionLabels()

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
DataAccessLabels.Builder

This builder for chaining.

clearLogTypes()

public DataAccessLabels.Builder clearLogTypes()

All the LogType labels.

repeated string log_types = 1;

Returns
Type Description
DataAccessLabels.Builder

This builder for chaining.

clearNamespaces()

public DataAccessLabels.Builder clearNamespaces()

All the namespaces.

repeated string namespaces = 3;

Returns
Type Description
DataAccessLabels.Builder

This builder for chaining.

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

getIngestionKvLabelsBuilder(int index)

public DataAccessIngestionLabel.Builder getIngestionKvLabelsBuilder(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.Builder

getIngestionKvLabelsBuilderList()

public List<DataAccessIngestionLabel.Builder> getIngestionKvLabelsBuilderList()

All the ingestion labels (key/value pairs).

repeated .google.backstory.DataAccessIngestionLabel ingestion_kv_labels = 5;

Returns
Type Description
List<Builder>

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataAccessLabels other)

public DataAccessLabels.Builder mergeFrom(DataAccessLabels other)
Parameter
Name Description
other DataAccessLabels
Returns
Type Description
DataAccessLabels.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataAccessLabels.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataAccessLabels.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DataAccessLabels.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DataAccessLabels.Builder
Overrides

removeIngestionKvLabels(int index)

public DataAccessLabels.Builder removeIngestionKvLabels(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
DataAccessLabels.Builder

setAllowScopedAccess(boolean value)

public DataAccessLabels.Builder setAllowScopedAccess(boolean value)

Are the labels ready for scoped access

bool allow_scoped_access = 6;

Parameter
Name Description
value boolean

The allowScopedAccess to set.

Returns
Type Description
DataAccessLabels.Builder

This builder for chaining.

setCustomLabels(int index, String value)

public DataAccessLabels.Builder setCustomLabels(int index, String value)

All the complex labels (UDM search syntax based).

repeated string custom_labels = 4;

Parameters
Name Description
index int

The index to set the value at.

value String

The customLabels to set.

Returns
Type Description
DataAccessLabels.Builder

This builder for chaining.

setIngestionKvLabels(int index, DataAccessIngestionLabel value)

public DataAccessLabels.Builder setIngestionKvLabels(int index, DataAccessIngestionLabel value)

All the ingestion labels (key/value pairs).

repeated .google.backstory.DataAccessIngestionLabel ingestion_kv_labels = 5;

Parameters
Name Description
index int
value DataAccessIngestionLabel
Returns
Type Description
DataAccessLabels.Builder

setIngestionKvLabels(int index, DataAccessIngestionLabel.Builder builderForValue)

public DataAccessLabels.Builder setIngestionKvLabels(int index, DataAccessIngestionLabel.Builder builderForValue)

All the ingestion labels (key/value pairs).

repeated .google.backstory.DataAccessIngestionLabel ingestion_kv_labels = 5;

Parameters
Name Description
index int
builderForValue DataAccessIngestionLabel.Builder
Returns
Type Description
DataAccessLabels.Builder

setIngestionLabels(int index, String value) (deprecated)

public DataAccessLabels.Builder setIngestionLabels(int index, String value)

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];

Parameters
Name Description
index int

The index to set the value at.

value String

The ingestionLabels to set.

Returns
Type Description
DataAccessLabels.Builder

This builder for chaining.

setLogTypes(int index, String value)

public DataAccessLabels.Builder setLogTypes(int index, String value)

All the LogType labels.

repeated string log_types = 1;

Parameters
Name Description
index int

The index to set the value at.

value String

The logTypes to set.

Returns
Type Description
DataAccessLabels.Builder

This builder for chaining.

setNamespaces(int index, String value)

public DataAccessLabels.Builder setNamespaces(int index, String value)

All the namespaces.

repeated string namespaces = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The namespaces to set.

Returns
Type Description
DataAccessLabels.Builder

This builder for chaining.