/** * * * <pre> * (`OutputOnly`) * The unique name of the table. Values are of the form * `projects/<project>/instances/<instance>/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`. * Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL` * </pre> * * <code>string name = 1;</code> */ public Builder setName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /**
/** * * * <pre> * (`OutputOnly`) * The unique name of the table. Values are of the form * `projects/<project>/instances/<instance>/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`. * Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL` * </pre> * * <code>string name = 1;</code> */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; }
/** * * * <pre> * (`CreationOnly`) * The granularity (i.e. `MILLIS`) at which timestamps are stored in * this table. Timestamps not matching the granularity will be rejected. * If unspecified at creation time, the value will be set to `MILLIS`. * Views: `SCHEMA_VIEW`, `FULL` * </pre> * * <code>.google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4;</code> */ public Builder setGranularity(com.google.bigtable.admin.v2.Table.TimestampGranularity value) { if (value == null) { throw new NullPointerException(); } granularity_ = value.getNumber(); onChanged(); return this; } /**
/** * <pre> * The granularity (e.g. MILLIS, MICROS) at which timestamps are stored in * this table. Timestamps not matching the granularity will be rejected. * If unspecified at creation time, the value will be set to MILLIS. * Views: SCHEMA_VIEW, FULL * @CreationOnly * </pre> * * <code>.google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4;</code> */ public Builder setGranularity(com.google.bigtable.admin.v2.Table.TimestampGranularity value) { if (value == null) { throw new NullPointerException(); } granularity_ = value.getNumber(); onChanged(); return this; } /**
/** * * * <pre> * (`OutputOnly`) * The unique name of the table. Values are of the form * `projects/<project>/instances/<instance>/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`. * Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL` * </pre> * * <code>string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * <pre> * The granularity (e.g. MILLIS, MICROS) at which timestamps are stored in * this table. Timestamps not matching the granularity will be rejected. * If unspecified at creation time, the value will be set to MILLIS. * Views: SCHEMA_VIEW, FULL * @CreationOnly * </pre> * * <code>.google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4;</code> */ public Builder clearGranularity() { granularity_ = 0; onChanged(); return this; } public final Builder setUnknownFields(
/** * * * <pre> * (`CreationOnly`) * The granularity (i.e. `MILLIS`) at which timestamps are stored in * this table. Timestamps not matching the granularity will be rejected. * If unspecified at creation time, the value will be set to `MILLIS`. * Views: `SCHEMA_VIEW`, `FULL` * </pre> * * <code>.google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4;</code> */ public Builder clearGranularity() { granularity_ = 0; onChanged(); return this; }
/** * <pre> * The unique name of the table. Values are of the form * projects/<project>/instances/<instance>/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]* * Views: NAME_ONLY, SCHEMA_VIEW, REPLICATION_VIEW, FULL * @OutputOnly * </pre> * * <code>string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * <pre> * The granularity (e.g. MILLIS, MICROS) at which timestamps are stored in * this table. Timestamps not matching the granularity will be rejected. * If unspecified at creation time, the value will be set to MILLIS. * Views: SCHEMA_VIEW, FULL * @CreationOnly * </pre> * * <code>.google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4;</code> */ public Builder setGranularityValue(int value) { granularity_ = value; onChanged(); return this; } /**
public Builder mergeFrom(com.google.bigtable.admin.v2.Table other) { if (other == com.google.bigtable.admin.v2.Table.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } internalGetMutableClusterStates().mergeFrom(other.internalGetClusterStates()); internalGetMutableColumnFamilies().mergeFrom(other.internalGetColumnFamilies()); if (other.granularity_ != 0) { setGranularityValue(other.getGranularityValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
private com.google.protobuf.MapField< java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> internalGetMutableColumnFamilies() { onChanged(); ; if (columnFamilies_ == null) { columnFamilies_ = com.google.protobuf.MapField.newMapField(ColumnFamiliesDefaultEntryHolder.defaultEntry); } if (!columnFamilies_.isMutable()) { columnFamilies_ = columnFamilies_.copy(); } return columnFamilies_; }
private com.google.protobuf.MapField< java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> internalGetMutableClusterStates() { onChanged(); ; if (clusterStates_ == null) { clusterStates_ = com.google.protobuf.MapField.newMapField(ClusterStatesDefaultEntryHolder.defaultEntry); } if (!clusterStates_.isMutable()) { clusterStates_ = clusterStates_.copy(); } return clusterStates_; }
public Builder mergeFrom(com.google.bigtable.admin.v2.Table other) { if (other == com.google.bigtable.admin.v2.Table.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } internalGetMutableColumnFamilies().mergeFrom( other.internalGetColumnFamilies()); if (other.granularity_ != 0) { setGranularityValue(other.getGranularityValue()); } onChanged(); return this; }
private com.google.protobuf.MapField<java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> internalGetMutableColumnFamilies() { onChanged();; if (columnFamilies_ == null) { columnFamilies_ = com.google.protobuf.MapField.newMapField( ColumnFamiliesDefaultEntryHolder.defaultEntry); } if (!columnFamilies_.isMutable()) { columnFamilies_ = columnFamilies_.copy(); } return columnFamilies_; }
/** * * * <pre> * (`CreationOnly`) * The granularity (i.e. `MILLIS`) at which timestamps are stored in * this table. Timestamps not matching the granularity will be rejected. * If unspecified at creation time, the value will be set to `MILLIS`. * Views: `SCHEMA_VIEW`, `FULL` * </pre> * * <code>.google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4;</code> */ public Builder clearGranularity() { granularity_ = 0; onChanged(); return this; }
/** * * * <pre> * (`OutputOnly`) * The unique name of the table. Values are of the form * `projects/<project>/instances/<instance>/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`. * Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL` * </pre> * * <code>string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * * * <pre> * (`CreationOnly`) * The granularity (i.e. `MILLIS`) at which timestamps are stored in * this table. Timestamps not matching the granularity will be rejected. * If unspecified at creation time, the value will be set to `MILLIS`. * Views: `SCHEMA_VIEW`, `FULL` * </pre> * * <code>.google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4;</code> */ public Builder setGranularityValue(int value) { granularity_ = value; onChanged(); return this; } /**
public Builder mergeFrom(com.google.bigtable.admin.v2.Table other) { if (other == com.google.bigtable.admin.v2.Table.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } internalGetMutableClusterStates().mergeFrom(other.internalGetClusterStates()); internalGetMutableColumnFamilies().mergeFrom(other.internalGetColumnFamilies()); if (other.granularity_ != 0) { setGranularityValue(other.getGranularityValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
private com.google.protobuf.MapField< java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> internalGetMutableColumnFamilies() { onChanged(); ; if (columnFamilies_ == null) { columnFamilies_ = com.google.protobuf.MapField.newMapField(ColumnFamiliesDefaultEntryHolder.defaultEntry); } if (!columnFamilies_.isMutable()) { columnFamilies_ = columnFamilies_.copy(); } return columnFamilies_; }
private com.google.protobuf.MapField< java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> internalGetMutableClusterStates() { onChanged(); ; if (clusterStates_ == null) { clusterStates_ = com.google.protobuf.MapField.newMapField(ClusterStatesDefaultEntryHolder.defaultEntry); } if (!clusterStates_.isMutable()) { clusterStates_ = clusterStates_.copy(); } return clusterStates_; }