Class AuthorizedView.SubsetView.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AuthorizedView.SubsetView.Builder>
com.google.bigtable.admin.v2.AuthorizedView.SubsetView.Builder
All Implemented Interfaces:
AuthorizedView.SubsetViewOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AuthorizedView.SubsetView

public static final class AuthorizedView.SubsetView.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AuthorizedView.SubsetView.Builder> implements AuthorizedView.SubsetViewOrBuilder
 Defines a simple AuthorizedView that is a subset of the underlying Table.
 
Protobuf type google.bigtable.admin.v2.AuthorizedView.SubsetView
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizedView.SubsetView.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizedView.SubsetView.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizedView.SubsetView.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.GeneratedMessageV3.Builder<AuthorizedView.SubsetView.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.GeneratedMessageV3.Builder<AuthorizedView.SubsetView.Builder>
    • getDefaultInstanceForType

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

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

      public AuthorizedView.SubsetView buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizedView.SubsetView.Builder>
    • setField

      public AuthorizedView.SubsetView.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizedView.SubsetView.Builder>
    • clearField

      public AuthorizedView.SubsetView.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizedView.SubsetView.Builder>
    • clearOneof

      public AuthorizedView.SubsetView.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizedView.SubsetView.Builder>
    • setRepeatedField

      public AuthorizedView.SubsetView.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizedView.SubsetView.Builder>
    • addRepeatedField

      public AuthorizedView.SubsetView.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizedView.SubsetView.Builder>
    • mergeFrom

      public AuthorizedView.SubsetView.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<AuthorizedView.SubsetView.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizedView.SubsetView.Builder>
    • mergeFrom

      public AuthorizedView.SubsetView.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<AuthorizedView.SubsetView.Builder>
      Throws:
      IOException
    • getRowPrefixesList

      public List<com.google.protobuf.ByteString> getRowPrefixesList()
       Row prefixes to be included in the AuthorizedView.
       To provide access to all rows, include the empty string as a prefix ("").
       
      repeated bytes row_prefixes = 1;
      Specified by:
      getRowPrefixesList in interface AuthorizedView.SubsetViewOrBuilder
      Returns:
      A list containing the rowPrefixes.
    • getRowPrefixesCount

      public int getRowPrefixesCount()
       Row prefixes to be included in the AuthorizedView.
       To provide access to all rows, include the empty string as a prefix ("").
       
      repeated bytes row_prefixes = 1;
      Specified by:
      getRowPrefixesCount in interface AuthorizedView.SubsetViewOrBuilder
      Returns:
      The count of rowPrefixes.
    • getRowPrefixes

      public com.google.protobuf.ByteString getRowPrefixes(int index)
       Row prefixes to be included in the AuthorizedView.
       To provide access to all rows, include the empty string as a prefix ("").
       
      repeated bytes row_prefixes = 1;
      Specified by:
      getRowPrefixes in interface AuthorizedView.SubsetViewOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The rowPrefixes at the given index.
    • setRowPrefixes

      public AuthorizedView.SubsetView.Builder setRowPrefixes(int index, com.google.protobuf.ByteString value)
       Row prefixes to be included in the AuthorizedView.
       To provide access to all rows, include the empty string as a prefix ("").
       
      repeated bytes row_prefixes = 1;
      Parameters:
      index - The index to set the value at.
      value - The rowPrefixes to set.
      Returns:
      This builder for chaining.
    • addRowPrefixes

      public AuthorizedView.SubsetView.Builder addRowPrefixes(com.google.protobuf.ByteString value)
       Row prefixes to be included in the AuthorizedView.
       To provide access to all rows, include the empty string as a prefix ("").
       
      repeated bytes row_prefixes = 1;
      Parameters:
      value - The rowPrefixes to add.
      Returns:
      This builder for chaining.
    • addAllRowPrefixes

      public AuthorizedView.SubsetView.Builder addAllRowPrefixes(Iterable<? extends com.google.protobuf.ByteString> values)
       Row prefixes to be included in the AuthorizedView.
       To provide access to all rows, include the empty string as a prefix ("").
       
      repeated bytes row_prefixes = 1;
      Parameters:
      values - The rowPrefixes to add.
      Returns:
      This builder for chaining.
    • clearRowPrefixes

      public AuthorizedView.SubsetView.Builder clearRowPrefixes()
       Row prefixes to be included in the AuthorizedView.
       To provide access to all rows, include the empty string as a prefix ("").
       
      repeated bytes row_prefixes = 1;
      Returns:
      This builder for chaining.
    • getFamilySubsetsCount

      public int getFamilySubsetsCount()
      Description copied from interface: AuthorizedView.SubsetViewOrBuilder
       Map from column family name to the columns in this family to be included
       in the AuthorizedView.
       
      map<string, .google.bigtable.admin.v2.AuthorizedView.FamilySubsets> family_subsets = 2;
      Specified by:
      getFamilySubsetsCount in interface AuthorizedView.SubsetViewOrBuilder
    • containsFamilySubsets

      public boolean containsFamilySubsets(String key)
       Map from column family name to the columns in this family to be included
       in the AuthorizedView.
       
      map<string, .google.bigtable.admin.v2.AuthorizedView.FamilySubsets> family_subsets = 2;
      Specified by:
      containsFamilySubsets in interface AuthorizedView.SubsetViewOrBuilder
    • getFamilySubsets

      @Deprecated public Map<String,AuthorizedView.FamilySubsets> getFamilySubsets()
      Deprecated.
      Specified by:
      getFamilySubsets in interface AuthorizedView.SubsetViewOrBuilder
    • getFamilySubsetsMap

      public Map<String,AuthorizedView.FamilySubsets> getFamilySubsetsMap()
       Map from column family name to the columns in this family to be included
       in the AuthorizedView.
       
      map<string, .google.bigtable.admin.v2.AuthorizedView.FamilySubsets> family_subsets = 2;
      Specified by:
      getFamilySubsetsMap in interface AuthorizedView.SubsetViewOrBuilder
    • getFamilySubsetsOrDefault

      public AuthorizedView.FamilySubsets getFamilySubsetsOrDefault(String key, AuthorizedView.FamilySubsets defaultValue)
       Map from column family name to the columns in this family to be included
       in the AuthorizedView.
       
      map<string, .google.bigtable.admin.v2.AuthorizedView.FamilySubsets> family_subsets = 2;
      Specified by:
      getFamilySubsetsOrDefault in interface AuthorizedView.SubsetViewOrBuilder
    • getFamilySubsetsOrThrow

      public AuthorizedView.FamilySubsets getFamilySubsetsOrThrow(String key)
       Map from column family name to the columns in this family to be included
       in the AuthorizedView.
       
      map<string, .google.bigtable.admin.v2.AuthorizedView.FamilySubsets> family_subsets = 2;
      Specified by:
      getFamilySubsetsOrThrow in interface AuthorizedView.SubsetViewOrBuilder
    • clearFamilySubsets

      public AuthorizedView.SubsetView.Builder clearFamilySubsets()
    • removeFamilySubsets

      public AuthorizedView.SubsetView.Builder removeFamilySubsets(String key)
       Map from column family name to the columns in this family to be included
       in the AuthorizedView.
       
      map<string, .google.bigtable.admin.v2.AuthorizedView.FamilySubsets> family_subsets = 2;
    • getMutableFamilySubsets

      @Deprecated public Map<String,AuthorizedView.FamilySubsets> getMutableFamilySubsets()
      Deprecated.
      Use alternate mutation accessors instead.
    • putFamilySubsets

       Map from column family name to the columns in this family to be included
       in the AuthorizedView.
       
      map<string, .google.bigtable.admin.v2.AuthorizedView.FamilySubsets> family_subsets = 2;
    • putAllFamilySubsets

       Map from column family name to the columns in this family to be included
       in the AuthorizedView.
       
      map<string, .google.bigtable.admin.v2.AuthorizedView.FamilySubsets> family_subsets = 2;
    • putFamilySubsetsBuilderIfAbsent

      public AuthorizedView.FamilySubsets.Builder putFamilySubsetsBuilderIfAbsent(String key)
       Map from column family name to the columns in this family to be included
       in the AuthorizedView.
       
      map<string, .google.bigtable.admin.v2.AuthorizedView.FamilySubsets> family_subsets = 2;
    • setUnknownFields

      public final AuthorizedView.SubsetView.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizedView.SubsetView.Builder>
    • mergeUnknownFields

      public final AuthorizedView.SubsetView.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizedView.SubsetView.Builder>