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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DataAccessScope.Builder>
    • clear

      public DataAccessScope.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DataAccessScope.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DataAccessScope.Builder>
    • getDefaultInstanceForType

      public DataAccessScope getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public DataAccessScope build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DataAccessScope buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DataAccessScope.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataAccessScope.Builder>
    • mergeFrom

      public DataAccessScope.Builder mergeFrom(DataAccessScope other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataAccessScope.Builder>
      Throws:
      IOException
    • getName

      public String 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:
      getName in interface DataAccessScopeOrBuilder
      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:
      getNameBytes in interface DataAccessScopeOrBuilder
      Returns:
      The bytes for name.
    • setName

      public DataAccessScope.Builder setName(String value)
       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

      public DataAccessScope.Builder 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

      public DataAccessScope.Builder setNameBytes(com.google.protobuf.ByteString value)
       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

      public List<DataAccessLabelReference> 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:
      getAllowedDataAccessLabelsList in interface DataAccessScopeOrBuilder
    • 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:
      getAllowedDataAccessLabelsCount in interface DataAccessScopeOrBuilder
    • getAllowedDataAccessLabels

      public DataAccessLabelReference getAllowedDataAccessLabels(int index)
       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:
      getAllowedDataAccessLabels in interface DataAccessScopeOrBuilder
    • 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

      public DataAccessScope.Builder addAllowedDataAccessLabels(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(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

      public DataAccessScope.Builder 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

      public DataAccessScope.Builder removeAllowedDataAccessLabels(int index)
       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

      public DataAccessLabelReference.Builder getAllowedDataAccessLabelsBuilder(int index)
       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

      public DataAccessLabelReferenceOrBuilder getAllowedDataAccessLabelsOrBuilder(int index)
       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:
      getAllowedDataAccessLabelsOrBuilder in interface DataAccessScopeOrBuilder
    • getAllowedDataAccessLabelsOrBuilderList

      public List<? extends DataAccessLabelReferenceOrBuilder> 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:
      getAllowedDataAccessLabelsOrBuilderList in interface DataAccessScopeOrBuilder
    • addAllowedDataAccessLabelsBuilder

      public DataAccessLabelReference.Builder 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

      public DataAccessLabelReference.Builder addAllowedDataAccessLabelsBuilder(int index)
       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

      public List<DataAccessLabelReference.Builder> 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

      public List<DataAccessLabelReference> 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:
      getDeniedDataAccessLabelsList in interface DataAccessScopeOrBuilder
    • 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:
      getDeniedDataAccessLabelsCount in interface DataAccessScopeOrBuilder
    • getDeniedDataAccessLabels

      public DataAccessLabelReference getDeniedDataAccessLabels(int index)
       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:
      getDeniedDataAccessLabels in interface DataAccessScopeOrBuilder
    • setDeniedDataAccessLabels

      public DataAccessScope.Builder setDeniedDataAccessLabels(int index, DataAccessLabelReference value)
       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

      public DataAccessScope.Builder addDeniedDataAccessLabels(DataAccessLabelReference value)
       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 value)
       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

      public DataAccessScope.Builder 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

      public DataAccessScope.Builder removeDeniedDataAccessLabels(int index)
       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

      public DataAccessLabelReference.Builder getDeniedDataAccessLabelsBuilder(int index)
       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

      public DataAccessLabelReferenceOrBuilder getDeniedDataAccessLabelsOrBuilder(int index)
       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:
      getDeniedDataAccessLabelsOrBuilder in interface DataAccessScopeOrBuilder
    • getDeniedDataAccessLabelsOrBuilderList

      public List<? extends DataAccessLabelReferenceOrBuilder> 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:
      getDeniedDataAccessLabelsOrBuilderList in interface DataAccessScopeOrBuilder
    • addDeniedDataAccessLabelsBuilder

      public DataAccessLabelReference.Builder 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

      public DataAccessLabelReference.Builder addDeniedDataAccessLabelsBuilder(int index)
       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

      public List<DataAccessLabelReference.Builder> 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

      public String 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:
      getDisplayName in interface DataAccessScopeOrBuilder
      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:
      getDisplayNameBytes in interface DataAccessScopeOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public DataAccessScope.Builder setDisplayName(String value)
       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

      public DataAccessScope.Builder 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

      public DataAccessScope.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       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:
      hasCreateTime in interface DataAccessScopeOrBuilder
      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:
      getCreateTime in interface DataAccessScopeOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public DataAccessScope.Builder setCreateTime(com.google.protobuf.Timestamp value)
       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

      public DataAccessScope.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       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

      public DataAccessScope.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       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

      public DataAccessScope.Builder 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:
      getCreateTimeOrBuilder in interface DataAccessScopeOrBuilder
    • 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:
      hasUpdateTime in interface DataAccessScopeOrBuilder
      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:
      getUpdateTime in interface DataAccessScopeOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public DataAccessScope.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       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

      public DataAccessScope.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       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

      public DataAccessScope.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       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

      public DataAccessScope.Builder 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:
      getUpdateTimeOrBuilder in interface DataAccessScopeOrBuilder
    • getAuthor

      public String getAuthor()
       Output only. The user who created the data access scope.
       
      string author = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAuthor in interface DataAccessScopeOrBuilder
      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:
      getAuthorBytes in interface DataAccessScopeOrBuilder
      Returns:
      The bytes for author.
    • setAuthor

      public DataAccessScope.Builder setAuthor(String value)
       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

      public DataAccessScope.Builder 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

      public DataAccessScope.Builder setAuthorBytes(com.google.protobuf.ByteString value)
       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

      public String getLastEditor()
       Output only. The user who last updated the data access scope.
       
      string last_editor = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLastEditor in interface DataAccessScopeOrBuilder
      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:
      getLastEditorBytes in interface DataAccessScopeOrBuilder
      Returns:
      The bytes for lastEditor.
    • setLastEditor

      public DataAccessScope.Builder setLastEditor(String value)
       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

      public DataAccessScope.Builder 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

      public DataAccessScope.Builder setLastEditorBytes(com.google.protobuf.ByteString value)
       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

      public String getDescription()
       Optional. A description of the data access scope for a human reader.
       
      string description = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface DataAccessScopeOrBuilder
      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:
      getDescriptionBytes in interface DataAccessScopeOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public DataAccessScope.Builder setDescription(String value)
       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

      public DataAccessScope.Builder 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

      public DataAccessScope.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       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:
      getAllowAll in interface DataAccessScopeOrBuilder
      Returns:
      The allowAll.
    • setAllowAll

      public DataAccessScope.Builder setAllowAll(boolean value)
       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

      public DataAccessScope.Builder 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.