@SuppressWarnings({"rawtypes"}) @java.lang.Override 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(); } /**
/** * * * <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> * (`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 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 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); }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Table)) { return super.equals(obj); } com.google.bigtable.admin.v2.Table other = (com.google.bigtable.admin.v2.Table) obj; boolean result = true; result = result && getName().equals(other.getName()); result = result && internalGetClusterStates().equals(other.internalGetClusterStates()); result = result && internalGetColumnFamilies().equals(other.internalGetColumnFamilies()); result = result && granularity_ == other.granularity_; result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetClusterStates(), ClusterStatesDefaultEntryHolder.defaultEntry, 2); com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetColumnFamilies(), ColumnFamiliesDefaultEntryHolder.defaultEntry, 3); if (granularity_ != com.google.bigtable.admin.v2.Table.TimestampGranularity.TIMESTAMP_GRANULARITY_UNSPECIFIED .getNumber()) { output.writeEnum(4, granularity_); } unknownFields.writeTo(output); }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); if (!internalGetClusterStates().getMap().isEmpty()) { hash = (37 * hash) + CLUSTER_STATES_FIELD_NUMBER; hash = (53 * hash) + internalGetClusterStates().hashCode(); } if (!internalGetColumnFamilies().getMap().isEmpty()) { hash = (37 * hash) + COLUMN_FAMILIES_FIELD_NUMBER; hash = (53 * hash) + internalGetColumnFamilies().hashCode(); } hash = (37 * hash) + GRANULARITY_FIELD_NUMBER; hash = (53 * hash) + granularity_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
internalGetColumnFamilies().getMap().entrySet()) { com.google.protobuf.MapEntry<java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> columnFamilies__ =
@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); } } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@SuppressWarnings({"rawtypes"}) @java.lang.Override 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(); } /**
/** * <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 int getColumnFamiliesCount() { return internalGetColumnFamilies().getMap().size(); } /**
/** * * * <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 boolean containsColumnFamilies( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetColumnFamilies().getMap().containsKey(key); } /**
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Table)) { return super.equals(obj); } com.google.bigtable.admin.v2.Table other = (com.google.bigtable.admin.v2.Table) obj; boolean result = true; result = result && getName() .equals(other.getName()); result = result && internalGetColumnFamilies().equals( other.internalGetColumnFamilies()); result = result && granularity_ == other.granularity_; return result; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetColumnFamilies(), ColumnFamiliesDefaultEntryHolder.defaultEntry, 3); if (granularity_ != com.google.bigtable.admin.v2.Table.TimestampGranularity.TIMESTAMP_GRANULARITY_UNSPECIFIED.getNumber()) { output.writeEnum(4, granularity_); } }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Table)) { return super.equals(obj); } com.google.bigtable.admin.v2.Table other = (com.google.bigtable.admin.v2.Table) obj; boolean result = true; result = result && getName().equals(other.getName()); result = result && internalGetClusterStates().equals(other.internalGetClusterStates()); result = result && internalGetColumnFamilies().equals(other.internalGetColumnFamilies()); result = result && granularity_ == other.granularity_; result = result && unknownFields.equals(other.unknownFields); return result; }