public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { Name = input.ReadString(); break; } case 18: { DisplayName = input.ReadString(); break; } case 24: { status_ = (global::Google.Bigtable.Admin.Cluster.V1.Zone.Types.Status)input.ReadEnum(); break; } } } }
public void MergeFrom(Zone other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.DisplayName.Length != 0) { DisplayName = other.DisplayName; } if (other.Status != global::Google.Bigtable.Admin.Cluster.V1.Zone.Types.Status.UNKNOWN) { Status = other.Status; } }