@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.bigtable.v2.Family)) { return super.equals(obj); } com.google.bigtable.v2.Family other = (com.google.bigtable.v2.Family) obj; boolean result = true; result = result && getName().equals(other.getName()); result = result && getColumnsList().equals(other.getColumnsList()); result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public com.google.bigtable.v2.Family buildPartial() { com.google.bigtable.v2.Family result = new com.google.bigtable.v2.Family(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.name_ = name_; if (columnsBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { columns_ = java.util.Collections.unmodifiableList(columns_); bitField0_ = (bitField0_ & ~0x00000002); } result.columns_ = columns_; } else { result.columns_ = columnsBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; }
if (Arrays.equals(family.getNameBytes().toByteArray(), columnFamilyBytes)) { for (final Column column : family.getColumnsList()) {
@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 (getColumnsCount() > 0) { hash = (37 * hash) + COLUMNS_FIELD_NUMBER; hash = (53 * hash) + getColumnsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
/** * * * <pre> * The unique key which identifies this family within its row. This is the * same key that's used to identify the family in, for example, a RowFilter * which sets its "family_name_regex_filter" field. * Must match `[-_.a-zA-Z0-9]+`, except that AggregatingRowProcessors may * produce cells in a sentinel family with an empty name. * Must be no greater than 64 characters in length. * </pre> * * <code>string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); }
@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_); } for (int i = 0; i < columns_.size(); i++) { output.writeMessage(2, columns_.get(i)); } unknownFields.writeTo(output); }
@java.lang.Override public Builder newBuilderForType() { return newBuilder(); }
@java.lang.Override public com.google.bigtable.v2.Family getDefaultInstanceForType() { return com.google.bigtable.v2.Family.getDefaultInstance(); }
Family f = new Family(); for(Member m: f.getMembers())
Family frag5 = new Family(); Bundle args = new Bundle(); args.putString("text", entireFiled); frag5 .setArguments(args);
@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 (getColumnsCount() > 0) { hash = (37 * hash) + COLUMNS_FIELD_NUMBER; hash = (53 * hash) + getColumnsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(com.google.bigtable.v2.Family other) { if (other == com.google.bigtable.v2.Family.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged();
public static Builder newBuilder(com.google.bigtable.v2.Family prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); }
@java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < columns_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, columns_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
@java.lang.Override public Builder newBuilderForType() { return newBuilder(); }
/** * * * <pre> * May be empty, but only if the entire row is empty. * The mutual ordering of column families is not specified. * </pre> * * <code>repeated .google.bigtable.v2.Family families = 2;</code> */ public com.google.bigtable.v2.Family.Builder addFamiliesBuilder(int index) { return getFamiliesFieldBuilder() .addBuilder(index, com.google.bigtable.v2.Family.getDefaultInstance()); } /**
private Row convertResponse(ReadModifyWriteRowResponse response) { ImmutableList.Builder<RowCell> cells = ImmutableList.builder(); for (Family family : response.getRow().getFamiliesList()) { for (Column column : family.getColumnsList()) { for (Cell cell : column.getCellsList()) { cells.add( RowCell.create( family.getName(), column.getQualifier(), cell.getTimestampMicros(), cell.getLabelsList(), cell.getValue())); } } } return Row.create(response.getRow().getKey(), cells.build()); } }
@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 (getColumnsCount() > 0) { hash = (37 * hash) + COLUMNS_FIELD_NUMBER; hash = (53 * hash) + getColumnsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }