Package com.google.cloud.chronicle.v1
Class DataAccessScope.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataAccessScope.Builder>
com.google.cloud.chronicle.v1.DataAccessScope.Builder
- All Implemented Interfaces:
DataAccessScopeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DataAccessScope
public static final class DataAccessScope.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DataAccessScope.Builder>
implements DataAccessScopeOrBuilder
A DataAccessScope is a boolean expression of data access labels used to restrict access to data for users.Protobuf type
google.cloud.chronicle.v1.DataAccessScope-
Method Summary
Modifier and TypeMethodDescriptionaddAllAllowedDataAccessLabels(Iterable<? extends DataAccessLabelReference> values) Optional.addAllDeniedDataAccessLabels(Iterable<? extends DataAccessLabelReference> values) Optional.addAllowedDataAccessLabels(int index, DataAccessLabelReference value) Optional.addAllowedDataAccessLabels(int index, DataAccessLabelReference.Builder builderForValue) Optional.Optional.addAllowedDataAccessLabels(DataAccessLabelReference.Builder builderForValue) Optional.Optional.addAllowedDataAccessLabelsBuilder(int index) Optional.addDeniedDataAccessLabels(int index, DataAccessLabelReference value) Optional.addDeniedDataAccessLabels(int index, DataAccessLabelReference.Builder builderForValue) Optional.Optional.addDeniedDataAccessLabels(DataAccessLabelReference.Builder builderForValue) Optional.Optional.addDeniedDataAccessLabelsBuilder(int index) Optional.build()clear()Optional.Optional.Output only.Output only.Optional.Optional.Output only.Output only.Required.Output only.booleanOptional.getAllowedDataAccessLabels(int index) Optional.getAllowedDataAccessLabelsBuilder(int index) Optional.Optional.intOptional.Optional.getAllowedDataAccessLabelsOrBuilder(int index) Optional.List<? extends DataAccessLabelReferenceOrBuilder>Optional.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getDeniedDataAccessLabels(int index) Optional.getDeniedDataAccessLabelsBuilder(int index) Optional.Optional.intOptional.Optional.getDeniedDataAccessLabelsOrBuilder(int index) Optional.List<? extends DataAccessLabelReferenceOrBuilder>Optional.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getName()Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(DataAccessScope other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.removeAllowedDataAccessLabels(int index) Optional.removeDeniedDataAccessLabels(int index) Optional.setAllowAll(boolean value) Optional.setAllowedDataAccessLabels(int index, DataAccessLabelReference value) Optional.setAllowedDataAccessLabels(int index, DataAccessLabelReference.Builder builderForValue) Optional.Output only.setAuthorBytes(com.google.protobuf.ByteString value) Output only.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDeniedDataAccessLabels(int index, DataAccessLabelReference value) Optional.setDeniedDataAccessLabels(int index, DataAccessLabelReference.Builder builderForValue) Optional.setDescription(String value) Optional.setDescriptionBytes(com.google.protobuf.ByteString value) Optional.setDisplayName(String value) Output only.setDisplayNameBytes(com.google.protobuf.ByteString value) Output only.setLastEditor(String value) Output only.setLastEditorBytes(com.google.protobuf.ByteString value) Output only.Required.setNameBytes(com.google.protobuf.ByteString value) Required.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DataAccessScope.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DataAccessScope.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DataAccessScope.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataAccessScope.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DataAccessScope.Builder>
-
mergeFrom
public DataAccessScope.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataAccessScope.Builder>- Throws:
IOException
-
getName
Required. The unique full name of the data access scope. The name should comply with https://google.aip.dev/122 standards.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getNamein interfaceDataAccessScopeOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Required. The unique full name of the data access scope. The name should comply with https://google.aip.dev/122 standards.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getNameBytesin interfaceDataAccessScopeOrBuilder- Returns:
- The bytes for name.
-
setName
Required. The unique full name of the data access scope. The name should comply with https://google.aip.dev/122 standards.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Required. The unique full name of the data access scope. The name should comply with https://google.aip.dev/122 standards.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setNameBytes
Required. The unique full name of the data access scope. The name should comply with https://google.aip.dev/122 standards.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getAllowedDataAccessLabelsList
Optional. The allowed labels for the scope. Either allow_all or allowed_data_access_labels needs to be provided. When provided, there has to be at least one label allowed for the scope to be valid. The logical operator for evaluation of the allowed labels is OR. E.g.: A customer with scope with allowed labels A and B will be able to see data with labeled with A or B or (A and B).
repeated .google.cloud.chronicle.v1.DataAccessLabelReference allowed_data_access_labels = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowedDataAccessLabelsListin interfaceDataAccessScopeOrBuilder
-
getAllowedDataAccessLabelsCount
public int getAllowedDataAccessLabelsCount()Optional. The allowed labels for the scope. Either allow_all or allowed_data_access_labels needs to be provided. When provided, there has to be at least one label allowed for the scope to be valid. The logical operator for evaluation of the allowed labels is OR. E.g.: A customer with scope with allowed labels A and B will be able to see data with labeled with A or B or (A and B).
repeated .google.cloud.chronicle.v1.DataAccessLabelReference allowed_data_access_labels = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowedDataAccessLabelsCountin interfaceDataAccessScopeOrBuilder
-
getAllowedDataAccessLabels
Optional. The allowed labels for the scope. Either allow_all or allowed_data_access_labels needs to be provided. When provided, there has to be at least one label allowed for the scope to be valid. The logical operator for evaluation of the allowed labels is OR. E.g.: A customer with scope with allowed labels A and B will be able to see data with labeled with A or B or (A and B).
repeated .google.cloud.chronicle.v1.DataAccessLabelReference allowed_data_access_labels = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowedDataAccessLabelsin interfaceDataAccessScopeOrBuilder
-
setAllowedDataAccessLabels
public DataAccessScope.Builder setAllowedDataAccessLabels(int index, DataAccessLabelReference value) Optional. The allowed labels for the scope. Either allow_all or allowed_data_access_labels needs to be provided. When provided, there has to be at least one label allowed for the scope to be valid. The logical operator for evaluation of the allowed labels is OR. E.g.: A customer with scope with allowed labels A and B will be able to see data with labeled with A or B or (A and B).
repeated .google.cloud.chronicle.v1.DataAccessLabelReference allowed_data_access_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; -
setAllowedDataAccessLabels
public DataAccessScope.Builder setAllowedDataAccessLabels(int index, DataAccessLabelReference.Builder builderForValue) Optional. The allowed labels for the scope. Either allow_all or allowed_data_access_labels needs to be provided. When provided, there has to be at least one label allowed for the scope to be valid. The logical operator for evaluation of the allowed labels is OR. E.g.: A customer with scope with allowed labels A and B will be able to see data with labeled with A or B or (A and B).
repeated .google.cloud.chronicle.v1.DataAccessLabelReference allowed_data_access_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; -
addAllowedDataAccessLabels
Optional. The allowed labels for the scope. Either allow_all or allowed_data_access_labels needs to be provided. When provided, there has to be at least one label allowed for the scope to be valid. The logical operator for evaluation of the allowed labels is OR. E.g.: A customer with scope with allowed labels A and B will be able to see data with labeled with A or B or (A and B).
repeated .google.cloud.chronicle.v1.DataAccessLabelReference allowed_data_access_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; -
addAllowedDataAccessLabels
public DataAccessScope.Builder addAllowedDataAccessLabels(int index, DataAccessLabelReference value) Optional. The allowed labels for the scope. Either allow_all or allowed_data_access_labels needs to be provided. When provided, there has to be at least one label allowed for the scope to be valid. The logical operator for evaluation of the allowed labels is OR. E.g.: A customer with scope with allowed labels A and B will be able to see data with labeled with A or B or (A and B).
repeated .google.cloud.chronicle.v1.DataAccessLabelReference allowed_data_access_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; -
addAllowedDataAccessLabels
public DataAccessScope.Builder addAllowedDataAccessLabels(DataAccessLabelReference.Builder builderForValue) Optional. The allowed labels for the scope. Either allow_all or allowed_data_access_labels needs to be provided. When provided, there has to be at least one label allowed for the scope to be valid. The logical operator for evaluation of the allowed labels is OR. E.g.: A customer with scope with allowed labels A and B will be able to see data with labeled with A or B or (A and B).
repeated .google.cloud.chronicle.v1.DataAccessLabelReference allowed_data_access_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; -
addAllowedDataAccessLabels
public DataAccessScope.Builder addAllowedDataAccessLabels(int index, DataAccessLabelReference.Builder builderForValue) Optional. The allowed labels for the scope. Either allow_all or allowed_data_access_labels needs to be provided. When provided, there has to be at least one label allowed for the scope to be valid. The logical operator for evaluation of the allowed labels is OR. E.g.: A customer with scope with allowed labels A and B will be able to see data with labeled with A or B or (A and B).
repeated .google.cloud.chronicle.v1.DataAccessLabelReference allowed_data_access_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; -
addAllAllowedDataAccessLabels
public DataAccessScope.Builder addAllAllowedDataAccessLabels(Iterable<? extends DataAccessLabelReference> values) Optional. The allowed labels for the scope. Either allow_all or allowed_data_access_labels needs to be provided. When provided, there has to be at least one label allowed for the scope to be valid. The logical operator for evaluation of the allowed labels is OR. E.g.: A customer with scope with allowed labels A and B will be able to see data with labeled with A or B or (A and B).
repeated .google.cloud.chronicle.v1.DataAccessLabelReference allowed_data_access_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; -
clearAllowedDataAccessLabels
Optional. The allowed labels for the scope. Either allow_all or allowed_data_access_labels needs to be provided. When provided, there has to be at least one label allowed for the scope to be valid. The logical operator for evaluation of the allowed labels is OR. E.g.: A customer with scope with allowed labels A and B will be able to see data with labeled with A or B or (A and B).
repeated .google.cloud.chronicle.v1.DataAccessLabelReference allowed_data_access_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; -
removeAllowedDataAccessLabels
Optional. The allowed labels for the scope. Either allow_all or allowed_data_access_labels needs to be provided. When provided, there has to be at least one label allowed for the scope to be valid. The logical operator for evaluation of the allowed labels is OR. E.g.: A customer with scope with allowed labels A and B will be able to see data with labeled with A or B or (A and B).
repeated .google.cloud.chronicle.v1.DataAccessLabelReference allowed_data_access_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getAllowedDataAccessLabelsBuilder
Optional. The allowed labels for the scope. Either allow_all or allowed_data_access_labels needs to be provided. When provided, there has to be at least one label allowed for the scope to be valid. The logical operator for evaluation of the allowed labels is OR. E.g.: A customer with scope with allowed labels A and B will be able to see data with labeled with A or B or (A and B).
repeated .google.cloud.chronicle.v1.DataAccessLabelReference allowed_data_access_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getAllowedDataAccessLabelsOrBuilder
Optional. The allowed labels for the scope. Either allow_all or allowed_data_access_labels needs to be provided. When provided, there has to be at least one label allowed for the scope to be valid. The logical operator for evaluation of the allowed labels is OR. E.g.: A customer with scope with allowed labels A and B will be able to see data with labeled with A or B or (A and B).
repeated .google.cloud.chronicle.v1.DataAccessLabelReference allowed_data_access_labels = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowedDataAccessLabelsOrBuilderin interfaceDataAccessScopeOrBuilder
-
getAllowedDataAccessLabelsOrBuilderList
Optional. The allowed labels for the scope. Either allow_all or allowed_data_access_labels needs to be provided. When provided, there has to be at least one label allowed for the scope to be valid. The logical operator for evaluation of the allowed labels is OR. E.g.: A customer with scope with allowed labels A and B will be able to see data with labeled with A or B or (A and B).
repeated .google.cloud.chronicle.v1.DataAccessLabelReference allowed_data_access_labels = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowedDataAccessLabelsOrBuilderListin interfaceDataAccessScopeOrBuilder
-
addAllowedDataAccessLabelsBuilder
Optional. The allowed labels for the scope. Either allow_all or allowed_data_access_labels needs to be provided. When provided, there has to be at least one label allowed for the scope to be valid. The logical operator for evaluation of the allowed labels is OR. E.g.: A customer with scope with allowed labels A and B will be able to see data with labeled with A or B or (A and B).
repeated .google.cloud.chronicle.v1.DataAccessLabelReference allowed_data_access_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; -
addAllowedDataAccessLabelsBuilder
Optional. The allowed labels for the scope. Either allow_all or allowed_data_access_labels needs to be provided. When provided, there has to be at least one label allowed for the scope to be valid. The logical operator for evaluation of the allowed labels is OR. E.g.: A customer with scope with allowed labels A and B will be able to see data with labeled with A or B or (A and B).
repeated .google.cloud.chronicle.v1.DataAccessLabelReference allowed_data_access_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getAllowedDataAccessLabelsBuilderList
Optional. The allowed labels for the scope. Either allow_all or allowed_data_access_labels needs to be provided. When provided, there has to be at least one label allowed for the scope to be valid. The logical operator for evaluation of the allowed labels is OR. E.g.: A customer with scope with allowed labels A and B will be able to see data with labeled with A or B or (A and B).
repeated .google.cloud.chronicle.v1.DataAccessLabelReference allowed_data_access_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getDeniedDataAccessLabelsList
Optional. The denied labels for the scope. The logical operator for evaluation of the denied labels is AND. E.g.: A customer with scope with denied labels A and B won't be able to see data labeled with A and data labeled with B and data with labels A and B.
repeated .google.cloud.chronicle.v1.DataAccessLabelReference denied_data_access_labels = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeniedDataAccessLabelsListin interfaceDataAccessScopeOrBuilder
-
getDeniedDataAccessLabelsCount
public int getDeniedDataAccessLabelsCount()Optional. The denied labels for the scope. The logical operator for evaluation of the denied labels is AND. E.g.: A customer with scope with denied labels A and B won't be able to see data labeled with A and data labeled with B and data with labels A and B.
repeated .google.cloud.chronicle.v1.DataAccessLabelReference denied_data_access_labels = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeniedDataAccessLabelsCountin interfaceDataAccessScopeOrBuilder
-
getDeniedDataAccessLabels
Optional. The denied labels for the scope. The logical operator for evaluation of the denied labels is AND. E.g.: A customer with scope with denied labels A and B won't be able to see data labeled with A and data labeled with B and data with labels A and B.
repeated .google.cloud.chronicle.v1.DataAccessLabelReference denied_data_access_labels = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeniedDataAccessLabelsin interfaceDataAccessScopeOrBuilder
-
setDeniedDataAccessLabels
Optional. The denied labels for the scope. The logical operator for evaluation of the denied labels is AND. E.g.: A customer with scope with denied labels A and B won't be able to see data labeled with A and data labeled with B and data with labels A and B.
repeated .google.cloud.chronicle.v1.DataAccessLabelReference denied_data_access_labels = 3 [(.google.api.field_behavior) = OPTIONAL]; -
setDeniedDataAccessLabels
public DataAccessScope.Builder setDeniedDataAccessLabels(int index, DataAccessLabelReference.Builder builderForValue) Optional. The denied labels for the scope. The logical operator for evaluation of the denied labels is AND. E.g.: A customer with scope with denied labels A and B won't be able to see data labeled with A and data labeled with B and data with labels A and B.
repeated .google.cloud.chronicle.v1.DataAccessLabelReference denied_data_access_labels = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addDeniedDataAccessLabels
Optional. The denied labels for the scope. The logical operator for evaluation of the denied labels is AND. E.g.: A customer with scope with denied labels A and B won't be able to see data labeled with A and data labeled with B and data with labels A and B.
repeated .google.cloud.chronicle.v1.DataAccessLabelReference denied_data_access_labels = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addDeniedDataAccessLabels
Optional. The denied labels for the scope. The logical operator for evaluation of the denied labels is AND. E.g.: A customer with scope with denied labels A and B won't be able to see data labeled with A and data labeled with B and data with labels A and B.
repeated .google.cloud.chronicle.v1.DataAccessLabelReference denied_data_access_labels = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addDeniedDataAccessLabels
public DataAccessScope.Builder addDeniedDataAccessLabels(DataAccessLabelReference.Builder builderForValue) Optional. The denied labels for the scope. The logical operator for evaluation of the denied labels is AND. E.g.: A customer with scope with denied labels A and B won't be able to see data labeled with A and data labeled with B and data with labels A and B.
repeated .google.cloud.chronicle.v1.DataAccessLabelReference denied_data_access_labels = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addDeniedDataAccessLabels
public DataAccessScope.Builder addDeniedDataAccessLabels(int index, DataAccessLabelReference.Builder builderForValue) Optional. The denied labels for the scope. The logical operator for evaluation of the denied labels is AND. E.g.: A customer with scope with denied labels A and B won't be able to see data labeled with A and data labeled with B and data with labels A and B.
repeated .google.cloud.chronicle.v1.DataAccessLabelReference denied_data_access_labels = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addAllDeniedDataAccessLabels
public DataAccessScope.Builder addAllDeniedDataAccessLabels(Iterable<? extends DataAccessLabelReference> values) Optional. The denied labels for the scope. The logical operator for evaluation of the denied labels is AND. E.g.: A customer with scope with denied labels A and B won't be able to see data labeled with A and data labeled with B and data with labels A and B.
repeated .google.cloud.chronicle.v1.DataAccessLabelReference denied_data_access_labels = 3 [(.google.api.field_behavior) = OPTIONAL]; -
clearDeniedDataAccessLabels
Optional. The denied labels for the scope. The logical operator for evaluation of the denied labels is AND. E.g.: A customer with scope with denied labels A and B won't be able to see data labeled with A and data labeled with B and data with labels A and B.
repeated .google.cloud.chronicle.v1.DataAccessLabelReference denied_data_access_labels = 3 [(.google.api.field_behavior) = OPTIONAL]; -
removeDeniedDataAccessLabels
Optional. The denied labels for the scope. The logical operator for evaluation of the denied labels is AND. E.g.: A customer with scope with denied labels A and B won't be able to see data labeled with A and data labeled with B and data with labels A and B.
repeated .google.cloud.chronicle.v1.DataAccessLabelReference denied_data_access_labels = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getDeniedDataAccessLabelsBuilder
Optional. The denied labels for the scope. The logical operator for evaluation of the denied labels is AND. E.g.: A customer with scope with denied labels A and B won't be able to see data labeled with A and data labeled with B and data with labels A and B.
repeated .google.cloud.chronicle.v1.DataAccessLabelReference denied_data_access_labels = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getDeniedDataAccessLabelsOrBuilder
Optional. The denied labels for the scope. The logical operator for evaluation of the denied labels is AND. E.g.: A customer with scope with denied labels A and B won't be able to see data labeled with A and data labeled with B and data with labels A and B.
repeated .google.cloud.chronicle.v1.DataAccessLabelReference denied_data_access_labels = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeniedDataAccessLabelsOrBuilderin interfaceDataAccessScopeOrBuilder
-
getDeniedDataAccessLabelsOrBuilderList
Optional. The denied labels for the scope. The logical operator for evaluation of the denied labels is AND. E.g.: A customer with scope with denied labels A and B won't be able to see data labeled with A and data labeled with B and data with labels A and B.
repeated .google.cloud.chronicle.v1.DataAccessLabelReference denied_data_access_labels = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeniedDataAccessLabelsOrBuilderListin interfaceDataAccessScopeOrBuilder
-
addDeniedDataAccessLabelsBuilder
Optional. The denied labels for the scope. The logical operator for evaluation of the denied labels is AND. E.g.: A customer with scope with denied labels A and B won't be able to see data labeled with A and data labeled with B and data with labels A and B.
repeated .google.cloud.chronicle.v1.DataAccessLabelReference denied_data_access_labels = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addDeniedDataAccessLabelsBuilder
Optional. The denied labels for the scope. The logical operator for evaluation of the denied labels is AND. E.g.: A customer with scope with denied labels A and B won't be able to see data labeled with A and data labeled with B and data with labels A and B.
repeated .google.cloud.chronicle.v1.DataAccessLabelReference denied_data_access_labels = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getDeniedDataAccessLabelsBuilderList
Optional. The denied labels for the scope. The logical operator for evaluation of the denied labels is AND. E.g.: A customer with scope with denied labels A and B won't be able to see data labeled with A and data labeled with B and data with labels A and B.
repeated .google.cloud.chronicle.v1.DataAccessLabelReference denied_data_access_labels = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getDisplayName
Output only. The name to be used for display to customers of the data access scope.
string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDisplayNamein interfaceDataAccessScopeOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Output only. The name to be used for display to customers of the data access scope.
string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDisplayNameBytesin interfaceDataAccessScopeOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Output only. The name to be used for display to customers of the data access scope.
string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Output only. The name to be used for display to customers of the data access scope.
string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Output only. The name to be used for display to customers of the data access scope.
string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. The time at which the data access scope was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceDataAccessScopeOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The time at which the data access scope was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceDataAccessScopeOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The time at which the data access scope was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The time at which the data access scope was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The time at which the data access scope was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The time at which the data access scope was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The time at which the data access scope was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time at which the data access scope was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceDataAccessScopeOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The time at which the data access scope was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceDataAccessScopeOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The time at which the data access scope was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceDataAccessScopeOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The time at which the data access scope was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The time at which the data access scope was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The time at which the data access scope was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The time at which the data access scope was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The time at which the data access scope was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time at which the data access scope was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceDataAccessScopeOrBuilder
-
getAuthor
Output only. The user who created the data access scope.
string author = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAuthorin interfaceDataAccessScopeOrBuilder- Returns:
- The author.
-
getAuthorBytes
public com.google.protobuf.ByteString getAuthorBytes()Output only. The user who created the data access scope.
string author = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAuthorBytesin interfaceDataAccessScopeOrBuilder- Returns:
- The bytes for author.
-
setAuthor
Output only. The user who created the data access scope.
string author = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The author to set.- Returns:
- This builder for chaining.
-
clearAuthor
Output only. The user who created the data access scope.
string author = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setAuthorBytes
Output only. The user who created the data access scope.
string author = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for author to set.- Returns:
- This builder for chaining.
-
getLastEditor
Output only. The user who last updated the data access scope.
string last_editor = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLastEditorin interfaceDataAccessScopeOrBuilder- Returns:
- The lastEditor.
-
getLastEditorBytes
public com.google.protobuf.ByteString getLastEditorBytes()Output only. The user who last updated the data access scope.
string last_editor = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLastEditorBytesin interfaceDataAccessScopeOrBuilder- Returns:
- The bytes for lastEditor.
-
setLastEditor
Output only. The user who last updated the data access scope.
string last_editor = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The lastEditor to set.- Returns:
- This builder for chaining.
-
clearLastEditor
Output only. The user who last updated the data access scope.
string last_editor = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setLastEditorBytes
Output only. The user who last updated the data access scope.
string last_editor = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for lastEditor to set.- Returns:
- This builder for chaining.
-
getDescription
Optional. A description of the data access scope for a human reader.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceDataAccessScopeOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional. A description of the data access scope for a human reader.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceDataAccessScopeOrBuilder- Returns:
- The bytes for description.
-
setDescription
Optional. A description of the data access scope for a human reader.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Optional. A description of the data access scope for a human reader.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDescriptionBytes
Optional. A description of the data access scope for a human reader.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getAllowAll
public boolean getAllowAll()Optional. Whether or not the scope allows all labels, allow_all and allowed_data_access_labels are mutually exclusive and one of them must be present. denied_data_access_labels can still be used along with allow_all. When combined with denied_data_access_labels, access will be granted to all data that doesn't have labels mentioned in denied_data_access_labels. E.g.: A customer with scope with denied labels A and B and allow_all will be able to see all data except data labeled with A and data labeled with B and data with labels A and B.
bool allow_all = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowAllin interfaceDataAccessScopeOrBuilder- Returns:
- The allowAll.
-
setAllowAll
Optional. Whether or not the scope allows all labels, allow_all and allowed_data_access_labels are mutually exclusive and one of them must be present. denied_data_access_labels can still be used along with allow_all. When combined with denied_data_access_labels, access will be granted to all data that doesn't have labels mentioned in denied_data_access_labels. E.g.: A customer with scope with denied labels A and B and allow_all will be able to see all data except data labeled with A and data labeled with B and data with labels A and B.
bool allow_all = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The allowAll to set.- Returns:
- This builder for chaining.
-
clearAllowAll
Optional. Whether or not the scope allows all labels, allow_all and allowed_data_access_labels are mutually exclusive and one of them must be present. denied_data_access_labels can still be used along with allow_all. When combined with denied_data_access_labels, access will be granted to all data that doesn't have labels mentioned in denied_data_access_labels. E.g.: A customer with scope with denied labels A and B and allow_all will be able to see all data except data labeled with A and data labeled with B and data with labels A and B.
bool allow_all = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-