/** * * * <pre> * (`CreationOnly`) * The column families configured for this table, mapped by column family ID. * Views: `SCHEMA_VIEW`, `FULL` * </pre> * * <code>map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;</code> */ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map<java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> map = internalGetColumnFamilies().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); }
/** * * * <pre> * (`CreationOnly`) * The column families configured for this table, mapped by column family ID. * Views: `SCHEMA_VIEW`, `FULL` * </pre> * * <code>map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;</code> */ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault( java.lang.String key, com.google.bigtable.admin.v2.ColumnFamily defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map<java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> map = internalGetColumnFamilies().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /**
/** * * * <pre> * (`CreationOnly`) * The column families configured for this table, mapped by column family ID. * Views: `SCHEMA_VIEW`, `FULL` * </pre> * * <code>map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;</code> */ public boolean containsColumnFamilies(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetColumnFamilies().getMap().containsKey(key); } /** Use {@link #getColumnFamiliesMap()} instead. */
/** * <pre> * The column families configured for this table, mapped by column family ID. * Views: SCHEMA_VIEW, FULL * @CreationOnly * </pre> * * <code>map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;</code> */ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map<java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> map = internalGetColumnFamilies().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); }
/** * * * <pre> * (`CreationOnly`) * The column families configured for this table, mapped by column family ID. * Views: `SCHEMA_VIEW`, `FULL` * </pre> * * <code>map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;</code> */ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map<java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> map = internalGetColumnFamilies().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); }
/** * * * <pre> * (`CreationOnly`) * The column families configured for this table, mapped by column family ID. * Views: `SCHEMA_VIEW`, `FULL` * </pre> * * <code>map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;</code> */ public boolean containsColumnFamilies(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetColumnFamilies().getMap().containsKey(key); } /** Use {@link #getColumnFamiliesMap()} instead. */
/** * * * <pre> * (`CreationOnly`) * The column families configured for this table, mapped by column family ID. * Views: `SCHEMA_VIEW`, `FULL` * </pre> * * <code>map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;</code> */ public java.util.Map<java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> getColumnFamiliesMap() { return internalGetColumnFamilies().getMap(); } /**
/** * <pre> * The column families configured for this table, mapped by column family ID. * Views: SCHEMA_VIEW, FULL * @CreationOnly * </pre> * * <code>map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;</code> */ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault( java.lang.String key, com.google.bigtable.admin.v2.ColumnFamily defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map<java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> map = internalGetColumnFamilies().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /**
@java.lang.Override public com.google.bigtable.admin.v2.Table buildPartial() { com.google.bigtable.admin.v2.Table result = new com.google.bigtable.admin.v2.Table(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.name_ = name_; result.clusterStates_ = internalGetClusterStates(); result.clusterStates_.makeImmutable(); result.columnFamilies_ = internalGetColumnFamilies(); result.columnFamilies_.makeImmutable(); result.granularity_ = granularity_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
/** * <pre> * The column families configured for this table, mapped by column family ID. * Views: SCHEMA_VIEW, FULL * @CreationOnly * </pre> * * <code>map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;</code> */ public boolean containsColumnFamilies( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetColumnFamilies().getMap().containsKey(key); } /**
public int getColumnFamiliesCount() { return internalGetColumnFamilies().getMap().size(); } /**
public int getColumnFamiliesCount() { return internalGetColumnFamilies().getMap().size(); } /**
/** * <pre> * The column families configured for this table, mapped by column family ID. * Views: SCHEMA_VIEW, FULL * @CreationOnly * </pre> * * <code>map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;</code> */ public java.util.Map<java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> getColumnFamiliesMap() { return internalGetColumnFamilies().getMap(); } /**
public com.google.bigtable.admin.v2.Table buildPartial() { com.google.bigtable.admin.v2.Table result = new com.google.bigtable.admin.v2.Table(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.name_ = name_; result.columnFamilies_ = internalGetColumnFamilies(); result.columnFamilies_.makeImmutable(); result.granularity_ = granularity_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
@SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 3: return internalGetColumnFamilies(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"})
@SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 2: return internalGetClusterStates(); case 3: return internalGetColumnFamilies(); default: throw new RuntimeException("Invalid map field number: " + number); } }
/** * * * <pre> * (`CreationOnly`) * The column families configured for this table, mapped by column family ID. * Views: `SCHEMA_VIEW`, `FULL` * </pre> * * <code>map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;</code> */ public java.util.Map<java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> getColumnFamiliesMap() { return internalGetColumnFamilies().getMap(); } /**
@java.lang.Override public com.google.bigtable.admin.v2.Table buildPartial() { com.google.bigtable.admin.v2.Table result = new com.google.bigtable.admin.v2.Table(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.name_ = name_; result.clusterStates_ = internalGetClusterStates(); result.clusterStates_.makeImmutable(); result.columnFamilies_ = internalGetColumnFamilies(); result.columnFamilies_.makeImmutable(); result.granularity_ = granularity_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
@SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 2: return internalGetClusterStates(); case 3: return internalGetColumnFamilies(); default: throw new RuntimeException("Invalid map field number: " + number); } }
public int getColumnFamiliesCount() { return internalGetColumnFamilies().getMap().size(); } /**